permdock 0.36.0 → 0.38.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 (308) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +2 -2
  3. package/dist/{adoption-scan-FcbJOEo1.js → adoption-scan-D-uM3y5a.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/app/index.d.ts +1 -1
  9. package/dist/app/index.js +1 -1
  10. package/dist/{approval-prompt-BKxaKtby.d.ts → approval-prompt-DCC4jp2s.d.ts} +1 -1
  11. package/dist/approvals/index.d.ts +3 -3
  12. package/dist/{arazzo-BRWgVc8j.js → arazzo-BdWGzdqv.js} +1 -1
  13. package/dist/{arazzo-rYG2UY9k.js → arazzo-CyENGJ-M.js} +2 -2
  14. package/dist/astro/index.d.ts +4 -4
  15. package/dist/astro/index.js +1 -1
  16. package/dist/authzen/index.d.ts +6 -6
  17. package/dist/authzen/index.js +1 -1
  18. package/dist/{automation-C7WH5XcZ.d.ts → automation-DdarCGcn.d.ts} +1 -1
  19. package/dist/better-auth/index.d.ts +1 -1
  20. package/dist/better-supabase/index.d.ts +13 -13
  21. package/dist/better-supabase/index.js +5 -5
  22. package/dist/{bind-2Cuy29LS.js → bind-BNYcJ1D9.js} +2 -2
  23. package/dist/{bind-Caffleoh.d.ts → bind-CLvD4iLc.d.ts} +7 -7
  24. package/dist/{bsb-access-tags-Bfmhft2o.js → bsb-access-tags-C4iPlzjs.js} +1 -1
  25. package/dist/{budgets-B2hIDaz7.js → budgets-DFnMBpKz.js} +3 -3
  26. package/dist/{build-instance-CZg_Bf45.js → build-instance-BGpABVbM.js} +1 -1
  27. package/dist/bundle-size-CGd8wVIu.js +1 -0
  28. package/dist/{bundle-size-BjdmlKWJ.js → bundle-size-Pgm7BB5m.js} +2 -2
  29. package/dist/{capability-BW-vAxJi.d.ts → capability-CsiHf7K3.d.ts} +1 -1
  30. package/dist/{casbin-4FACZ5Ez.js → casbin-DdJndgnu.js} +1 -1
  31. package/dist/{casbin-Cz8BGXHW.js → casbin-ILRPO6t9.js} +1 -1
  32. package/dist/catalog/index.d.ts +4 -4
  33. package/dist/chat/index.d.ts +1 -1
  34. package/dist/chat/index.js +1 -1
  35. package/dist/chat-sdk/index.d.ts +3 -3
  36. package/dist/claims-size-B0OvYh9z.js +1 -0
  37. package/dist/{claims-size-BUhCWS88.js → claims-size-ZiUJBn0r.js} +42 -8
  38. package/dist/claude-agent/index.d.ts +3 -3
  39. package/dist/claude-agent/index.js +2 -2
  40. package/dist/clerk/index.d.ts +2 -2
  41. package/dist/cli/bin.js +1 -1
  42. package/dist/cli/generate/watch-worker.js +1 -1
  43. package/dist/cli/index.d.ts +6 -6
  44. package/dist/cli/index.js +1 -1
  45. package/dist/cli/plugins/app.d.ts +1 -1
  46. package/dist/cli/plugins/app.js +1 -1
  47. package/dist/cli/plugins/better-supabase.d.ts +1 -1
  48. package/dist/cli/plugins/openapi.d.ts +1 -1
  49. package/dist/cli/plugins/openapi.js +1 -1
  50. package/dist/cli/plugins/powersync.d.ts +1 -1
  51. package/dist/cli/plugins/powersync.js +1 -1
  52. package/dist/cli/plugins/rls.d.ts +2 -2
  53. package/dist/cli/plugins/rls.js +1 -1
  54. package/dist/cli/plugins/schemas.d.ts +1 -1
  55. package/dist/cli/plugins/schemas.js +1 -1
  56. package/dist/cli/plugins/scim.d.ts +2 -2
  57. package/dist/cli/plugins/supabase-hook.d.ts +2 -2
  58. package/dist/cli/plugins/supabase-hook.js +1 -1
  59. package/dist/cli/plugins/supabase.d.ts +3 -3
  60. package/dist/cli/plugins/supabase.js +2 -2
  61. package/dist/cli/plugins/ui.d.ts +1 -1
  62. package/dist/cli/plugins/ui.js +1 -1
  63. package/dist/{client-subject-YAGMzRa-.d.ts → client-subject-DSF0IYGW.d.ts} +2 -2
  64. package/dist/cloud/index.d.ts +8 -8
  65. package/dist/{cloud-BB67klb4.js → cloud-C8bHMKjI.js} +1 -1
  66. package/dist/{codemod-BPcxGOlq.js → codemod-D02eYuzA.js} +4 -4
  67. package/dist/{codemod-Lov9764v.js → codemod-D8zh3IYV.js} +1 -1
  68. package/dist/compile/index.d.ts +1 -1
  69. package/dist/{compile-EtZv2wc0.js → compile-7tf8hHlu.js} +3 -3
  70. package/dist/{compile-CyUn58lf.d.ts → compile-CFV4wDo9.d.ts} +2 -2
  71. package/dist/{completion-5Y8toe1d.js → completion-BZShluF7.js} +1 -1
  72. package/dist/{config-DfbiV554.js → config-ClypJwe2.js} +1 -1
  73. package/dist/{config-report-Cs6iDebE.js → config-report-Kb-mYv9F.js} +1 -1
  74. package/dist/{context-CFPsmfPl.js → context-BQQzAw83.js} +1 -1
  75. package/dist/convex/index.d.ts +4 -4
  76. package/dist/convex/index.js +2 -2
  77. package/dist/{core-s_TCdJ6G.js → core-BFR-V5CL.js} +2 -2
  78. package/dist/{core-_Lofwt2K.d.ts → core-BOWoKYve.d.ts} +2 -2
  79. package/dist/{create-bbjS7tCW.js → create-BICq9l-p.js} +2 -2
  80. package/dist/{create-D12I1Vkl.d.ts → create-BTthKNP0.d.ts} +7 -7
  81. package/dist/{create-EPbgV-LA.d.ts → create-BaKdh-D8.d.ts} +6 -6
  82. package/dist/{create-D6B06lb8.js → create-Dapy8DIK.js} +3 -3
  83. package/dist/{create-BfTbYrts.d.ts → create-Y6DnNpuP.d.ts} +4 -4
  84. package/dist/{credentials-DtSnydoD.d.ts → credentials-e872ACwg.d.ts} +2 -2
  85. package/dist/{custom-role-rebuild-QFXiMHqJ.js → custom-role-rebuild-CRz6Ip6J.js} +1 -1
  86. package/dist/{define-permdock-ZR0w-Loy.d.ts → define-permdock-8YZPaa9x.d.ts} +6 -6
  87. package/dist/{define-permdock-Dazve5lw.js → define-permdock-B0q7Rg9b.js} +1 -1
  88. package/dist/delivery/index.d.ts +4 -4
  89. package/dist/{denied-text-DgNqDAPH.d.ts → denied-text-u4OC-MYV.d.ts} +1 -1
  90. package/dist/{describe-DEoWvk00.d.ts → describe-DLGEciCs.d.ts} +1 -1
  91. package/dist/{diff-C7zKA7ny.js → diff-BebUlh4Z.js} +1 -1
  92. package/dist/{diff-BABnQ-z0.js → diff-Sxca4_5q.js} +2 -2
  93. package/dist/{doctor-Cm1HDI5s.js → doctor-DAx9dIEX.js} +2 -2
  94. package/dist/{doctor-Chio5Col.js → doctor-XSdrG1SZ.js} +21 -21
  95. package/dist/drizzle/index.d.ts +3 -3
  96. package/dist/elysia/index.d.ts +4 -4
  97. package/dist/elysia/index.js +1 -1
  98. package/dist/{errors-BliKrfmP.d.ts → errors-C35fh_2K.d.ts} +1 -1
  99. package/dist/{evaluations-BYoj5ci6.d.ts → evaluations-BiZYgET4.d.ts} +3 -3
  100. package/dist/eve/index.d.ts +4 -4
  101. package/dist/eve/index.js +2 -2
  102. package/dist/{execute-B_yY9xWV.js → execute-DgCH7kEE.js} +4 -4
  103. package/dist/{explain-CKIqxXSe.js → explain-BrvY9cXX.js} +1 -1
  104. package/dist/{explain-Blkq60Ff.js → explain-CgKGadRa.js} +2 -2
  105. package/dist/express/index.d.ts +4 -4
  106. package/dist/express/index.js +1 -1
  107. package/dist/fastify/index.d.ts +4 -4
  108. package/dist/fastify/index.js +1 -1
  109. package/dist/{fetch-adapter-CdaSVKrt.d.ts → fetch-adapter-CQSxXotl.d.ts} +2 -2
  110. package/dist/{fetch-adapter-DXgza6EM.js → fetch-adapter-dmABnF7F.js} +1 -1
  111. package/dist/gen-Df-r9jpy.js +1 -0
  112. package/dist/{gen-kind-C4tERYMw.js → gen-kind-DIltjpY9.js} +1 -1
  113. package/dist/{gen-DlJK73v7.js → gen-m1X9N8DZ.js} +3 -3
  114. package/dist/{generate-CbLA2WW_.js → generate-CIjPy_cH.js} +3 -3
  115. package/dist/{generate-CFqcr3H6.js → generate-DWL9aXjZ.js} +11 -11
  116. package/dist/{generate-options-BFAvlJKQ.js → generate-options-RvPqyMWE.js} +7 -7
  117. package/dist/h3/index.d.ts +4 -4
  118. package/dist/h3/index.js +2 -2
  119. package/dist/hono/index.d.ts +4 -4
  120. package/dist/hono/index.js +1 -1
  121. package/dist/{hook-sql-CSUFnRn0.js → hook-sql-C24FFEWr.js} +5 -5
  122. package/dist/{hosted-DZgmEG4b.d.ts → hosted-Cl7q35D-.d.ts} +1 -1
  123. package/dist/{import-B-17dw3B.js → import-Dmm7N9C6.js} +1 -1
  124. package/dist/{index-Bb2sZq1K.d.ts → index-B1hyWi7O.d.ts} +6 -6
  125. package/dist/{index-Cfg0ED9K.d.ts → index-BtPvYUww.d.ts} +4 -4
  126. package/dist/{index-CT4VKXU-.d.ts → index-D9DsY164.d.ts} +4 -4
  127. package/dist/{index-DBBRSw6r.d.ts → index-DYvFRQle.d.ts} +2 -2
  128. package/dist/{index-CAE_Z53Y.d.ts → index-L6lt50lg.d.ts} +1 -1
  129. package/dist/{index-DY1aJ-K1.d.ts → index-p5y3whIg.d.ts} +4 -4
  130. package/dist/index.d.ts +15 -15
  131. package/dist/index.js +3 -3
  132. package/dist/{init-Bg0vS1LV.js → init-Cgcea11w.js} +1 -1
  133. package/dist/{init-DRbkPclr.js → init-tXmJlH7f.js} +3 -3
  134. package/dist/{inspect-functions-DLP72IMA.js → inspect-functions-DbhgRvDf.js} +1 -1
  135. package/dist/{instance-options-D-SLCp4I.d.ts → instance-options-CUNLusL6.d.ts} +1 -1
  136. package/dist/{interactive-only-CylKSukS.js → interactive-only-ad2JJYk8.js} +12 -7
  137. package/dist/jwt/index.d.ts +4 -4
  138. package/dist/{kernel-CzzmzwLg.js → kernel-yI0nUyuX.js} +3 -3
  139. package/dist/{keys-C-W0yrql.js → keys-B4JLF5VZ.js} +1 -1
  140. package/dist/kysely/index.d.ts +3 -3
  141. package/dist/{lazy-provider-BSHAIpMK.d.ts → lazy-provider-B22nfOsw.d.ts} +1 -1
  142. package/dist/{login-D6IJk8k1.js → login-DAqoZl0F.js} +1 -1
  143. package/dist/{login-yF-sDNm9.js → login-fz4tUg2P.js} +3 -3
  144. package/dist/{manifest-DkHIGPoY.js → manifest-DbJC_rXj.js} +39 -39
  145. package/dist/mcp/index.d.ts +8 -8
  146. package/dist/mcp/index.js +2 -2
  147. package/dist/{measure-_VlSPfSY.js → measure-R9VWfQ2y.js} +1 -1
  148. package/dist/{model-r7X_HXyS.js → model-8NWofaam.js} +1 -1
  149. package/dist/nest/index.d.ts +4 -4
  150. package/dist/nest/index.js +1 -1
  151. package/dist/next/index.d.ts +11 -11
  152. package/dist/next/index.js +3 -3
  153. package/dist/next/plugin.d.ts +1 -1
  154. package/dist/node/index.d.ts +4 -4
  155. package/dist/node/index.js +1 -1
  156. package/dist/openai/index.d.ts +4 -4
  157. package/dist/openai/index.js +3 -3
  158. package/dist/openapi/index.d.ts +2 -2
  159. package/dist/{openapi-D156UqcM.js → openapi-BgXg8LkZ.js} +2 -2
  160. package/dist/{openapi-document-CTvHkCXz.js → openapi-document-BJcbM0-l.js} +1 -1
  161. package/dist/{openapi-Dcqqja0n.js → openapi-uxD7ABpM.js} +1 -1
  162. package/dist/orpc/index.d.ts +5 -5
  163. package/dist/orpc/index.js +2 -2
  164. package/dist/otel/index.d.ts +3 -3
  165. package/dist/{output-DNbj0_Yi.js → output-DZS9QWHI.js} +1 -1
  166. package/dist/{ownership-BvKT4DBj.js → ownership-DO5EF2nr.js} +2 -2
  167. package/dist/{parse-local-manifest-DoLQFkRb.d.ts → parse-local-manifest-BE_R-Ish.d.ts} +1 -1
  168. package/dist/pdp/index.d.ts +3 -3
  169. package/dist/pdp/index.js +1 -1
  170. package/dist/{permdock-DZmr2kJw.js → permdock-CbavFN6u.js} +4 -1
  171. package/dist/{permdock-CHU1LZGq.d.ts → permdock-NJ4-pCZy.d.ts} +2 -2
  172. package/dist/{permissions-DUmypTlO.js → permissions-BPYOb5OB.js} +1 -1
  173. package/dist/{pipeline-BMbLI2Sj.js → pipeline-IvdKfvuP.js} +2 -2
  174. package/dist/{plugin-DDPXES4k.d.ts → plugin-YAJ25tft.d.ts} +2 -2
  175. package/dist/{policy-BoUbJ2c0.d.ts → policy-BlOumPY5.d.ts} +1 -1
  176. package/dist/{policy-DekUQ-6v.js → policy-V-sHH2Ku.js} +1 -1
  177. package/dist/{policy-bundle-JU4-AFJM.js → policy-bundle-DyJKT9TF.js} +3 -3
  178. package/dist/{policy-types-DuM3k5Ao.d.ts → policy-types-CRWqx8qf.d.ts} +7 -2
  179. package/dist/{postgrest-B1bTbVE4.d.ts → postgrest-BGYDQhG1.d.ts} +7 -6
  180. package/dist/{powersync-D9ZLDzyv.js → powersync-BY6r-MIk.js} +1 -1
  181. package/dist/{powersync-CpxkK_Lz.js → powersync-BkN45DVg.js} +1 -1
  182. package/dist/{powersync-cG4lxrzQ.js → powersync-IqzV6QHS.js} +8 -8
  183. package/dist/prisma/index.d.ts +2 -2
  184. package/dist/{protected-action-Dux5RJbA.d.ts → protected-action-BbQb5G_c.d.ts} +5 -5
  185. package/dist/{provider-BSHAIpMK.d.ts → provider-B22nfOsw.d.ts} +1 -1
  186. package/dist/{provider-BfKUBNyV.js → provider-hQFC3b98.js} +1 -1
  187. package/dist/{prune-config-ByigsAkl.js → prune-config-BRqnw6rb.js} +4 -4
  188. package/dist/{pull-4Cyo0uTS.js → pull-PDxkxdGN.js} +1 -1
  189. package/dist/pull-n6noMzmE.js +1 -0
  190. package/dist/{pushed-policy-C65TbLtU.d.ts → pushed-policy-B2AXpqRr.d.ts} +1 -1
  191. package/dist/{rbac-BOVyTCI6.js → rbac-BK_wp3eK.js} +2 -2
  192. package/dist/react/index.d.ts +6 -6
  193. package/dist/react/lazy.d.ts +6 -6
  194. package/dist/react/provider-client-lazy.d.ts +1 -1
  195. package/dist/react/provider-client.d.ts +1 -1
  196. package/dist/react-native/index.d.ts +8 -8
  197. package/dist/{rename-Dp47Gs_j.js → rename-BbdlodFz.js} +2 -2
  198. package/dist/replay-DjZ4I8QN.d.ts +3 -0
  199. package/dist/{request-context-LvIolknK.js → request-context-C9FFFpuH.js} +1 -1
  200. package/dist/resend/index.d.ts +4 -4
  201. package/dist/{resolve-names-B_no27Dh.js → resolve-names-B85N2-Ws.js} +2 -2
  202. package/dist/{resolver-CAmmdVAL.js → resolver-C9-dU-SZ.js} +11 -6
  203. package/dist/{rls-DB18scnl.js → rls-BkXnBVXx.js} +7 -7
  204. package/dist/{rls-C816Uuvx.js → rls-DTXsf2zJ.js} +3 -3
  205. package/dist/{rls-files-Cp-qzl61.js → rls-files-BJMmTuC9.js} +1 -1
  206. package/dist/{rls-options-DCLdZaTZ.d.ts → rls-options-BWWTZWjh.d.ts} +1 -1
  207. package/dist/{rpc-CL8lrV5Y.d.ts → rpc-CqKQCBPN.d.ts} +1 -1
  208. package/dist/{rpc-CoClxzcc.js → rpc-RDBrKR7N.js} +1 -1
  209. package/dist/run-DqqVLgh_.js +1 -0
  210. package/dist/{run-CJhz8BHw.js → run-dwwtRWj6.js} +2 -2
  211. package/dist/{run-ticket-CCRYQNj0.d.ts → run-ticket-BIRal-vH.d.ts} +2 -2
  212. package/dist/{saas-iXqf78G8.js → saas-CHviJgF2.js} +2 -2
  213. package/dist/{scan-DvM-_F8-.js → scan-BGTnZXgx.js} +1 -1
  214. package/dist/{schema-uTRr3B9f.js → schema-KPTMZVeK.js} +1 -1
  215. package/dist/scim/index.d.ts +1 -1
  216. package/dist/seeds/index.d.ts +1 -1
  217. package/dist/{seeds-BZMPfWcC.d.ts → seeds-K00R0810.d.ts} +1 -1
  218. package/dist/server/index.d.ts +11 -11
  219. package/dist/server/index.js +1 -1
  220. package/dist/{server-types-C_Lnc8Ec.d.ts → server-types-CaKNUxdc.d.ts} +8 -8
  221. package/dist/{sink-CoMI_OVw.d.ts → sink-CCirKrLv.d.ts} +2 -2
  222. package/dist/{size-BO7J8M3B.js → size-Dm3777Ev.js} +3 -3
  223. package/dist/{skills-DF_3nX9_.js → skills-CexZ2QfF.js} +1 -1
  224. package/dist/{skills-B5exEJf5.js → skills-jPbcwqhX.js} +1 -1
  225. package/dist/{snapshot-cache-R1lJjYmI.d.ts → snapshot-cache-Dh_owfVu.d.ts} +1 -1
  226. package/dist/{snapshot-size-CJ53OOen.js → snapshot-size-CpdksnSr.js} +1 -1
  227. package/dist/{snapshot-size-BzamcZrn.js → snapshot-size-I_-fxGry.js} +1 -1
  228. package/dist/solid/index.d.ts +5 -5
  229. package/dist/solid-start/index.d.ts +4 -4
  230. package/dist/solid-start/index.js +2 -2
  231. package/dist/{sources-Dp6FQ8np.d.ts → sources-CD1OiqqK.d.ts} +1 -1
  232. package/dist/{src-CYKqpYUM.js → src-10d_jun2.js} +1 -1
  233. package/dist/ssf/index.d.ts +3 -3
  234. package/dist/{standard-webhooks-D2FwHtMX.d.ts → standard-webhooks-CiV4_mv2.d.ts} +2 -2
  235. package/dist/{store-core-D5-cqb6z.d.ts → store-core-fRqdlrep.d.ts} +4 -4
  236. package/dist/{stores-DPUPLu29.d.ts → stores-BXPRg1Ot.d.ts} +5 -5
  237. package/dist/{subject-cache-Bn4oJY_R.d.ts → subject-cache-1EtpGx3y.d.ts} +9 -1
  238. package/dist/supabase/index.d.ts +8 -8
  239. package/dist/supabase/index.js +3 -3
  240. package/dist/supabase/middleware.d.ts +5 -5
  241. package/dist/supabase/middleware.js +3 -3
  242. package/dist/{supabase-NpHqrRXC.js → supabase-CeJAHqZp.js} +2 -2
  243. package/dist/{supabase-Dpy2XE9v.js → supabase-DgHCnzMW.js} +2 -2
  244. package/dist/supabase-hook-8jAi64W9.js +2 -0
  245. package/dist/{supabase-hook-VIpXUHKI.js → supabase-hook-BIBC5Ihn.js} +5 -5
  246. package/dist/{supabase-schemas-DA28GP4N.js → supabase-schemas-DOc3cNnf.js} +1 -1
  247. package/dist/svelte/index.d.ts +5 -5
  248. package/dist/svelte/runtime.d.ts +3 -3
  249. package/dist/svelte/source.d.ts +5 -5
  250. package/dist/sveltekit/index.d.ts +4 -4
  251. package/dist/sveltekit/index.js +1 -1
  252. package/dist/{table-reads-B5kunhny.js → table-reads-CMP1MnPJ.js} +1 -1
  253. package/dist/{table-reads-4KzGXg9f.js → table-reads-CXecyZKo.js} +1 -1
  254. package/dist/{tables-BwQvlpS4.js → tables-C-DzDqKb.js} +5 -5
  255. package/dist/tanstack-start/index.d.ts +4 -4
  256. package/dist/tanstack-start/index.js +1 -1
  257. package/dist/{tenant-check-CsJkduIb.js → tenant-check-DoZibca6.js} +3 -3
  258. package/dist/terminal/index.d.ts +5 -5
  259. package/dist/terminal/index.js +2 -2
  260. package/dist/testing/core.d.ts +1 -1
  261. package/dist/testing/core.js +1 -1
  262. package/dist/testing/fixtures/index.d.ts +3 -3
  263. package/dist/testing/index.d.ts +22 -22
  264. package/dist/testing/index.js +5 -5
  265. package/dist/testing/saas/index.d.ts +3 -3
  266. package/dist/testing/saas/index.js +2 -2
  267. package/dist/testing/saas/permissions.js +1 -1
  268. package/dist/trpc/index.d.ts +5 -5
  269. package/dist/trpc/index.js +2 -2
  270. package/dist/{type-helpers-CsWH9z8p.d.ts → type-helpers-DTlfU9zX.d.ts} +1 -1
  271. package/dist/{types-iwSmOTcK.d.ts → types-BGDafbIK.d.ts} +4 -4
  272. package/dist/{types-BGN3coSe.d.ts → types-BdghnYGo.d.ts} +1 -1
  273. package/dist/{types-Cvfe-G_N.d.ts → types-C1jxMZ4q.d.ts} +2 -2
  274. package/dist/{types-D3GI2B9O.d.ts → types-C2GmBHtC.d.ts} +3 -3
  275. package/dist/{types-CM5GwxiJ.d.ts → types-CAGo84uV.d.ts} +4 -4
  276. package/dist/{types-B23A72BG.d.ts → types-CN3Tk7bb.d.ts} +2 -2
  277. package/dist/{types-CKwI6AT4.d.ts → types-CzAFVtMz.d.ts} +1 -1
  278. package/dist/{types-C8sDUhaF.d.ts → types-Jxy_Ko7f.d.ts} +2 -2
  279. package/dist/{types-BwjOhlgx.d.ts → types-XhEnMpL6.d.ts} +4 -4
  280. package/dist/{types-BRaJxlqL.d.ts → types-ZjPv-GgQ.d.ts} +3 -3
  281. package/dist/{types-config-DYRoZ8Iw.d.ts → types-config-B3eAej9-.d.ts} +2 -2
  282. package/dist/{types-run-CeCrWO0v.d.ts → types-run-sP7yLp61.d.ts} +1 -1
  283. package/dist/unplugin/index.d.ts +1 -1
  284. package/dist/{usage-_9h9jQo8.js → usage-BiTJQNJO.js} +2 -2
  285. package/dist/usage-D7-bsLte.js +1 -0
  286. package/dist/{usage-BD_z4pba.js → usage-ltA8iGa4.js} +1 -1
  287. package/dist/{validation-error-MZ7KLNHt.d.ts → validation-error-OX59FaXR.d.ts} +1 -1
  288. package/dist/{verify-cw6SFoQE.js → verify-Dj3OjNiD.js} +5 -5
  289. package/dist/{version-cache-Ccrfu2A4.js → version-cache-l9Zrfvhz.js} +8 -6
  290. package/dist/vue/index.d.ts +5 -5
  291. package/dist/{waiter-DdwtUSzB.d.ts → waiter-CyF-YowB.d.ts} +2 -2
  292. package/dist/{warm-XyQ-2nUR.js → warm-BOrs0-_j.js} +1 -1
  293. package/dist/{warm-znYuJoUZ.d.ts → warm-BYF-zxiy.d.ts} +1 -1
  294. package/dist/{watch-Cvc7eUPk.js → watch--c--3aEf.js} +1 -1
  295. package/dist/webmcp/index.d.ts +1 -1
  296. package/dist/workflow/index.d.ts +3 -3
  297. package/dist/workflow/index.js +1 -1
  298. package/dist/workflow-sdk/index.d.ts +4 -4
  299. package/dist/{wrap-B4Ge6LOd.d.ts → wrap-CPvBX9lm.d.ts} +2 -2
  300. package/package.json +2 -2
  301. package/dist/bundle-size-BoG9Jm7c.js +0 -1
  302. package/dist/claims-size-C6oKGuOM.js +0 -1
  303. package/dist/gen-CYuPbpBZ.js +0 -1
  304. package/dist/pull-_ic7Md2h.js +0 -1
  305. package/dist/replay-B__gzUx3.d.ts +0 -3
  306. package/dist/run-PpoUQXDc.js +0 -1
  307. package/dist/supabase-hook-DaK4Rirh.js +0 -2
  308. package/dist/usage-wphGxzPQ.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { t as compact } from "./compact-C4LFuqbW.js";
2
- import { t as adapterKernel } from "./bind-2Cuy29LS.js";
2
+ import { t as adapterKernel } from "./bind-BNYcJ1D9.js";
3
3
  import { n as tenantScope } from "./adapter-context-lHq_i_77.js";
4
4
  import { s as requestFromContext } from "./http-C9jDw_bZ.js";
5
5
  import { r as guardIterable } from "./stream-DdF94h7T.js";
@@ -0,0 +1 @@
1
+ export { t as run } from "./run-dwwtRWj6.js";
@@ -3,9 +3,9 @@ import { a as readConfig, l as withPluginOutputs, s as resolveCwd } from "./conf
3
3
  import { t as beforeFirst } from "./text-D704xHVl.js";
4
4
  import { a as describeError, n as CliError, r as cliFailure, s as failureOf, u as kindOfCode } from "./errors-DgLOqc6j.js";
5
5
  import { a as suggestion, i as parseLeaf, o as GLOBAL_FLAGS, r as parseFlags } from "./args-BSpXxMnb.js";
6
- import { a as githubAnnotations, c as sarifLog, d as consentReasons, f as quote, i as findingsDocument, l as confirmationRequired, n as errorDocument, p as replayArgv, s as resultDocument, t as dataOf, u as consentDigest } from "./output-DNbj0_Yi.js";
6
+ import { a as githubAnnotations, c as sarifLog, d as consentReasons, f as quote, i as findingsDocument, l as confirmationRequired, n as errorDocument, p as replayArgv, s as resultDocument, t as dataOf, u as consentDigest } from "./output-DZS9QWHI.js";
7
7
  import { r as progressReporter, t as redact } from "./credentials-6ZWbJ-Re.js";
8
- import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-DkHIGPoY.js";
8
+ import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-DbJC_rXj.js";
9
9
  import { t as createStyle } from "./style-CQDaLJtP.js";
10
10
  import { s as cliVersion } from "./version-D-jWyJb9.js";
11
11
  import { n as isPermDockPlugin } from "./plugin-MQVfUBUS.js";
@@ -1,5 +1,5 @@
1
- import { Ar as Subject, Or as Principal, _t as TokenSigner, br as AuthorizationDetail, gn as AuthEvent, gt as TokenFailureCause, qt as Instant, vr as Actor, vt as TokenVerifier, wr as Delegation } from "./policy-types-DuM3k5Ao.js";
2
- import { v as PrincipalSource } from "./permdock-CHU1LZGq.js";
1
+ import { Ar as Subject, Or as Principal, _t as TokenSigner, br as AuthorizationDetail, gn as AuthEvent, gt as TokenFailureCause, qt as Instant, vr as Actor, vt as TokenVerifier, wr as Delegation } from "./policy-types-CRWqx8qf.js";
2
+ import { v as PrincipalSource } from "./permdock-NJ4-pCZy.js";
3
3
  /**
4
4
  * What started the run: a saved automation, a background job, or a caller's own
5
5
  * request.
@@ -1,9 +1,9 @@
1
- import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-DUmypTlO.js";
1
+ import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-BPYOb5OB.js";
2
2
  import { a as deny, n as role, r as allow } from "./role-builder-BksM3Q9O.js";
3
3
  import { l as relation, n as anyone } from "./grantee-BSCdpIF3.js";
4
4
  import { r as definePolicy } from "./policy-CZBJDcTx.js";
5
5
  import { i as principal } from "./refs-Cix9Zjis.js";
6
- import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-CYKqpYUM.js";
6
+ import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-10d_jun2.js";
7
7
  import { s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
8
8
  import { r as isRecord } from "./compact-C4LFuqbW.js";
9
9
  import { h as secondsAt } from "./time-r0CKBm57.js";
@@ -16,7 +16,7 @@ const scan = defineLeaf({
16
16
  }
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- const { runAdoptionScan } = await import("./adoption-scan-FcbJOEo1.js");
19
+ const { runAdoptionScan } = await import("./adoption-scan-D-uM3y5a.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 { t as require__2020 } from "./2020-DBXhfpuK.js";
2
2
  import { r as isRecord } from "./compact-C4LFuqbW.js";
3
3
  import { t as DRAFT_PINS } from "./pins-CXXkVEiD.js";
4
- import { o as nonEmptyOr } from "./output-DNbj0_Yi.js";
4
+ import { o as nonEmptyOr } from "./output-DZS9QWHI.js";
5
5
  import { l as packageRoot } from "./version-D-jWyJb9.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-BYYNi1lu.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-CAE_Z53Y.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-L6lt50lg.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,2 +1,2 @@
1
- import { a as defineSeeds, i as Seeds, n as SeedInput, r as SeedRole, t as SeedFixtures } from "../seeds-BZMPfWcC.js";
1
+ import { a as defineSeeds, i as Seeds, n as SeedInput, r as SeedRole, t as SeedFixtures } from "../seeds-K00R0810.js";
2
2
  export { type SeedFixtures, type SeedInput, type SeedRole, type Seeds, defineSeeds };
@@ -1,5 +1,5 @@
1
1
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
2
- import { D as Policy } from "./policy-types-DuM3k5Ao.js";
2
+ import { D as Policy } from "./policy-types-CRWqx8qf.js";
3
3
  type SeedRole = {
4
4
  readonly key: string;
5
5
  readonly scope: string;
@@ -1,15 +1,15 @@
1
- import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-MZ7KLNHt.js";
2
- import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-BliKrfmP.js";
1
+ import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-OX59FaXR.js";
2
+ import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-C35fh_2K.js";
3
3
  import { t as RequestContext } from "../request-context-E3-ps-H_.js";
4
- import { a as StoredCredential, c as generateFeedKey, d as parseApiKey, f as parseFeedKey, i as MemoryCredentialStore, l as hashApiKey, n as ApiKeyParts, o as apiKeyVerifier, p as subjectFromApiKey, r as ApiKeySubjectOptions, s as generateApiKey, t as ApiKeyFailureCause, u as memoryCredentialStore } from "../credentials-DtSnydoD.js";
4
+ import { a as StoredCredential, c as generateFeedKey, d as parseApiKey, f as parseFeedKey, i as MemoryCredentialStore, l as hashApiKey, n as ApiKeyParts, o as apiKeyVerifier, p as subjectFromApiKey, r as ApiKeySubjectOptions, s as generateApiKey, t as ApiKeyFailureCause, u as memoryCredentialStore } from "../credentials-e872ACwg.js";
5
5
  import { i as memoryRevocationFeed, n as RevocationFeed, t as RevocationEvent } from "../revocations-ku_f2d2y.js";
6
- 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-C_Lnc8Ec.js";
7
- import { i as evaluationsHandler } from "../evaluations-BYoj5ci6.js";
8
- import { a as SupportSessionContext, c as SupportSessionSubjectOptions, d as ProblemFromErrorOptions, f as problemFromError, i as wwwAuthenticate, l as signSupportSession, n as problemResponse, o as SupportSessionFailureCause, p as createPermDock, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession } from "../index-Cfg0ED9K.js";
9
- import { l as ReplayStore } from "../types-Cvfe-G_N.js";
10
- 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-D2FwHtMX.js";
11
- import { t as memoryReplayStore } from "../replay-B__gzUx3.js";
12
- 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-R1lJjYmI.js";
6
+ 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-CaKNUxdc.js";
7
+ import { i as evaluationsHandler } from "../evaluations-BiZYgET4.js";
8
+ import { a as SupportSessionContext, c as SupportSessionSubjectOptions, d as ProblemFromErrorOptions, f as problemFromError, i as wwwAuthenticate, l as signSupportSession, n as problemResponse, o as SupportSessionFailureCause, p as createPermDock, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession } from "../index-BtPvYUww.js";
9
+ import { l as ReplayStore } from "../types-C1jxMZ4q.js";
10
+ 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-CiV4_mv2.js";
11
+ import { t as memoryReplayStore } from "../replay-DjZ4I8QN.js";
12
+ 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-Dh_owfVu.js";
13
13
  import { n as TenantSlugResolver, r as tenantFromPath, t as TenantFromPathOptions } from "../tenant-from-path-Dq3jkqjh.js";
14
- 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-CCRYQNj0.js";
14
+ 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-BIRal-vH.js";
15
15
  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 TenantFromPathOptions, type TenantOption, type TenantScope, type TenantSlugResolver, 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, tenantFromPath, tenantScope, validationProblem, webBotAuthVerifier, webhookSigner, webhookVerifier, wwwAuthenticate };
@@ -3,7 +3,7 @@ import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockAppro
3
3
  import { t as memoryRevocationFeed } from "../revocations-3jyzniOz.js";
4
4
  import { n as tenantScope } from "../adapter-context-lHq_i_77.js";
5
5
  import { c as problemFromDecision, f as validationProblem, l as problemResponse, p as wwwAuthenticate } from "../problem-BZB7zPC7.js";
6
- import { t as createPermDock } from "../create-D6B06lb8.js";
6
+ import { t as createPermDock } from "../create-Dapy8DIK.js";
7
7
  import { f as InvalidSignatureError, g as webBotAuthVerifier, h as invalidSignatureResponse, m as invalidSignatureProblem, o as evaluationsHandler, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
8
8
  import { a as memoryCredentialStore, c as subjectFromApiKey, i as hashApiKey, n as generateApiKey, o as parseApiKey, r as generateFeedKey, s as parseFeedKey, t as apiKeyVerifier } from "../credentials-B-hsgB4W.js";
9
9
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
@@ -1,14 +1,14 @@
1
- import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
- import { Ar as Subject, Er as JsonWebKeyLike, N as PolicyVocabulary, Q as Intent, ir as Decision, pn as SnapshotTenants, qt as Instant, rn as Snapshot, vr as Actor } from "./policy-types-DuM3k5Ao.js";
3
- import { a as ProblemDetails, t as ApprovalHint } from "./errors-BliKrfmP.js";
4
- import { t as InstanceOptions } from "./instance-options-D-SLCp4I.js";
5
- import { a as PermDock, u as SnapshotOptions } from "./permdock-CHU1LZGq.js";
1
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
2
+ import { Ar as Subject, Er as JsonWebKeyLike, N as PolicyVocabulary, Q as Intent, ir as Decision, pn as SnapshotTenants, qt as Instant, rn as Snapshot, vr as Actor } from "./policy-types-CRWqx8qf.js";
3
+ import { a as ProblemDetails, t as ApprovalHint } from "./errors-C35fh_2K.js";
4
+ import { t as InstanceOptions } from "./instance-options-CUNLusL6.js";
5
+ import { a as PermDock, u as SnapshotOptions } from "./permdock-NJ4-pCZy.js";
6
6
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
7
7
  import { t as RequestContext } from "./request-context-E3-ps-H_.js";
8
8
  import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
9
- import { n as PermDockWrap } from "./wrap-B4Ge6LOd.js";
10
- import { r as PdpFactory } from "./types-C8sDUhaF.js";
11
- import { i as evaluationsHandler } from "./evaluations-BYoj5ci6.js";
9
+ import { n as PermDockWrap } from "./wrap-CPvBX9lm.js";
10
+ import { r as PdpFactory } from "./types-Jxy_Ko7f.js";
11
+ import { i as evaluationsHandler } from "./evaluations-BiZYgET4.js";
12
12
  type ConnectionData<T> = T | (() => T | null | undefined | Promise<T | null | undefined>);
13
13
  type ConnectionOptions<T = unknown> = {
14
14
  /**
@@ -1,6 +1,6 @@
1
1
  import { K as AppData } from "./vocabulary-DHfKPIC5.js";
2
- import { t as Automation } from "./automation-C7WH5XcZ.js";
3
- import { En as SinkEvent, Mt as Credential, Tn as MembershipEvent, Tt as SupportSession, X as DecisionSink, _n as AutomationEvent, _t as TokenSigner, hn as AccessEvent, vn as CredentialEvent } from "./policy-types-DuM3k5Ao.js";
2
+ import { t as Automation } from "./automation-DdarCGcn.js";
3
+ import { En as SinkEvent, Mt as Credential, Tn as MembershipEvent, Tt as SupportSession, X as DecisionSink, _n as AutomationEvent, _t as TokenSigner, hn as AccessEvent, vn as CredentialEvent } from "./policy-types-CRWqx8qf.js";
4
4
  import { u as OperationRisk } from "./operations-DaEoGpMV.js";
5
5
  /**
6
6
  * The closed list of CloudEvents `type` values, `com.permdock.<family>` or
@@ -38,7 +38,7 @@ const snapshotSize = defineLeaf({
38
38
  },
39
39
  async run(ctx, { flags }) {
40
40
  try {
41
- const { runSnapshotSize, SNAPSHOT_BUDGET_BYTES } = await import("./snapshot-size-BzamcZrn.js");
41
+ const { runSnapshotSize, SNAPSHOT_BUDGET_BYTES } = await import("./snapshot-size-I_-fxGry.js");
42
42
  const path = given(flags.policy) ?? ctx.config.policy;
43
43
  return runSnapshotSize({
44
44
  policy: await requirePolicy(ctx.cwd, path, "set policy in permdock.config.ts or pass --policy"),
@@ -79,7 +79,7 @@ const claimsSize = defineLeaf({
79
79
  },
80
80
  async run(ctx, { flags }) {
81
81
  try {
82
- const { runClaimsSize } = await import("./claims-size-C6oKGuOM.js");
82
+ const { runClaimsSize } = await import("./claims-size-B0OvYh9z.js");
83
83
  return runClaimsSize({
84
84
  memberships: count(flags.memberships, 11),
85
85
  roles: count(flags.roles, 1),
@@ -103,7 +103,7 @@ const bundleSize = defineLeaf({
103
103
  },
104
104
  async run(ctx, { flags }) {
105
105
  try {
106
- const { runBundleSize } = await import("./bundle-size-BoG9Jm7c.js");
106
+ const { runBundleSize } = await import("./bundle-size-CGd8wVIu.js");
107
107
  const path = given(flags.policy) ?? ctx.config.policy;
108
108
  return runBundleSize({
109
109
  policy: await requirePolicy(ctx.cwd, path, "set policy in permdock.config.ts or pass --policy"),
@@ -1,7 +1,7 @@
1
1
  import { t as defineLeaf } from "./command-9GAzSI7E.js";
2
2
  import { t as checkFlag } from "./flags-DQzNPxg1.js";
3
3
  import { r as pick, t as CANCELLED } from "./prompt-CPlJn_4-.js";
4
- import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-B5exEJf5.js";
4
+ import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-jPbcwqhX.js";
5
5
  // src/cli/commands/skills.ts
6
6
  const forFlag = { for: {
7
7
  type: "string",
@@ -1,6 +1,6 @@
1
1
  import { t as byCodePoint } from "./compare-dfHDj8kT.js";
2
2
  import { t as didYouMean } from "./args-BSpXxMnb.js";
3
- import { o as nonEmptyOr } from "./output-DNbj0_Yi.js";
3
+ import { o as nonEmptyOr } from "./output-DZS9QWHI.js";
4
4
  import { i as readJsonFile, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
5
5
  import { l as packageRoot } from "./version-D-jWyJb9.js";
6
6
  import { cpSync, existsSync, lstatSync, readFileSync, readdirSync, readlinkSync, realpathSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { qt as Instant, rn as Snapshot } from "./policy-types-DuM3k5Ao.js";
1
+ import { qt as Instant, rn as Snapshot } from "./policy-types-CRWqx8qf.js";
2
2
  type CacheLifeForOptions = {
3
3
  /**
4
4
  * Lower bound in seconds. Next.js includes a private entry in per-link
@@ -1,5 +1,5 @@
1
1
  import { d as scopeList } from "./scopes-B-KX9EI8.js";
2
- import { d as snapshotFor } from "./src-CYKqpYUM.js";
2
+ import { d as snapshotFor } from "./src-10d_jun2.js";
3
3
  import { gzipSync } from "node:zlib";
4
4
  // src/cli/snapshot-size.ts
5
5
  /** The default budget of the PD112 doctor rule, in bytes of JSON. */
@@ -1 +1 @@
1
- export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-CJ53OOen.js";
1
+ export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-CpdksnSr.js";
@@ -1,10 +1,10 @@
1
- import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DEoWvk00.js";
2
- import { c as requiredPlans } from "../errors-BliKrfmP.js";
1
+ import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DLGEciCs.js";
2
+ import { c as requiredPlans } from "../errors-C35fh_2K.js";
3
3
  import { t as approvalHeaders } from "../headers-D1oRr-js.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-C1zIMtJr.js";
5
- import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-D5-cqb6z.js";
6
- import { Dr as Membership, Jt as ClientBundle, N as PolicyVocabulary, ir as Decision, rn as Snapshot, rr as ApprovalRequiredDecision, ur as GrantedDecision, vt as TokenVerifier } from "../policy-types-DuM3k5Ao.js";
7
- import { d as UncheckedData, s as RowData } from "../permdock-CHU1LZGq.js";
5
+ import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-fRqdlrep.js";
6
+ import { Dr as Membership, Jt as ClientBundle, N as PolicyVocabulary, ir as Decision, rn as Snapshot, rr as ApprovalRequiredDecision, ur as GrantedDecision, vt as TokenVerifier } from "../policy-types-CRWqx8qf.js";
7
+ import { d as UncheckedData, s as RowData } from "../permdock-NJ4-pCZy.js";
8
8
  import { r as Role, w as Permission } from "../vocabulary-DHfKPIC5.js";
9
9
  import { t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
10
10
  import { Accessor, Accessor as Accessor$1, JSX } from "solid-js";
@@ -1,9 +1,9 @@
1
- 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-C_Lnc8Ec.js";
1
+ 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-CaKNUxdc.js";
2
2
  import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
3
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
3
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
4
4
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
5
- import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
6
- import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CdaSVKrt.js";
5
+ import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-CRWqx8qf.js";
6
+ import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CQSxXotl.js";
7
7
  import { APIEvent, FetchEvent } from "@solidjs/start/server";
8
8
  /** The h3 event under every SolidStart request; `subject` and `scope` read it. */
9
9
  type SolidStartNativeEvent = FetchEvent["nativeEvent"];
@@ -1,6 +1,6 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { i as decorate } from "../bind-2Cuy29LS.js";
3
- import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
2
+ import { i as decorate } from "../bind-BNYcJ1D9.js";
3
+ import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
4
4
  // src/solid-start/create.ts
5
5
  /**
6
6
  * `event.locals`. Its type, `App.RequestEventLocals`, is declared by
@@ -1,4 +1,4 @@
1
- import { Or as Principal, gn as AuthEvent, it as MembershipSource, q as CustomRoleSource } from "./policy-types-DuM3k5Ao.js";
1
+ import { Or as Principal, gn as AuthEvent, it as MembershipSource, q as CustomRoleSource } from "./policy-types-CRWqx8qf.js";
2
2
  import { t as SqlQuery } from "./sql-BYYNi1lu.js";
3
3
  import { c as SupabaseManifestMembership } from "./manifest-BwhZ1s5b.js";
4
4
  import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
@@ -1,6 +1,6 @@
1
1
  import { d as assertSqlFunctionArg, f as assertSqlFunctionName, l as normalizeWhere, p as assertSqlFunctionSet, u as assertPortableTwin } from "./role-builder-BksM3Q9O.js";
2
2
  import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
3
- import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-DZmr2kJw.js";
3
+ import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-CbavFN6u.js";
4
4
  import { n as PermDockDeniedError } from "./errors-DOSkVeTC.js";
5
5
  import { c as evaluateCondition } from "./delegation-0DVVomzu.js";
6
6
  import { a as normalizeApproval, r as assertApprovalRelations } from "./approval-normalize-C6je8vWN.js";
@@ -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-Cvfe-G_N.js";
2
- import { t as memoryReplayStore } from "../replay-B__gzUx3.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-DBBRSw6r.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-C1jxMZ4q.js";
2
+ import { t as memoryReplayStore } from "../replay-DjZ4I8QN.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-DYvFRQle.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 { Er as JsonWebKeyLike, qt as Instant } from "./policy-types-DuM3k5Ao.js";
2
- import { l as ReplayStore } from "./types-Cvfe-G_N.js";
1
+ import { Er as JsonWebKeyLike, qt as Instant } from "./policy-types-CRWqx8qf.js";
2
+ import { l as ReplayStore } from "./types-C1jxMZ4q.js";
3
3
  /** The three Standard Webhooks headers a delivery carries. */
4
4
  type WebhookHeaders = {
5
5
  readonly "webhook-id": string;
@@ -1,9 +1,9 @@
1
- import { Jt as ClientBundle, N as PolicyVocabulary, Or as Principal, ir as Decision, rn as Snapshot, vr as Actor, vt as TokenVerifier, wr as Delegation } from "./policy-types-DuM3k5Ao.js";
1
+ import { Jt as ClientBundle, N as PolicyVocabulary, Or as Principal, ir as Decision, rn as Snapshot, vr as Actor, vt as TokenVerifier, wr as Delegation } from "./policy-types-CRWqx8qf.js";
2
2
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  import { r as RefreshTrigger } from "./refresh-on-C1zIMtJr.js";
4
- import { a as ProblemDetails } from "./errors-BliKrfmP.js";
5
- import { n as DescribeMessages, t as DecisionDescription } from "./describe-DEoWvk00.js";
6
- import { a as PermDock } from "./permdock-CHU1LZGq.js";
4
+ import { a as ProblemDetails } from "./errors-C35fh_2K.js";
5
+ import { n as DescribeMessages, t as DecisionDescription } from "./describe-DLGEciCs.js";
6
+ import { a as PermDock } from "./permdock-NJ4-pCZy.js";
7
7
  /** What a `protectAction` action resolves to; both members cross to the client. */
8
8
  type ActionResult<T> = {
9
9
  readonly ok: true;
@@ -1,9 +1,9 @@
1
- import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, v as TenantView } from "./store-core-D5-cqb6z.js";
2
- import { Dr as Membership, N as PolicyVocabulary, ir as Decision } from "./policy-types-DuM3k5Ao.js";
3
- import { r as DescribeOptions, t as DecisionDescription } from "./describe-DEoWvk00.js";
4
- import { d as UncheckedData, s as RowData } from "./permdock-CHU1LZGq.js";
1
+ import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, v as TenantView } from "./store-core-fRqdlrep.js";
2
+ import { Dr as Membership, N as PolicyVocabulary, ir as Decision } from "./policy-types-CRWqx8qf.js";
3
+ import { r as DescribeOptions, t as DecisionDescription } from "./describe-DLGEciCs.js";
4
+ import { d as UncheckedData, s as RowData } from "./permdock-NJ4-pCZy.js";
5
5
  import { r as Role, w as Permission } from "./vocabulary-DHfKPIC5.js";
6
- import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-BRaJxlqL.js";
6
+ import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-ZjPv-GgQ.js";
7
7
  import { Readable } from "svelte/store";
8
8
  declare function setPermDock(options: SveltePermDockOptions): ClientPermDock;
9
9
  declare function getPermDock<V extends PolicyVocabulary = PolicyVocabulary>(): ClientPermDock<V>;
@@ -1,4 +1,4 @@
1
- import { Dr as Membership, Sr as CustomRole, St as VersionQuery, qt as Instant } from "./policy-types-DuM3k5Ao.js";
1
+ import { Dr as Membership, Sr as CustomRole, St as VersionQuery, qt as Instant } from "./policy-types-CRWqx8qf.js";
2
2
  type VersionCacheStats = {
3
3
  /** Version reads the cache started. */
4
4
  readonly reads: number;
@@ -68,6 +68,14 @@ type MemoryVersionCacheOptions = {
68
68
  * process.
69
69
  */
70
70
  readonly shared?: VersionStore;
71
+ /**
72
+ * Receives each write and delete to `shared`, which the cache does not await
73
+ * so a read never waits for it. On a serverless host pass the platform's
74
+ * `waitUntil` (`@vercel/functions`, Cloudflare's `ctx.waitUntil`): otherwise
75
+ * the instance can freeze after the response, the write never lands, and
76
+ * every instance keeps reading the version from the database.
77
+ */
78
+ readonly waitUntil?: (promise: Promise<unknown>) => void;
71
79
  /** Principals kept; the least recently used goes first. Default 10,000. */
72
80
  readonly maxEntries?: number;
73
81
  /** The clock, read only when an instance asks for a version. */
@@ -1,14 +1,14 @@
1
- import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Q as Intent, qt as Instant } from "../policy-types-DuM3k5Ao.js";
2
- 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-Dp6FQ8np.js";
3
- import { a as ApprovalDelegationSource, m as ApprovalStore, u as ApprovalRequest } from "../types-BGN3coSe.js";
4
- import { a as SupabaseRpcResult, i as SupabaseRpcClient, n as PostgrestSourcesOptions, o as postgrestSources, r as SupabaseRpcCaller, t as PostgrestSources } from "../postgrest-B1bTbVE4.js";
5
- import { F as PermissionState, P as PermissionCheck, a as PermDock, z as ApprovalPolicySource } from "../permdock-CHU1LZGq.js";
1
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Q as Intent, qt as Instant } from "../policy-types-CRWqx8qf.js";
2
+ 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-CD1OiqqK.js";
3
+ import { a as ApprovalDelegationSource, m as ApprovalStore, u as ApprovalRequest } from "../types-BdghnYGo.js";
4
+ import { a as SupabaseRpcResult, i as SupabaseRpcClient, n as PostgrestSourcesOptions, o as postgrestSources, r as SupabaseRpcCaller, t as PostgrestSources } from "../postgrest-BGYDQhG1.js";
5
+ import { F as PermissionState, P as PermissionCheck, a as PermDock, z as ApprovalPolicySource } from "../permdock-NJ4-pCZy.js";
6
6
  import { t as SqlQuery } from "../sql-BYYNi1lu.js";
7
- import { a as readSubjectRecord, r as SubjectRecord } from "../subject-cache-Bn4oJY_R.js";
7
+ import { a as readSubjectRecord, r as SubjectRecord } from "../subject-cache-1EtpGx3y.js";
8
8
  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-BwhZ1s5b.js";
9
- import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-ZR0w-Loy.js";
9
+ import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-8YZPaa9x.js";
10
10
  import { n as supabaseTenantClaim, t as supabaseMembershipsBudget } from "../budget-5LJ8kfZk.js";
11
- import { n as subjectFromSupabaseClient, t as SupabaseClaimsClient } from "../client-subject-YAGMzRa-.js";
11
+ import { n as subjectFromSupabaseClient, t as SupabaseClaimsClient } from "../client-subject-DSF0IYGW.js";
12
12
  /**
13
13
  * The server topic the generated version trigger broadcasts on without
14
14
  * better-supabase; no user may join it. With better-supabase it is
@@ -1,10 +1,10 @@
1
- import { r as readSubjectRecord } from "../version-cache-Ccrfu2A4.js";
1
+ import { r as readSubjectRecord } from "../version-cache-l9Zrfvhz.js";
2
2
  import { n as compactMemberships, r as expandMemberships } from "../read-memberships-DVBitJZG.js";
3
3
  import { n as AUTHZ_TOPIC, r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D8x24Jv-.js";
4
4
  import { n as supabaseMembershipsBudget, r as supabaseTenantClaim } from "../budget-BH81q2cj.js";
5
- import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-NpHqrRXC.js";
5
+ import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-CeJAHqZp.js";
6
6
  import { c as tableMembershipSource, i as authzVersion, o as junctionMembershipSource, s as supabasePostgresQuery, t as AUTHZ_VERSION_TABLE } from "../sources-C6Id63F8.js";
7
- import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-CAmmdVAL.js";
7
+ import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-C9-dU-SZ.js";
8
8
  import { a as delegationOf, i as actorOf, o as subjectFromSupabase, s as subjectFromSupabaseSession } from "../definition-options-DLBlRrPO.js";
9
9
  import { n as parseSupabaseManifest, t as hasTokenHook } from "../manifest-teSfgeqF.js";
10
10
  export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_TABLE, actorOf, authorizeSql, authzUserTopic, authzVersion, compactMemberships, definePermDock, delegationOf, exchangeCapability, expandMemberships, hasTokenHook, junctionMembershipSource, parseSupabaseManifest, postgrestSources, readSubjectRecord, subjectFromSupabase, subjectFromSupabaseClient, subjectFromSupabaseSession, supabaseApprovalStore, supabaseClaims, supabaseMembershipsBudget, supabasePostgresQuery, supabaseRls, supabaseTenantClaim, tableApprovalDelegationSource, tableApprovalPolicySource, tableMembershipSource };
@@ -1,11 +1,11 @@
1
1
  import { n as TenantSlugResolver, t as TenantFromPathOptions } from "../tenant-from-path-Dq3jkqjh.js";
2
- import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
3
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
2
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
3
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
4
4
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
5
- import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
6
- import { n as ServerAdapterServices } from "../bind-Caffleoh.js";
5
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
6
+ import { n as ServerAdapterServices } from "../bind-CLvD4iLc.js";
7
7
  import { t as RequestContext } from "../request-context-E3-ps-H_.js";
8
- import { i as OpenApiHooks } from "../server-types-C_Lnc8Ec.js";
8
+ import { i as OpenApiHooks } from "../server-types-CaKNUxdc.js";
9
9
  import { FetchHandler, Middleware } from "@supabase/middleware";
10
10
  /**
11
11
  * The verified Supabase Auth access-token payload as `@supabase/server`
@@ -1,10 +1,10 @@
1
- import { u as withApp } from "../permdock-DZmr2kJw.js";
1
+ import { u as withApp } from "../permdock-CbavFN6u.js";
2
2
  import { t as compact } from "../compact-C4LFuqbW.js";
3
3
  import { r as credentialSubject } from "../credential-D9in5keC.js";
4
4
  import { t as instanceOptions } from "../instance-options-CLErhA76.js";
5
5
  import { t as composeWraps } from "../wrap-CsfsaJhd.js";
6
- import { n as attached } from "../bind-2Cuy29LS.js";
7
- import { t as createPermDock$1 } from "../create-D6B06lb8.js";
6
+ import { n as attached } from "../bind-BNYcJ1D9.js";
7
+ import { t as createPermDock$1 } from "../create-Dapy8DIK.js";
8
8
  import { o as methodNotAllowed } from "../problem-BZB7zPC7.js";
9
9
  import { n as tenantFromPath$1 } from "../tenant-from-path-AKTSY7uR.js";
10
10
  import { n as supabaseOptionsOf, o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
@@ -8,12 +8,12 @@ import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
8
8
  import { s as ApprovalError } from "./types-DFZKovb3.js";
9
9
  import { c as decodeApprovalCursor, l as encodeApprovalCursor, s as approvalPageSize, t as applyApprovalVerdict } from "./store-n3yEN7dt.js";
10
10
  import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
11
- import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-CAmmdVAL.js";
11
+ import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-C9-dU-SZ.js";
12
12
  import { d as keptKeys, l as roleColumn } from "./sources-C6Id63F8.js";
13
13
  import { a as quoteQualifiedTable, c as quoteSqlTable, d as sqlTextArray, i as qualifySqlTable, o as quoteSqlIdent, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
14
14
  import { t as compactMembershipsSql } from "./membership-claim-sql-DGfhIn__.js";
15
15
  import { o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "./definition-options-DLBlRrPO.js";
16
- import { t as definePermDock$1 } from "./define-permdock-Dazve5lw.js";
16
+ import { t as definePermDock$1 } from "./define-permdock-B0q7Rg9b.js";
17
17
  import { r as isSubject } from "./subject-DkxY-AhF.js";
18
18
  // src/supabase/capability.ts
19
19
  const DEFAULT_TTL = 300;
@@ -20,7 +20,7 @@ const inspect = defineLeaf({
20
20
  },
21
21
  async run(ctx, { flags }) {
22
22
  if (flags.functions !== void 0) {
23
- const { inspectFunctions } = await import("./inspect-functions-DLP72IMA.js");
23
+ const { inspectFunctions } = await import("./inspect-functions-DbhgRvDf.js");
24
24
  return inspectFunctions({
25
25
  cwd: ctx.cwd,
26
26
  config: ctx.config,
@@ -29,7 +29,7 @@ const inspect = defineLeaf({
29
29
  });
30
30
  }
31
31
  const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
32
- const { runSupabase } = await import("./supabase-hook-DaK4Rirh.js");
32
+ const { runSupabase } = await import("./supabase-hook-8jAi64W9.js");
33
33
  return runSupabase({
34
34
  cwd: ctx.cwd,
35
35
  config: ctx.config,
@@ -0,0 +1,2 @@
1
+ import "./hook-sql-C24FFEWr.js";
2
+ export { r as runSupabase } from "./supabase-hook-BIBC5Ihn.js";
@@ -5,13 +5,13 @@ import { _ as writeOutputFiles, d as pgDeltaPath, g as underSchemaDir, h as serv
5
5
  import { i as readJsonFile, o as sqlFiles, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
6
6
  import { n as formatManifestJson, t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
7
7
  import { c as requirePolicy } from "./load-m7jmit3y.js";
8
- import { a as tryKeyReasons } from "./tenant-check-CsJkduIb.js";
9
- import { n as hookUri } from "./rbac-BOVyTCI6.js";
10
- import { a as withTableReads } from "./table-reads-B5kunhny.js";
11
- import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-CSUFnRn0.js";
8
+ import { a as tryKeyReasons } from "./tenant-check-DoZibca6.js";
9
+ import { n as hookUri } from "./rbac-BK_wp3eK.js";
10
+ import { a as withTableReads } from "./table-reads-CMP1MnPJ.js";
11
+ import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-C24FFEWr.js";
12
12
  import { r as HOOK_MARKER, s as hookMarkerFields } from "./markers-C-kThnKN.js";
13
13
  import { i as withSchemaDefaults } from "./schema-tables-Ba9LE_XB.js";
14
- import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DA28GP4N.js";
14
+ import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DOc3cNnf.js";
15
15
  import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
16
16
  import { r as pgConnector } from "./pg-DmS5ITHu.js";
17
17
  import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
@@ -1,6 +1,6 @@
1
1
  import "./sources-C6Id63F8.js";
2
2
  import { a as describeError } from "./errors-DgLOqc6j.js";
3
- import { n as hookUri } from "./rbac-BOVyTCI6.js";
3
+ import { n as hookUri } from "./rbac-BK_wp3eK.js";
4
4
  import { n as supabaseDir, t as supabaseConfigFile } from "./supabase-dir-0lxKbrYu.js";
5
5
  import { existsSync, readFileSync } from "node:fs";
6
6
  import { join, posix } from "node:path";
@@ -1,11 +1,11 @@
1
- import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-BRaJxlqL.js";
2
- import { i as describe } from "../describe-DEoWvk00.js";
3
- import { c as requiredPlans } from "../errors-BliKrfmP.js";
1
+ import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-ZjPv-GgQ.js";
2
+ import { i as describe } from "../describe-DLGEciCs.js";
3
+ import { c as requiredPlans } from "../errors-C35fh_2K.js";
4
4
  import { t as approvalHeaders } from "../headers-D1oRr-js.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-C1zIMtJr.js";
6
- 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-DPUPLu29.js";
6
+ 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-BXPRg1Ot.js";
7
7
  import { t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
8
- import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-D5-cqb6z.js";
8
+ import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-fRqdlrep.js";
9
9
  import { Component } from "svelte";
10
10
  export declare const Protected: Component<ProtectedProps>;
11
11
  export declare const PermissionBoundary: Component<PermissionBoundaryProps>;
@@ -1,7 +1,7 @@
1
1
  import { n as boundaryDigest, r as boundaryFallback, t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
2
- import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-BRaJxlqL.js";
3
- import { t as ClientStore } from "../store-core-D5-cqb6z.js";
4
- import { n as DescribeMessages } from "../describe-DEoWvk00.js";
2
+ import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-ZjPv-GgQ.js";
3
+ import { t as ClientStore } from "../store-core-fRqdlrep.js";
4
+ import { n as DescribeMessages } from "../describe-DLGEciCs.js";
5
5
  /** The provider's `defaults` and `messages`. */
6
6
  type PermDockUi = {
7
7
  readonly defaults?: PermDockDefaults | undefined;