permdock 0.24.0 → 0.25.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 (307) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +4 -4
  3. package/dist/{adoption-scan-CNoE5yBA.js → adoption-scan-DhZejKH8.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 +28 -10
  9. package/dist/app/index.js +69 -46
  10. package/dist/{app-DIvM65Mv.js → app-J9PE1LNm.js} +1 -1
  11. package/dist/{approval-policies-D7moEfTM.d.ts → approval-policies-BiXMlYBu.d.ts} +1 -1
  12. package/dist/{approval-prompt-DtfKSH-8.d.ts → approval-prompt-j5PTItiy.d.ts} +1 -1
  13. package/dist/approvals/index.d.ts +3 -3
  14. package/dist/{arazzo-rsYPFgga.js → arazzo-2_9pOddr.js} +2 -2
  15. package/dist/{arazzo-4rMFOHbu.js → arazzo-BDDzHgwW.js} +1 -1
  16. package/dist/astro/index.d.ts +4 -4
  17. package/dist/astro/index.js +1 -1
  18. package/dist/{audience-N2BqOvES.js → audience-DLoopY4q.js} +1 -1
  19. package/dist/authzen/index.d.ts +5 -5
  20. package/dist/authzen/index.js +1 -1
  21. package/dist/{automation-CrGcfIZn.d.ts → automation-_iGeP54L.d.ts} +1 -1
  22. package/dist/better-auth/index.d.ts +1 -1
  23. package/dist/better-supabase/index.d.ts +31 -19
  24. package/dist/better-supabase/index.js +26 -18
  25. package/dist/{bind-N5jf6kjk.d.ts → bind-CTj4dHc1.d.ts} +7 -7
  26. package/dist/{bind-Cx10JuJ-.js → bind-LQ6zbARV.js} +2 -2
  27. package/dist/{build-instance-BDGzsGcn.js → build-instance-Bq8wkJ4i.js} +1 -1
  28. package/dist/{capability-mLbd3KZ0.d.ts → capability-DqCyFGip.d.ts} +1 -1
  29. package/dist/{casbin-CjUT-wqV.js → casbin-BspH3-6_.js} +1 -1
  30. package/dist/{casbin-Dg5N0Gfa.js → casbin-XFqehd6I.js} +1 -1
  31. package/dist/catalog/index.d.ts +4 -4
  32. package/dist/catalog/index.js +4 -4
  33. package/dist/{catalog-BJu0A15r.js → catalog-B1MAmRQI.js} +2 -2
  34. package/dist/catalog-BCVIH7kq.js +1 -0
  35. package/dist/{catalog-CgA6-DQA.js → catalog-CaZoXBD8.js} +1 -1
  36. package/dist/{challenge-DVw1SrH9.js → challenge-DKJpP-5P.js} +1 -1
  37. package/dist/chat/index.d.ts +1 -1
  38. package/dist/chat/index.js +2 -2
  39. package/dist/chat-sdk/index.d.ts +3 -3
  40. package/dist/claude-agent/index.d.ts +3 -3
  41. package/dist/claude-agent/index.js +2 -2
  42. package/dist/clerk/index.d.ts +2 -2
  43. package/dist/cli/bin.js +1 -1
  44. package/dist/cli/index.d.ts +4 -4
  45. package/dist/cli/index.js +3 -3
  46. package/dist/cloud/index.d.ts +8 -8
  47. package/dist/cloud/index.js +1 -1
  48. package/dist/{cloud-Blw4AaQv.js → cloud-CUvR7okV.js} +2 -2
  49. package/dist/{codemod-BFFXaS-S.js → codemod-iwXnO0fg.js} +1 -1
  50. package/dist/{codemod-ByRUKVp-.js → codemod-uZsk1b6T.js} +2 -2
  51. package/dist/{collect-D3ToPa6Z.js → collect-BG-SXFQv.js} +1 -1
  52. package/dist/{collect-COqPRz6O.js → collect-CxPJRjoc.js} +2 -2
  53. package/dist/collect-ZLgHgujd.js +1 -0
  54. package/dist/compile/index.d.ts +1 -1
  55. package/dist/{compile-DSwZUJmL.d.ts → compile-Dh9pW_Co.d.ts} +2 -2
  56. package/dist/{completion-BW53byZN.js → completion-DenWMczI.js} +1 -1
  57. package/dist/{config-B0qti4jI.js → config-CoUYTCCu.js} +1 -1
  58. package/dist/{config-DyNanTjZ.js → config-DC7aiuhP.js} +2 -2
  59. package/dist/{config-report-DgMqeeK6.js → config-report-C5D1rPiF.js} +2 -2
  60. package/dist/{config-shape-C4zqzG2K.js → config-shape-ChhsuGSV.js} +2 -1
  61. package/dist/{context-KrAhRY22.js → context-BXM0MDB0.js} +2 -2
  62. package/dist/convex/index.d.ts +4 -4
  63. package/dist/convex/index.js +2 -2
  64. package/dist/{core-DMQsq2Gv.js → core-BTJlqWsv.js} +5 -5
  65. package/dist/{core-KsoqXWhf.d.ts → core-BhZEo5Le.d.ts} +2 -2
  66. package/dist/{coverage-D8jBJdgD.d.ts → coverage-BuGlwUms.d.ts} +30 -9
  67. package/dist/{coverage-Dh2W_DmF.js → coverage-CGu_Kovx.js} +114 -64
  68. package/dist/{create-goT32QIN.d.ts → create--q7-j0hX.d.ts} +6 -6
  69. package/dist/{create-ChK8bpCK.d.ts → create-C5IQw_-i.d.ts} +7 -7
  70. package/dist/{create-DGFv7Dje.d.ts → create-CYj0cjTu.d.ts} +4 -4
  71. package/dist/{create-BRr7Gu7N.js → create-D7D94oNh.js} +4 -4
  72. package/dist/{create-bYkJ4-tg.js → create-DaddhCIg.js} +3 -3
  73. package/dist/{credentials-UwTE2wCW.js → credentials-BZU7Twpt.js} +1 -1
  74. package/dist/{credentials-fqa_Xzzh.d.ts → credentials-Bq-Xa7Vq.d.ts} +2 -2
  75. package/dist/delivery/index.d.ts +4 -4
  76. package/dist/delivery/index.js +1 -1
  77. package/dist/{denied-text-BTMxIn5W.d.ts → denied-text-B6s29jcf.d.ts} +1 -1
  78. package/dist/{describe-CazEjtOH.d.ts → describe-DwcoWMLB.d.ts} +1 -1
  79. package/dist/{diff-DLcsCeVo.js → diff-BnYHpRSI.js} +3 -3
  80. package/dist/{diff-BkuW_5dK.js → diff-H75YU6Q-.js} +1 -1
  81. package/dist/{doctor-oD08zL1e.js → doctor-CF9TXVkX.js} +68 -32
  82. package/dist/{doctor-Jk2Ifezw.js → doctor-DreyO1At.js} +2 -2
  83. package/dist/drizzle/index.d.ts +3 -3
  84. package/dist/elysia/index.d.ts +4 -4
  85. package/dist/elysia/index.js +1 -1
  86. package/dist/{errors-CXxQwtbZ.d.ts → errors-D_SnqcRn.d.ts} +1 -1
  87. package/dist/{evaluate-_JdlbJ32.js → evaluate-BQ2nWOki.js} +2 -2
  88. package/dist/{evaluations-DcUW5VkX.d.ts → evaluations-BVtY66lF.d.ts} +3 -3
  89. package/dist/evaluator-CDl2YUd_.js +2 -0
  90. package/dist/{evaluator-eager-DvmrpdZt.js → evaluator-eager-CULtQ8t6.js} +1 -1
  91. package/dist/eve/index.d.ts +4 -4
  92. package/dist/eve/index.js +2 -2
  93. package/dist/express/index.d.ts +4 -4
  94. package/dist/express/index.js +1 -1
  95. package/dist/fastify/index.d.ts +4 -4
  96. package/dist/fastify/index.js +1 -1
  97. package/dist/{fetch-adapter-eQ-mdk8n.d.ts → fetch-adapter-BJ76IZZg.d.ts} +2 -2
  98. package/dist/{fetch-adapter-CAA3VJMX.js → fetch-adapter-CXeBg4CH.js} +1 -1
  99. package/dist/{fields-B17OWcPx.js → fields-D9PIYlJy.js} +13 -7
  100. package/dist/{from-snapshot-CdGYjHUg.js → from-snapshot-FdVXG_QZ.js} +20 -14
  101. package/dist/{gen-BwcwwLok.js → gen-BU5glz2Q.js} +2 -2
  102. package/dist/{gen-D4ulqsYR.js → gen-C75KIBdA.js} +1 -1
  103. package/dist/h3/index.d.ts +4 -4
  104. package/dist/h3/index.js +2 -2
  105. package/dist/hono/index.d.ts +4 -4
  106. package/dist/hono/index.js +1 -1
  107. package/dist/{hosted-cPDyrlsQ.js → hosted-CQW_YNx7.js} +1 -1
  108. package/dist/{hosted-BUCpV8-u.d.ts → hosted-D5StFpKa.d.ts} +1 -1
  109. package/dist/{import-BsrnU4BF.js → import-B34PyXgL.js} +3 -16
  110. package/dist/{import-B2jgnNS0.js → import-BYYXmHvP.js} +1 -1
  111. package/dist/{index-DD2FBFdm.d.ts → index-B1-tE0Kx.d.ts} +14 -7
  112. package/dist/{index-DQCBzEhO.d.ts → index-BwSEp_O5.d.ts} +4 -4
  113. package/dist/{index-CvKGALWb.d.ts → index-CB_eM-qx.d.ts} +4 -4
  114. package/dist/{index-BXS29UnX.d.ts → index-CvcE9mYP.d.ts} +1 -1
  115. package/dist/{index-DYAJ9JX1.d.ts → index-D7sMtTf6.d.ts} +4 -4
  116. package/dist/{index-CxA-ygwc.d.ts → index-d7f0hNss.d.ts} +2 -2
  117. package/dist/index.d.ts +17 -17
  118. package/dist/index.js +13 -13
  119. package/dist/{init-Baq0yYfu.js → init-C-nzibt_.js} +1 -1
  120. package/dist/{init-Cik6ITgM.js → init-C1Bj0BFA.js} +3 -3
  121. package/dist/{instance-options-BDHB3qBG.d.ts → instance-options-DhQVCuhT.d.ts} +1 -1
  122. package/dist/{instance-snapshot-LPNBG9np.js → instance-snapshot-DyG_5ASl.js} +5 -5
  123. package/dist/jwt/index.d.ts +4 -4
  124. package/dist/{kernel-BY3rVRs2.js → kernel-D9AxUqmz.js} +5 -5
  125. package/dist/kysely/index.d.ts +3 -3
  126. package/dist/{login-CUboKh0f.js → login-Cm_ebe5M.js} +3 -3
  127. package/dist/{login-CcBS1xkU.js → login-DjuUQqqK.js} +1 -1
  128. package/dist/{manifest-CIlVL-QT.js → manifest-9KSrH_1h.js} +35 -35
  129. package/dist/{may-use-D0_wNcgB.js → may-use-WDhFPqGG.js} +5 -6
  130. package/dist/mcp/index.d.ts +8 -8
  131. package/dist/mcp/index.js +3 -3
  132. package/dist/{membership-filter-CfLdP_F9.js → membership-filter-BWnfRQzo.js} +1 -1
  133. package/dist/{module-values-BLiVlO1X.js → module-values-CdaVwrab.js} +1 -1
  134. package/dist/nest/index.d.ts +4 -4
  135. package/dist/nest/index.js +1 -1
  136. package/dist/next/index.d.ts +10 -10
  137. package/dist/next/index.js +2 -2
  138. package/dist/next/plugin.d.ts +1 -1
  139. package/dist/next/plugin.js +1 -1
  140. package/dist/node/index.d.ts +4 -4
  141. package/dist/node/index.js +1 -1
  142. package/dist/oauth-security-X7Em8DbH.js +26 -0
  143. package/dist/openai/index.d.ts +4 -4
  144. package/dist/openai/index.js +3 -3
  145. package/dist/openapi/index.d.ts +4 -4
  146. package/dist/openapi/index.js +1 -1
  147. package/dist/{openapi-DobvXTF6.js → openapi-C2WGtmFa.js} +2 -2
  148. package/dist/{openapi-DglIpD53.js → openapi-DvTtFkwY.js} +2 -2
  149. package/dist/orpc/index.d.ts +5 -5
  150. package/dist/orpc/index.js +2 -2
  151. package/dist/otel/index.d.ts +3 -3
  152. package/dist/{output-B81GJ6u6.js → output-CuJfGWo6.js} +1 -1
  153. package/dist/{ownership-B7Ea-hUY.js → ownership-C_5eZ6N2.js} +1 -1
  154. package/dist/{parse-local-manifest-DzZOzDsK.d.ts → parse-local-manifest-w_ksIkB9.d.ts} +1 -1
  155. package/dist/pdp/index.d.ts +3 -3
  156. package/dist/pdp/index.js +1 -1
  157. package/dist/{permdock-HfTF99xX.js → permdock-B3zE16To.js} +14 -18
  158. package/dist/{permdock-vD3mwLSm.d.ts → permdock-DV3opaI3.d.ts} +3 -3
  159. package/dist/{permissions-CGYZqYsY.js → permissions-D-M48hW-.js} +1 -1
  160. package/dist/{policy-B_cqFLHu.d.ts → policy-DIHfTqm6.d.ts} +1 -1
  161. package/dist/{policy-from-catalog-lKL280I8.js → policy-from-catalog-Z0hvSffr.js} +3 -3
  162. package/dist/{policy-types-CCBrL7me.d.ts → policy-types-DU389Elz.d.ts} +30 -3
  163. package/dist/{postgrest-5WOO47Ud.d.ts → postgrest-3dE9SGx9.d.ts} +2 -2
  164. package/dist/powersync-BO1ty3Mf.js +1 -0
  165. package/dist/{powersync-BUUqJfH2.js → powersync-Bqy5Un2J.js} +6 -6
  166. package/dist/{powersync-B6f4l8C1.js → powersync-CCQAqiOo.js} +2 -2
  167. package/dist/prisma/index.d.ts +2 -2
  168. package/dist/{protected-action-DGuJNiMA.d.ts → protected-action-CjSUoPGx.d.ts} +5 -5
  169. package/dist/{protected-action-BWvZjjyt.js → protected-action-D41o5LvP.js} +1 -1
  170. package/dist/{provider-B085HEOf.js → provider-Bzzux0TR.js} +2 -2
  171. package/dist/{provider-yIM04TwN.d.ts → provider-D1jsNJ85.d.ts} +1 -1
  172. package/dist/{provider-store-BLd4UEmg.js → provider-store-tIAwP4aW.js} +3 -3
  173. package/dist/{provider-with-DobrMx1N.js → provider-with-Do28DhxP.js} +2 -2
  174. package/dist/pull-CYdd5HzX.js +1 -0
  175. package/dist/{pull-4Yi8zYeU.js → pull-DLkaZBwH.js} +2 -2
  176. package/dist/{push-Dv1nfFPr.js → push-sJ5dy46a.js} +2 -2
  177. package/dist/{pushed-policy-B2ZSpnRY.d.ts → pushed-policy-Db651nih.d.ts} +1 -1
  178. package/dist/{pushed-policy-DJoyBZsd.js → pushed-policy-UZyQinrL.js} +1 -1
  179. package/dist/react/index.d.ts +6 -6
  180. package/dist/react/index.js +3 -3
  181. package/dist/react/lazy.d.ts +5 -5
  182. package/dist/react/lazy.js +4 -4
  183. package/dist/react/provider-client.d.ts +1 -1
  184. package/dist/react/provider-client.js +1 -1
  185. package/dist/react-native/index.d.ts +8 -8
  186. package/dist/react-native/index.js +7 -7
  187. package/dist/{replay-CsErjiHt.d.ts → replay-BpmpY2ev.d.ts} +1 -1
  188. package/dist/{request-context-B_L4ev8L.js → request-context-dyCY4V1t.js} +1 -1
  189. package/dist/resend/index.d.ts +4 -4
  190. package/dist/{resolve-names-SGcLjtFc.js → resolve-names-DHDedxk0.js} +2 -2
  191. package/dist/{rls-hmwRIS3-.js → rls-B3-tGA4r.js} +13 -13
  192. package/dist/{rls-Df9NEWD3.js → rls-BW2u4lQW.js} +1 -1
  193. package/dist/{rpc-DFtputZ1.js → rpc-BdFGYcWm.js} +1 -1
  194. package/dist/{rpc-D3St8vPO.d.ts → rpc-DKRQobOX.d.ts} +1 -1
  195. package/dist/{run-BXmJIjRA.js → run-2GwcSago.js} +3 -3
  196. package/dist/run-CdGNonHf.js +1 -0
  197. package/dist/{run-ticket-zfABczfh.d.ts → run-ticket-o4RxoaEN.d.ts} +2 -2
  198. package/dist/{saas-DIThcxbn.js → saas-D9maBt0q.js} +3 -3
  199. package/dist/{scan-BrTSlc_5.js → scan-CB46GDQ0.js} +1 -1
  200. package/dist/{schema-UOeI_LTB.js → schema-CyEB_zeO.js} +1 -1
  201. package/dist/scim/index.d.ts +1 -1
  202. package/dist/server/index.d.ts +11 -11
  203. package/dist/server/index.js +2 -2
  204. package/dist/{server-types-CtJSDhOv.d.ts → server-types-C4q8_8MM.d.ts} +8 -8
  205. package/dist/{sink-BskpqwLl.d.ts → sink-C3KDccl9.d.ts} +2 -2
  206. package/dist/{skills-BTVeFptV.js → skills-BYHCObpD.js} +1 -1
  207. package/dist/{skills-CAgWKbDR.js → skills-C-9wjNaE.js} +1 -1
  208. package/dist/{snapshot-BcHYtUIg.js → snapshot-D0VOanxQ.js} +7 -0
  209. package/dist/{snapshot-cache-BnXMcJbK.d.ts → snapshot-cache-C1mN0pXe.d.ts} +2 -2
  210. package/dist/snapshot-compact-CUtXsx6i.js +75 -0
  211. package/dist/{snapshot-empty-BoPBFoB8.js → snapshot-empty-F7d5BRlc.js} +1 -0
  212. package/dist/{snapshot-evaluate-CwYVSUgO.js → snapshot-evaluate-C3ZA35O_.js} +1 -1
  213. package/dist/{snapshot-reads-DOsTYC82.js → snapshot-reads-CNNmp1cK.js} +2 -2
  214. package/dist/solid/index.d.ts +5 -5
  215. package/dist/solid/index.js +2 -2
  216. package/dist/solid-start/index.d.ts +4 -4
  217. package/dist/solid-start/index.js +2 -2
  218. package/dist/{sources-DhCtO9G8.d.ts → sources-2virTxHt.d.ts} +1 -1
  219. package/dist/{src-BZKQe1lr.js → src-ieIv22BA.js} +11 -7
  220. package/dist/ssf/index.d.ts +3 -3
  221. package/dist/{standard-webhooks-kQDkIPj3.d.ts → standard-webhooks-B2g_yWK8.d.ts} +2 -2
  222. package/dist/{store-core-CDabEiO9.d.ts → store-core-BI-9ZU-5.d.ts} +4 -4
  223. package/dist/{store-options-COLWAd1K.js → store-options-BYKNX_JG.js} +8 -6
  224. package/dist/{stores-DYxx75fk.js → stores-DtM8pt8o.js} +1 -1
  225. package/dist/{stores-Mw_VAJ3B.d.ts → stores-DwGfIcmq.d.ts} +5 -5
  226. package/dist/{subject-cache-DrJGnRiV.d.ts → subject-cache-TY2tw-k9.d.ts} +1 -1
  227. package/dist/{subject-BqFwS6l3.js → subject-jG6o8eKo.js} +1 -1
  228. package/dist/supabase/index.d.ts +6 -6
  229. package/dist/supabase/index.js +2 -2
  230. package/dist/supabase/middleware.d.ts +5 -5
  231. package/dist/supabase/middleware.js +4 -4
  232. package/dist/{supabase-BDr-fIHp.js → supabase-BlAqmxD8.js} +1 -1
  233. package/dist/{supabase-Bt8rb-ah.js → supabase-C1hExXsZ.js} +2 -2
  234. package/dist/supabase-hook-DCemge7i.js +1 -0
  235. package/dist/{supabase-hook-Cb3UZpGC.js → supabase-hook-DJA8AJYz.js} +5 -5
  236. package/dist/{supautils-CuR9rPsi.js → supautils-DuwkBqKm.js} +7 -7
  237. package/dist/svelte/index.d.ts +5 -5
  238. package/dist/svelte/index.js +3 -3
  239. package/dist/svelte/runtime.d.ts +3 -3
  240. package/dist/svelte/runtime.js +1 -1
  241. package/dist/svelte/source.d.ts +5 -5
  242. package/dist/svelte/source.js +2 -2
  243. package/dist/sveltekit/index.d.ts +4 -4
  244. package/dist/sveltekit/index.js +1 -1
  245. package/dist/{tables-Bl_ozD0k.js → tables-B3w3EtUF.js} +1 -1
  246. package/dist/tanstack-start/index.d.ts +4 -4
  247. package/dist/tanstack-start/index.js +1 -1
  248. package/dist/terminal/index.d.ts +5 -5
  249. package/dist/terminal/index.js +6 -5
  250. package/dist/testing/core.d.ts +1 -1
  251. package/dist/testing/core.js +1 -1
  252. package/dist/testing/fixtures/index.d.ts +3 -3
  253. package/dist/testing/fixtures/index.js +2 -2
  254. package/dist/testing/index.d.ts +32 -25
  255. package/dist/testing/index.js +25 -16
  256. package/dist/testing/saas/index.d.ts +3 -3
  257. package/dist/testing/saas/index.js +2 -2
  258. package/dist/testing/saas/permissions.js +1 -1
  259. package/dist/trpc/index.d.ts +5 -5
  260. package/dist/trpc/index.js +2 -2
  261. package/dist/{type-helpers-fQdBvtU0.d.ts → type-helpers-tDoGEIsd.d.ts} +1 -1
  262. package/dist/{types-B_s1oQaF.d.ts → types-61f3KMtI.d.ts} +6 -1
  263. package/dist/{types-CdXM6qPc.d.ts → types-BDgMzK1i.d.ts} +2 -2
  264. package/dist/{types-DyA4Loy4.d.ts → types-BIvkpVoc.d.ts} +3 -3
  265. package/dist/{types-CXUwgZ3d.d.ts → types-BWjNPQkS.d.ts} +2 -2
  266. package/dist/{types-CErg7ft6.d.ts → types-Bq4AU68k.d.ts} +3 -3
  267. package/dist/{types-ChYCRn7Y.d.ts → types-BsqLNNvG.d.ts} +1 -1
  268. package/dist/{types-Cc68_zqR.d.ts → types-CH67RMvL.d.ts} +2 -2
  269. package/dist/{types-BSGrzDPi.d.ts → types-DEDocm4c.d.ts} +4 -4
  270. package/dist/{types-DDlaFDM3.d.ts → types-DQQkzF97.d.ts} +4 -4
  271. package/dist/{types-DM0o1YyJ.d.ts → types-DdeivUBP.d.ts} +4 -4
  272. package/dist/{types-CAp7UGiB.d.ts → types-X40XNxRP.d.ts} +1 -1
  273. package/dist/unplugin/index.d.ts +1 -1
  274. package/dist/unplugin/index.js +1 -1
  275. package/dist/{usage-B6sQwycY.js → usage-BBEm7GVn.js} +4 -4
  276. package/dist/{usage-CNkKk27O.js → usage-CkKbvpmL.js} +1 -1
  277. package/dist/usage-GQxn7qkA.js +1 -0
  278. package/dist/{validation-error-BE8bpmhR.d.ts → validation-error-CV0nV6_L.d.ts} +1 -1
  279. package/dist/{verify-OtU4yCzg.js → verify-lgYu1Twv.js} +10 -10
  280. package/dist/{version-sources-BZ7V6Z8Z.js → version-sources-BRb9ZteH.js} +1 -1
  281. package/dist/vue/index.d.ts +5 -5
  282. package/dist/vue/index.js +2 -2
  283. package/dist/{waiter-LdnPaBJE.d.ts → waiter-BophA4BT.d.ts} +2 -2
  284. package/dist/{watch-CR2ZIT_5.js → watch-CJKYQYNb.js} +2 -2
  285. package/dist/watch-Cv-xvI6e.js +1 -0
  286. package/dist/webmcp/index.d.ts +1 -1
  287. package/dist/webmcp/index.js +9 -1
  288. package/dist/{who-can-DcrHB6ya.js → who-can-Yh9WdiwK.js} +1 -1
  289. package/dist/workflow/index.d.ts +3 -3
  290. package/dist/workflow/index.js +2 -2
  291. package/dist/workflow-sdk/index.d.ts +4 -4
  292. package/dist/{wrap-CVBPIuEs.d.ts → wrap-Bq9fHwuT.d.ts} +2 -2
  293. package/package.json +1 -1
  294. package/schemas/snapshot-v1.json +208 -52
  295. package/skills/permdock-wire/references/adapters.md +4 -2
  296. package/dist/catalog-DqYnQz8U.js +0 -1
  297. package/dist/collect-CjFczu8a.js +0 -1
  298. package/dist/evaluator-mHAoYEkk.js +0 -2
  299. package/dist/powersync-D12Q6Chj.js +0 -1
  300. package/dist/pull-Dr6Bq5Jo.js +0 -1
  301. package/dist/run-DnzrDgU-.js +0 -1
  302. package/dist/supabase-hook-D1pwHu87.js +0 -1
  303. package/dist/usage-Cem1FOeJ.js +0 -1
  304. package/dist/watch-B8F7Wgdy.js +0 -1
  305. package/dist/{catalog-doc-BoSOQRXT.js → catalog-doc-DnQDviXY.js} +1 -1
  306. package/dist/{credential-DrVrRL7z.js → credential-BMsbcaeP.js} +1 -1
  307. package/dist/{policy-BovcTojN.js → policy-DnNOTENd.js} +1 -1
@@ -2,6 +2,7 @@ import { r as isRecord, t as compact } from "../compact-CAf557ZB.js";
2
2
  import { n as PermDockValidationError } from "../validation-error-CYg2kJEw.js";
3
3
  import { c as listPermissions, f as resourceOfNode, i as getRegistry, m as annotationsFor, s as isRegistryTree } from "../permission-registry-B8tYxPIt.js";
4
4
  import { n as isThenable, t as ignoreRejection } from "../thenable-BNSM1U2R.js";
5
+ import { n as expandGrants } from "../snapshot-compact-CUtXsx6i.js";
5
6
  import { n as resourceRef } from "../resource-ref-CaS9yVPi.js";
6
7
  import { n as deniedToolRefusal, r as toolErrorResult, t as approvalToolRefusal } from "../tool-refusal-D4spOJ7I.js";
7
8
  //#region src/webmcp/register.ts
@@ -14,7 +15,14 @@ function current(permdock) {
14
15
  function snapshotOf(permdock) {
15
16
  const value = permdock.snapshot();
16
17
  if (value instanceof Promise || typeof value === "string") return;
17
- return value;
18
+ try {
19
+ return {
20
+ ...expandGrants(value),
21
+ ...value.simulated === true ? { simulated: true } : {}
22
+ };
23
+ } catch {
24
+ return;
25
+ }
18
26
  }
19
27
  function toolName(permission) {
20
28
  return permission.key.replaceAll(".", "_");
@@ -10,7 +10,7 @@ import { r as relationCondition } from "./grantee-conditions-Dzprappv.js";
10
10
  import { c as nowSeconds, p as scopeField } from "./tenancy-BlxY5T0q.js";
11
11
  import { n as internalsOf } from "./internals-B3IgHrvo.js";
12
12
  import { t as byCodePoint } from "./compare-DTfyUunF.js";
13
- import { D as emptyListeners, t as evaluate } from "./evaluate-_JdlbJ32.js";
13
+ import { D as emptyListeners, t as evaluate } from "./evaluate-BQ2nWOki.js";
14
14
  import { n as relationId, t as pendingRelations } from "./relations-CMsJ1ARY.js";
15
15
  import { t as relationWalk } from "./relation-walk-BDTaTKTM.js";
16
16
  //#region src/core/who-can.ts
@@ -1,5 +1,5 @@
1
- import { a as AutomationSource, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "../automation-CrGcfIZn.js";
2
- import { i as pollingApprovalWaiter, n as ApprovalWaiter, r as PollingApprovalWaiterOptions, t as ApprovalWaitOptions } from "../waiter-LdnPaBJE.js";
3
- import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-goT32QIN.js";
1
+ import { a as AutomationSource, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "../automation-_iGeP54L.js";
2
+ import { i as pollingApprovalWaiter, n as ApprovalWaiter, r as PollingApprovalWaiterOptions, t as ApprovalWaitOptions } from "../waiter-BophA4BT.js";
3
+ import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create--q7-j0hX.js";
4
4
  import "../index-CaxrMD1A.js";
5
5
  export { type ApprovalWaitOptions, type ApprovalWaiter, type Automation, type AutomationDecision, type AutomationMode, type AutomationOptions, type AutomationRequest, type AutomationSource, type AwaitApprovalOptions, type MemoryAutomationSource, type PollingApprovalWaiterOptions, type StartAutomationResult, type WorkflowPermDock, type WorkflowPermDockOptions, createPermDock, memoryAutomationSource, parseAutomation, pollingApprovalWaiter };
@@ -3,9 +3,9 @@ import { n as freezeDeep } from "../freeze-jjan0lCv.js";
3
3
  import { n as findPermission } from "../permission-registry-B8tYxPIt.js";
4
4
  import { n as isThenable } from "../thenable-BNSM1U2R.js";
5
5
  import { r as isId } from "../ids-DzhJaCUj.js";
6
- import { t as getPermDock } from "../permdock-HfTF99xX.js";
6
+ import { t as getPermDock } from "../permdock-B3zE16To.js";
7
7
  import { n as memoryAutomationSource, r as parseAutomation } from "../automation-BueW05db.js";
8
- import { r as withApp } from "../app-DIvM65Mv.js";
8
+ import { r as withApp } from "../app-J9PE1LNm.js";
9
9
  import { o as automationEvent } from "../sink-D9_vh372.js";
10
10
  import { a as requestApproval, s as resumeDecision } from "../helpers-CO2hDpBU.js";
11
11
  import { i as subjectFromRunTicket, r as signRunTicket } from "../run-ticket-Ddxt9OuU.js";
@@ -1,8 +1,8 @@
1
- import { Yn as Decision } from "../policy-types-CCBrL7me.js";
1
+ import { Xn as Decision } from "../policy-types-DU389Elz.js";
2
2
  import { w as Permission } from "../vocabulary-DeZvUaTw.js";
3
- import { a as PermDock } from "../permdock-vD3mwLSm.js";
4
- import { n as ApprovalWaiter } from "../waiter-LdnPaBJE.js";
5
- import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-goT32QIN.js";
3
+ import { a as PermDock } from "../permdock-DV3opaI3.js";
4
+ import { n as ApprovalWaiter } from "../waiter-BophA4BT.js";
5
+ import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create--q7-j0hX.js";
6
6
  //#region src/workflow-sdk/index.d.ts
7
7
  /**
8
8
  * The part of a Workflow SDK `Hook` the waiter reads: awaiting it suspends the
@@ -1,5 +1,5 @@
1
- import { N as PolicyVocabulary } from "./policy-types-CCBrL7me.js";
2
- import { a as PermDock } from "./permdock-vD3mwLSm.js";
1
+ import { N as PolicyVocabulary } from "./policy-types-DU389Elz.js";
2
+ import { a as PermDock } from "./permdock-DV3opaI3.js";
3
3
  //#region src/core/wrap.d.ts
4
4
  /** A wrapper an adapter applies to each instance it builds, as `withOtel` does. */
5
5
  type PermDockWrap = <V extends PolicyVocabulary>(permdock: PermDock<V>) => PermDock<V>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "permdock",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Typed permissions for TypeScript apps, APIs, databases, and AI agents, with the permdock CLI and test runners.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -2,13 +2,27 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://permdock.com/schemas/snapshot-v1.json",
4
4
  "title": "PermDock snapshot v1",
5
- "description": "A Snapshot as /snapshot serves it and a client store caches it. Signed as a vnd.permdock.snapshot+jwt, issuedAt and expiresAt move to iat and exp and the rest is the snapshot claim. Unknown properties are allowed so a v1 minor release can add one.",
5
+ "description": "A compact Snapshot as /snapshot serves it by default. Grant terms that repeat are stored once in `conditions`; each grant names its permission and the index or indexes of its terms. `parseSnapshot` validates it and `expandSnapshot` flattens it for evaluation. Signed as a vnd.permdock.snapshot+jwt, issuedAt and expiresAt move to iat and exp and the rest is the snapshot claim. Unknown properties are allowed so a v1 minor release can add one.",
6
6
  "type": "object",
7
- "required": ["v", "issuedAt", "subject", "roles", "grants", "tenants"],
7
+ "required": [
8
+ "v",
9
+ "issuedAt",
10
+ "subject",
11
+ "roles",
12
+ "grants",
13
+ "tenants",
14
+ "conditions"
15
+ ],
8
16
  "properties": {
9
- "v": { "const": 1 },
10
- "issuedAt": { "$ref": "#/$defs/instant" },
11
- "expiresAt": { "$ref": "#/$defs/instant" },
17
+ "v": {
18
+ "const": 1
19
+ },
20
+ "issuedAt": {
21
+ "$ref": "#/$defs/instant"
22
+ },
23
+ "expiresAt": {
24
+ "$ref": "#/$defs/instant"
25
+ },
12
26
  "authzVersion": {
13
27
  "type": "integer",
14
28
  "minimum": 0,
@@ -24,58 +38,145 @@
24
38
  "properties": {
25
39
  "principal": {
26
40
  "anyOf": [
27
- { "type": "null" },
41
+ {
42
+ "type": "null"
43
+ },
28
44
  {
29
45
  "type": "object",
30
46
  "required": ["id", "roles"],
31
47
  "properties": {
32
- "id": { "type": "string", "minLength": 1 },
33
- "roles": { "$ref": "#/$defs/strings" },
34
- "plans": { "$ref": "#/$defs/strings" },
35
- "tenant": { "type": "string" },
48
+ "id": {
49
+ "type": "string",
50
+ "minLength": 1
51
+ },
52
+ "roles": {
53
+ "$ref": "#/$defs/strings"
54
+ },
55
+ "plans": {
56
+ "$ref": "#/$defs/strings"
57
+ },
58
+ "tenant": {
59
+ "type": "string"
60
+ },
36
61
  "memberships": {
37
62
  "type": "array",
38
- "items": { "type": "object" }
63
+ "items": {
64
+ "type": "object"
65
+ }
39
66
  }
40
67
  }
41
68
  }
42
69
  ]
43
70
  },
44
- "delegation": { "$ref": "#/$defs/delegation" },
45
- "context": { "type": "object" }
71
+ "delegation": {
72
+ "$ref": "#/$defs/delegation"
73
+ },
74
+ "context": {
75
+ "type": "object"
76
+ }
77
+ }
78
+ },
79
+ "roles": {
80
+ "$ref": "#/$defs/strings"
81
+ },
82
+ "audiences": {
83
+ "$ref": "#/$defs/strings"
84
+ },
85
+ "grants": {
86
+ "type": "array",
87
+ "items": {
88
+ "type": "object",
89
+ "required": ["permission", "cond"],
90
+ "properties": {
91
+ "permission": {
92
+ "type": "string",
93
+ "minLength": 1
94
+ },
95
+ "cond": {
96
+ "anyOf": [
97
+ {
98
+ "type": "integer",
99
+ "minimum": 0
100
+ },
101
+ {
102
+ "type": "array",
103
+ "minItems": 1,
104
+ "items": {
105
+ "type": "integer",
106
+ "minimum": 0
107
+ }
108
+ }
109
+ ]
110
+ }
111
+ }
46
112
  }
47
113
  },
48
- "roles": { "$ref": "#/$defs/strings" },
49
- "audiences": { "$ref": "#/$defs/strings" },
50
- "grants": { "type": "array", "items": { "$ref": "#/$defs/grant" } },
51
- "tenants": { "$ref": "#/$defs/strings" },
52
- "include": { "$ref": "#/$defs/strings" },
53
- "simulated": { "const": true },
54
- "vocabulary": { "type": "object" },
114
+ "tenants": {
115
+ "$ref": "#/$defs/strings"
116
+ },
117
+ "include": {
118
+ "$ref": "#/$defs/strings"
119
+ },
120
+ "simulated": {
121
+ "const": true
122
+ },
123
+ "vocabulary": {
124
+ "type": "object"
125
+ },
55
126
  "scopes": {
56
127
  "type": "array",
57
128
  "items": {
58
129
  "type": "object",
59
130
  "required": ["name", "key"],
60
131
  "properties": {
61
- "name": { "type": "string" },
62
- "key": { "type": "string" },
63
- "within": { "type": "string" },
64
- "resources": { "$ref": "#/$defs/strings" },
132
+ "name": {
133
+ "type": "string"
134
+ },
135
+ "key": {
136
+ "type": "string"
137
+ },
138
+ "within": {
139
+ "type": "string"
140
+ },
141
+ "resources": {
142
+ "$ref": "#/$defs/strings"
143
+ },
65
144
  "fields": {
66
145
  "type": "object",
67
- "additionalProperties": { "type": "string" }
146
+ "additionalProperties": {
147
+ "type": "string"
148
+ }
68
149
  }
69
150
  }
70
151
  }
71
152
  },
72
- "assignable": { "type": "array", "items": { "type": "object" } },
73
- "notEntitled": { "type": "array", "items": { "type": "object" } },
153
+ "assignable": {
154
+ "type": "array",
155
+ "items": {
156
+ "type": "object"
157
+ }
158
+ },
159
+ "notEntitled": {
160
+ "type": "array",
161
+ "items": {
162
+ "type": "object"
163
+ }
164
+ },
74
165
  "ids": {
75
166
  "type": "object",
76
- "additionalProperties": { "type": "string" }
167
+ "additionalProperties": {
168
+ "type": "string"
169
+ }
170
+ },
171
+ "delegated": {
172
+ "$ref": "#/$defs/strings"
77
173
  },
78
- "delegated": { "$ref": "#/$defs/strings" }
174
+ "conditions": {
175
+ "type": "array",
176
+ "items": {
177
+ "$ref": "#/$defs/terms"
178
+ }
179
+ }
79
180
  },
80
181
  "$defs": {
81
182
  "instant": {
@@ -84,63 +185,118 @@
84
185
  "format": "date-time",
85
186
  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"
86
187
  },
87
- "strings": { "type": "array", "items": { "type": "string" } },
188
+ "strings": {
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string"
192
+ }
193
+ },
88
194
  "delegation": {
89
195
  "description": "OAuth scope (RFC 6749, space-separated) and RFC 9396 authorization_details.",
90
196
  "type": "object",
91
197
  "properties": {
92
- "scope": { "type": "string" },
198
+ "scope": {
199
+ "type": "string"
200
+ },
93
201
  "authorization_details": {
94
202
  "type": "array",
95
203
  "items": {
96
204
  "type": "object",
97
205
  "required": ["type"],
98
- "properties": { "type": { "type": "string", "minLength": 1 } }
206
+ "properties": {
207
+ "type": {
208
+ "type": "string",
209
+ "minLength": 1
210
+ }
211
+ }
99
212
  }
100
213
  }
101
214
  }
102
215
  },
103
- "grant": {
216
+ "terms": {
104
217
  "type": "object",
105
- "required": ["permission", "effect", "role", "to"],
218
+ "required": ["effect", "role", "to"],
106
219
  "properties": {
107
- "permission": { "type": "string", "minLength": 1 },
108
- "effect": { "enum": ["allow", "deny"] },
109
- "role": { "type": ["string", "null"] },
220
+ "effect": {
221
+ "enum": ["allow", "deny"]
222
+ },
223
+ "role": {
224
+ "type": ["string", "null"]
225
+ },
110
226
  "to": {
111
227
  "anyOf": [
112
- { "type": "object" },
113
- { "type": "array", "items": { "type": "object" } }
228
+ {
229
+ "type": "object"
230
+ },
231
+ {
232
+ "type": "array",
233
+ "items": {
234
+ "type": "object"
235
+ }
236
+ }
114
237
  ]
115
238
  },
116
- "where": { "type": "object" },
117
- "check": { "type": "object" },
239
+ "where": {
240
+ "type": "object"
241
+ },
242
+ "check": {
243
+ "type": "object"
244
+ },
118
245
  "approval": {
119
- "anyOf": [{ "const": "human" }, { "type": "object" }]
246
+ "anyOf": [
247
+ {
248
+ "const": "human"
249
+ },
250
+ {
251
+ "type": "object"
252
+ }
253
+ ]
120
254
  },
121
255
  "scope": {
122
256
  "anyOf": [
123
- { "type": "string" },
257
+ {
258
+ "type": "string"
259
+ },
124
260
  {
125
261
  "type": "object",
126
262
  "required": ["resource"],
127
- "properties": { "resource": { "type": "string" } }
263
+ "properties": {
264
+ "resource": {
265
+ "type": "string"
266
+ }
267
+ }
128
268
  }
129
269
  ]
130
270
  },
131
- "membership": { "type": "object" },
132
- "portable": { "const": false },
133
- "fields": { "$ref": "#/$defs/strings" },
271
+ "membership": {
272
+ "type": "object"
273
+ },
274
+ "portable": {
275
+ "const": false
276
+ },
277
+ "fields": {
278
+ "$ref": "#/$defs/strings"
279
+ },
134
280
  "validity": {
135
281
  "type": "object",
136
282
  "properties": {
137
- "from": { "$ref": "#/$defs/instant" },
138
- "until": { "$ref": "#/$defs/instant" }
283
+ "from": {
284
+ "$ref": "#/$defs/instant"
285
+ },
286
+ "until": {
287
+ "$ref": "#/$defs/instant"
288
+ }
139
289
  }
140
290
  },
141
- "name": { "type": "string" },
142
- "meta": { "type": "object" },
143
- "obligations": { "type": "array" }
291
+ "name": {
292
+ "type": "string"
293
+ },
294
+ "meta": {
295
+ "type": "object"
296
+ },
297
+ "obligations": {
298
+ "type": "array"
299
+ }
144
300
  }
145
301
  }
146
302
  }
@@ -35,10 +35,12 @@ export async function loadSnapshot(org: string) {
35
35
  }
36
36
 
37
37
  // app/[org]/layout.tsx: keep it synchronous
38
- <PermDockProvider snapshotPromise={params.then(({ org }) => loadSnapshot(org))}>
38
+ <PermDockProvider snapshot={params.then(({ org }) => loadSnapshot(org))}>
39
39
  ```
40
40
 
41
- Hooks under a `snapshotPromise` never suspend: they deny with `status: 'pending'` until it resolves, so render a skeleton for `pending` (or `<Protected pending>`); pass `suspend` to the provider only when readers should wait inside a Suspense boundary.
41
+ A layout fetches and never decides: it does not re-render on navigation and does not stop the segments below it from rendering. Check in pages (`requirePermission`), leaf Server Components, `'use cache: private'` loaders that return only readable rows, Server Actions and Route Handlers; a client `<Protected>` only hides UI.
42
+
43
+ Hooks under the provider's snapshot never suspend: they deny with `status: 'pending'` until it resolves, so render a skeleton for `pending` (or `<Protected pending>`); pass `suspend` to the provider only when readers should wait inside a Suspense boundary.
42
44
 
43
45
  After a role change: `updateTag(snapshotTag(user))` in the Server Action; `revalidateTag(tag, { expire: 0 })` in a Route Handler (not `'max'`, which would keep serving the revoked grant). Pages whose permission UI must be instant export `instant = true`; a rarely visited admin page exports `prefetch = 'force-disabled'`. Resource links that should carry their gated actions use `<Link prefetch={true}>` with the check in a `'use cache: private'` function keyed on the resource id. In `proxy.ts`, use `mayAccess(policy, claims, permission, { tenant })` (optimistic, never a decision). Both reach only the acting browser; for other members, add an app-owned signal (Realtime, poll, SSE) that calls `router.refresh()`. Keep the `[org]` layout synchronous and never read `cookies()` outside the private-cached loader. With a slug in the URL (`[orgSlug]`), resolve it to the org id in a `'use cache'` lookup that reads no session, call `notFound()` for an unknown slug, and pass the id to `snapshotFor`, `requirePermission` and `getPermDock`. Export `const { POST, GET } = permdockHandler()` from `app/api/permdock/route.ts`, or pass `endpoint: false` when every client check is portable; then a closure grant read by `usePermission` is denied with reason `server-only` (`permdock doctor` PD044 warns). Guide: [Next.js Cache Components](https://permdock.com/docs/guides/next-cache-components).
44
46
 
@@ -1 +0,0 @@
1
- export { t as catalogFile, n as runCatalog } from "./catalog-BJu0A15r.js";
@@ -1 +0,0 @@
1
- export { r as runCollect } from "./collect-D3ToPa6Z.js";
@@ -1,2 +0,0 @@
1
- export { t as buildInstance } from "./from-snapshot-CdGYjHUg.js";
2
- import "./evaluator-BvRk9kiK.js";
@@ -1 +0,0 @@
1
- export { n as runPowerSync } from "./powersync-BUUqJfH2.js";
@@ -1 +0,0 @@
1
- export { n as runCloudPull } from "./pull-4Yi8zYeU.js";
@@ -1 +0,0 @@
1
- export { t as run } from "./run-BXmJIjRA.js";
@@ -1 +0,0 @@
1
- export { i as runSupabase } from "./supabase-hook-Cb3UZpGC.js";
@@ -1 +0,0 @@
1
- export { t as runUsage } from "./usage-B6sQwycY.js";
@@ -1 +0,0 @@
1
- export { i as watchCollect } from "./watch-CR2ZIT_5.js";
@@ -1,8 +1,8 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { a as getResource, c as listPermissions, h as formerKeys } from "./permission-registry-B8tYxPIt.js";
3
3
  import { r as findRole, s as listRoles } from "./vocabulary-BuYFWeCU.js";
4
- import { i as wireValidity } from "./validity-IcjQSR7I.js";
5
4
  import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
5
+ import { i as wireValidity } from "./validity-IcjQSR7I.js";
6
6
  import { t as byCodePoint } from "./compare-DTfyUunF.js";
7
7
  import { t as catalogFingerprint } from "./catalog-fingerprint-e6aCWosn.js";
8
8
  import { t as catalogSchema } from "./schema-BlnU_TzE.js";
@@ -5,8 +5,8 @@ import { c as listPermissions, h as formerKeys } from "./permission-registry-B8t
5
5
  import { o as flattenGrantee } from "./grantee-OG4klcNr.js";
6
6
  import { g as secondsOf, l as isRfc3339, m as rfc3339, p as nowSeconds } from "./time-nR1JesoH.js";
7
7
  import { r as isId, t as idList } from "./ids-DzhJaCUj.js";
8
- import { n as coveredByDelegation } from "./delegation-CrdqnesZ.js";
9
8
  import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
9
+ import { n as coveredByDelegation } from "./delegation-CrdqnesZ.js";
10
10
  import { r as sha256Digest } from "./sha256-C-4WXKIu.js";
11
11
  import { n as internalsOf } from "./internals-B3IgHrvo.js";
12
12
  import { t as anonymousSubject } from "./subject-C7RddW0G.js";
@@ -6,10 +6,10 @@ import { d as isSelfParented, l as isFieldRelation } from "./resource-relations-
6
6
  import { s as listRoles } from "./vocabulary-BuYFWeCU.js";
7
7
  import { o as flattenGrantee, r as asGrantee } from "./grantee-OG4klcNr.js";
8
8
  import { n as defineScopes, s as resolveScope } from "./scopes-gdH__vDZ.js";
9
+ import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
9
10
  import { a as relationStart, i as relationHops, n as isGraphRelation, t as inheritCondition } from "./grantee-conditions-Dzprappv.js";
10
11
  import { n as normalizeValidity } from "./validity-IcjQSR7I.js";
11
12
  import { a as memberOfFields, p as scopeField, u as relatesTo } from "./tenancy-BlxY5T0q.js";
12
- import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
13
13
  import { r as sha256Digest } from "./sha256-C-4WXKIu.js";
14
14
  import { i as assertApprovalVersions, r as assertApprovalRelations } from "./approval-normalize-KfhzpD93.js";
15
15
  import { t as byCodePoint } from "./compare-DTfyUunF.js";