permdock 0.36.0 → 0.37.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 (306) 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-sufK4R53.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-rYG2UY9k.js → arazzo-BxtTsEK2.js} +2 -2
  13. package/dist/{arazzo-BRWgVc8j.js → arazzo-D0ctRNBU.js} +1 -1
  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-LCaE48SK.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-CMEY_GT4.js} +1 -1
  31. package/dist/{casbin-Cz8BGXHW.js → casbin-CkLvGuUb.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-N4IUVluH.js} +1 -1
  66. package/dist/{codemod-BPcxGOlq.js → codemod-C9SQqhNG.js} +4 -4
  67. package/dist/{codemod-Lov9764v.js → codemod-D5a5oDJX.js} +1 -1
  68. package/dist/compile/index.d.ts +1 -1
  69. package/dist/{compile-EtZv2wc0.js → compile-BFV2WG67.js} +2 -2
  70. package/dist/{compile-CyUn58lf.d.ts → compile-CFV4wDo9.d.ts} +2 -2
  71. package/dist/{completion-5Y8toe1d.js → completion-BUWG1FGo.js} +1 -1
  72. package/dist/{config-DfbiV554.js → config-B3Bc6Tly.js} +1 -1
  73. package/dist/{config-report-Cs6iDebE.js → config-report-3IhYuH4v.js} +1 -1
  74. package/dist/{context-CFPsmfPl.js → context-CNI2jibq.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/{define-permdock-ZR0w-Loy.d.ts → define-permdock-8YZPaa9x.d.ts} +6 -6
  86. package/dist/{define-permdock-Dazve5lw.js → define-permdock-B0q7Rg9b.js} +1 -1
  87. package/dist/delivery/index.d.ts +4 -4
  88. package/dist/{denied-text-DgNqDAPH.d.ts → denied-text-u4OC-MYV.d.ts} +1 -1
  89. package/dist/{describe-DEoWvk00.d.ts → describe-DLGEciCs.d.ts} +1 -1
  90. package/dist/{diff-C7zKA7ny.js → diff-BebUlh4Z.js} +1 -1
  91. package/dist/{diff-BABnQ-z0.js → diff-Sxca4_5q.js} +2 -2
  92. package/dist/{doctor-Cm1HDI5s.js → doctor-DP7HwXw_.js} +2 -2
  93. package/dist/{doctor-Chio5Col.js → doctor-DhpDQ5C6.js} +21 -21
  94. package/dist/drizzle/index.d.ts +3 -3
  95. package/dist/elysia/index.d.ts +4 -4
  96. package/dist/elysia/index.js +1 -1
  97. package/dist/{errors-BliKrfmP.d.ts → errors-C35fh_2K.d.ts} +1 -1
  98. package/dist/{evaluations-BYoj5ci6.d.ts → evaluations-BiZYgET4.d.ts} +3 -3
  99. package/dist/eve/index.d.ts +4 -4
  100. package/dist/eve/index.js +2 -2
  101. package/dist/{execute-B_yY9xWV.js → execute-g-nMgY4t.js} +4 -4
  102. package/dist/{explain-CKIqxXSe.js → explain-BrvY9cXX.js} +1 -1
  103. package/dist/{explain-Blkq60Ff.js → explain-CgKGadRa.js} +2 -2
  104. package/dist/express/index.d.ts +4 -4
  105. package/dist/express/index.js +1 -1
  106. package/dist/fastify/index.d.ts +4 -4
  107. package/dist/fastify/index.js +1 -1
  108. package/dist/{fetch-adapter-CdaSVKrt.d.ts → fetch-adapter-CQSxXotl.d.ts} +2 -2
  109. package/dist/{fetch-adapter-DXgza6EM.js → fetch-adapter-dmABnF7F.js} +1 -1
  110. package/dist/{gen-DlJK73v7.js → gen-CTRqv1H2.js} +3 -3
  111. package/dist/gen-D-orrO2e.js +1 -0
  112. package/dist/{gen-kind-C4tERYMw.js → gen-kind-DLnQ-vCe.js} +1 -1
  113. package/dist/{generate-CFqcr3H6.js → generate-DcPnvokU.js} +10 -10
  114. package/dist/{generate-CbLA2WW_.js → generate-dbQzpEqb.js} +3 -3
  115. package/dist/{generate-options-BFAvlJKQ.js → generate-options-4jvPn7w3.js} +5 -5
  116. package/dist/h3/index.d.ts +4 -4
  117. package/dist/h3/index.js +2 -2
  118. package/dist/hono/index.d.ts +4 -4
  119. package/dist/hono/index.js +1 -1
  120. package/dist/{hook-sql-CSUFnRn0.js → hook-sql-3yPtwas6.js} +4 -4
  121. package/dist/{hosted-DZgmEG4b.d.ts → hosted-Cl7q35D-.d.ts} +1 -1
  122. package/dist/{import-B-17dw3B.js → import-DEUiWePf.js} +1 -1
  123. package/dist/{index-Bb2sZq1K.d.ts → index-B1hyWi7O.d.ts} +6 -6
  124. package/dist/{index-Cfg0ED9K.d.ts → index-BtPvYUww.d.ts} +4 -4
  125. package/dist/{index-CT4VKXU-.d.ts → index-D9DsY164.d.ts} +4 -4
  126. package/dist/{index-DBBRSw6r.d.ts → index-DYvFRQle.d.ts} +2 -2
  127. package/dist/{index-CAE_Z53Y.d.ts → index-L6lt50lg.d.ts} +1 -1
  128. package/dist/{index-DY1aJ-K1.d.ts → index-p5y3whIg.d.ts} +4 -4
  129. package/dist/index.d.ts +15 -15
  130. package/dist/index.js +3 -3
  131. package/dist/{init-DRbkPclr.js → init-CUviJnno.js} +3 -3
  132. package/dist/{init-Bg0vS1LV.js → init-DqOKr99S.js} +1 -1
  133. package/dist/{inspect-functions-DLP72IMA.js → inspect-functions-Uv3Ndkty.js} +1 -1
  134. package/dist/{instance-options-D-SLCp4I.d.ts → instance-options-CUNLusL6.d.ts} +1 -1
  135. package/dist/jwt/index.d.ts +4 -4
  136. package/dist/{kernel-CzzmzwLg.js → kernel-yI0nUyuX.js} +3 -3
  137. package/dist/{keys-C-W0yrql.js → keys-CA3SdBHQ.js} +1 -1
  138. package/dist/kysely/index.d.ts +3 -3
  139. package/dist/{lazy-provider-BSHAIpMK.d.ts → lazy-provider-B22nfOsw.d.ts} +1 -1
  140. package/dist/{login-yF-sDNm9.js → login-BMONKzI_.js} +3 -3
  141. package/dist/{login-D6IJk8k1.js → login-mcxQxTAL.js} +1 -1
  142. package/dist/{manifest-DkHIGPoY.js → manifest-tO5SjSGH.js} +39 -39
  143. package/dist/mcp/index.d.ts +8 -8
  144. package/dist/mcp/index.js +2 -2
  145. package/dist/{measure-_VlSPfSY.js → measure-r811lN7F.js} +1 -1
  146. package/dist/{model-r7X_HXyS.js → model-wt3wihiH.js} +1 -1
  147. package/dist/nest/index.d.ts +4 -4
  148. package/dist/nest/index.js +1 -1
  149. package/dist/next/index.d.ts +11 -11
  150. package/dist/next/index.js +3 -3
  151. package/dist/next/plugin.d.ts +1 -1
  152. package/dist/node/index.d.ts +4 -4
  153. package/dist/node/index.js +1 -1
  154. package/dist/openai/index.d.ts +4 -4
  155. package/dist/openai/index.js +3 -3
  156. package/dist/openapi/index.d.ts +2 -2
  157. package/dist/{openapi-D156UqcM.js → openapi-BZHc6R7A.js} +2 -2
  158. package/dist/{openapi-Dcqqja0n.js → openapi-CNWuAQZi.js} +1 -1
  159. package/dist/{openapi-document-CTvHkCXz.js → openapi-document-CHJI74v_.js} +1 -1
  160. package/dist/orpc/index.d.ts +5 -5
  161. package/dist/orpc/index.js +2 -2
  162. package/dist/otel/index.d.ts +3 -3
  163. package/dist/{output-DNbj0_Yi.js → output-Bfc3EpB2.js} +1 -1
  164. package/dist/{ownership-BvKT4DBj.js → ownership-BuQFLjZ5.js} +1 -1
  165. package/dist/{parse-local-manifest-DoLQFkRb.d.ts → parse-local-manifest-BE_R-Ish.d.ts} +1 -1
  166. package/dist/pdp/index.d.ts +3 -3
  167. package/dist/pdp/index.js +1 -1
  168. package/dist/{permdock-DZmr2kJw.js → permdock-CbavFN6u.js} +4 -1
  169. package/dist/{permdock-CHU1LZGq.d.ts → permdock-NJ4-pCZy.d.ts} +2 -2
  170. package/dist/{permissions-DUmypTlO.js → permissions-BPYOb5OB.js} +1 -1
  171. package/dist/{pipeline-BMbLI2Sj.js → pipeline-DW7cy40F.js} +2 -2
  172. package/dist/{plugin-DDPXES4k.d.ts → plugin-YAJ25tft.d.ts} +2 -2
  173. package/dist/{policy-BoUbJ2c0.d.ts → policy-BlOumPY5.d.ts} +1 -1
  174. package/dist/{policy-DekUQ-6v.js → policy-DTk6NZm-.js} +1 -1
  175. package/dist/{policy-bundle-JU4-AFJM.js → policy-bundle-C7Hz9Rrs.js} +3 -3
  176. package/dist/{policy-types-DuM3k5Ao.d.ts → policy-types-CRWqx8qf.d.ts} +7 -2
  177. package/dist/{postgrest-B1bTbVE4.d.ts → postgrest-BGYDQhG1.d.ts} +7 -6
  178. package/dist/{powersync-CpxkK_Lz.js → powersync-CeuhNT0R.js} +1 -1
  179. package/dist/{powersync-cG4lxrzQ.js → powersync-CoP_nlGj.js} +8 -8
  180. package/dist/{powersync-D9ZLDzyv.js → powersync-LpKFefiH.js} +1 -1
  181. package/dist/prisma/index.d.ts +2 -2
  182. package/dist/{protected-action-Dux5RJbA.d.ts → protected-action-BbQb5G_c.d.ts} +5 -5
  183. package/dist/{provider-BSHAIpMK.d.ts → provider-B22nfOsw.d.ts} +1 -1
  184. package/dist/{provider-BfKUBNyV.js → provider-hQFC3b98.js} +1 -1
  185. package/dist/{prune-config-ByigsAkl.js → prune-config-C0uSbf1I.js} +4 -4
  186. package/dist/{pull-4Cyo0uTS.js → pull-A1SkxAyb.js} +1 -1
  187. package/dist/pull-CNMED72E.js +1 -0
  188. package/dist/{pushed-policy-C65TbLtU.d.ts → pushed-policy-B2AXpqRr.d.ts} +1 -1
  189. package/dist/{rbac-BOVyTCI6.js → rbac-Dx88RLxH.js} +1 -1
  190. package/dist/react/index.d.ts +6 -6
  191. package/dist/react/lazy.d.ts +6 -6
  192. package/dist/react/provider-client-lazy.d.ts +1 -1
  193. package/dist/react/provider-client.d.ts +1 -1
  194. package/dist/react-native/index.d.ts +8 -8
  195. package/dist/{rename-Dp47Gs_j.js → rename-RnOp8vDq.js} +1 -1
  196. package/dist/replay-DjZ4I8QN.d.ts +3 -0
  197. package/dist/{request-context-LvIolknK.js → request-context-C9FFFpuH.js} +1 -1
  198. package/dist/resend/index.d.ts +4 -4
  199. package/dist/{resolve-names-B_no27Dh.js → resolve-names-Ch5Ve5l4.js} +1 -1
  200. package/dist/{resolver-CAmmdVAL.js → resolver-C9-dU-SZ.js} +11 -6
  201. package/dist/{rls-DB18scnl.js → rls-CHJbaZxj.js} +7 -7
  202. package/dist/{rls-C816Uuvx.js → rls-DgYAJpVW.js} +3 -3
  203. package/dist/{rls-files-Cp-qzl61.js → rls-files-RZ7PGrzg.js} +1 -1
  204. package/dist/{rls-options-DCLdZaTZ.d.ts → rls-options-BWWTZWjh.d.ts} +1 -1
  205. package/dist/{rpc-CL8lrV5Y.d.ts → rpc-CqKQCBPN.d.ts} +1 -1
  206. package/dist/{rpc-CoClxzcc.js → rpc-RDBrKR7N.js} +1 -1
  207. package/dist/{run-CJhz8BHw.js → run-CbJPONx5.js} +2 -2
  208. package/dist/run-iPVAxorh.js +1 -0
  209. package/dist/{run-ticket-CCRYQNj0.d.ts → run-ticket-BIRal-vH.d.ts} +2 -2
  210. package/dist/{saas-iXqf78G8.js → saas-CHviJgF2.js} +2 -2
  211. package/dist/{scan-DvM-_F8-.js → scan-DjTW-y6E.js} +1 -1
  212. package/dist/{schema-uTRr3B9f.js → schema-DVyxM9xS.js} +1 -1
  213. package/dist/scim/index.d.ts +1 -1
  214. package/dist/seeds/index.d.ts +1 -1
  215. package/dist/{seeds-BZMPfWcC.d.ts → seeds-K00R0810.d.ts} +1 -1
  216. package/dist/server/index.d.ts +11 -11
  217. package/dist/server/index.js +1 -1
  218. package/dist/{server-types-C_Lnc8Ec.d.ts → server-types-CaKNUxdc.d.ts} +8 -8
  219. package/dist/{sink-CoMI_OVw.d.ts → sink-CCirKrLv.d.ts} +2 -2
  220. package/dist/{size-BO7J8M3B.js → size-Dm3777Ev.js} +3 -3
  221. package/dist/{skills-DF_3nX9_.js → skills-BYc8rmHF.js} +1 -1
  222. package/dist/{skills-B5exEJf5.js → skills-BdmjI4D2.js} +1 -1
  223. package/dist/{snapshot-cache-R1lJjYmI.d.ts → snapshot-cache-Dh_owfVu.d.ts} +1 -1
  224. package/dist/{snapshot-size-CJ53OOen.js → snapshot-size-CpdksnSr.js} +1 -1
  225. package/dist/{snapshot-size-BzamcZrn.js → snapshot-size-I_-fxGry.js} +1 -1
  226. package/dist/solid/index.d.ts +5 -5
  227. package/dist/solid-start/index.d.ts +4 -4
  228. package/dist/solid-start/index.js +2 -2
  229. package/dist/{sources-Dp6FQ8np.d.ts → sources-CD1OiqqK.d.ts} +1 -1
  230. package/dist/{src-CYKqpYUM.js → src-10d_jun2.js} +1 -1
  231. package/dist/ssf/index.d.ts +3 -3
  232. package/dist/{standard-webhooks-D2FwHtMX.d.ts → standard-webhooks-CiV4_mv2.d.ts} +2 -2
  233. package/dist/{store-core-D5-cqb6z.d.ts → store-core-fRqdlrep.d.ts} +4 -4
  234. package/dist/{stores-DPUPLu29.d.ts → stores-BXPRg1Ot.d.ts} +5 -5
  235. package/dist/{subject-cache-Bn4oJY_R.d.ts → subject-cache-1EtpGx3y.d.ts} +9 -1
  236. package/dist/supabase/index.d.ts +8 -8
  237. package/dist/supabase/index.js +3 -3
  238. package/dist/supabase/middleware.d.ts +5 -5
  239. package/dist/supabase/middleware.js +3 -3
  240. package/dist/{supabase-Dpy2XE9v.js → supabase-BAuqWNj3.js} +2 -2
  241. package/dist/{supabase-NpHqrRXC.js → supabase-CeJAHqZp.js} +2 -2
  242. package/dist/{supabase-hook-VIpXUHKI.js → supabase-hook-BbwsceID.js} +5 -5
  243. package/dist/supabase-hook-CObLSH20.js +2 -0
  244. package/dist/{supabase-schemas-DA28GP4N.js → supabase-schemas-RG58AMTu.js} +1 -1
  245. package/dist/svelte/index.d.ts +5 -5
  246. package/dist/svelte/runtime.d.ts +3 -3
  247. package/dist/svelte/source.d.ts +5 -5
  248. package/dist/sveltekit/index.d.ts +4 -4
  249. package/dist/sveltekit/index.js +1 -1
  250. package/dist/{table-reads-B5kunhny.js → table-reads--NupdCFw.js} +1 -1
  251. package/dist/{table-reads-4KzGXg9f.js → table-reads-Glf0BHSE.js} +1 -1
  252. package/dist/{tables-BwQvlpS4.js → tables-Dyfviku5.js} +1 -1
  253. package/dist/tanstack-start/index.d.ts +4 -4
  254. package/dist/tanstack-start/index.js +1 -1
  255. package/dist/{tenant-check-CsJkduIb.js → tenant-check-Bfd4hotj.js} +3 -3
  256. package/dist/terminal/index.d.ts +5 -5
  257. package/dist/terminal/index.js +2 -2
  258. package/dist/testing/core.d.ts +1 -1
  259. package/dist/testing/core.js +1 -1
  260. package/dist/testing/fixtures/index.d.ts +3 -3
  261. package/dist/testing/index.d.ts +22 -22
  262. package/dist/testing/index.js +5 -5
  263. package/dist/testing/saas/index.d.ts +3 -3
  264. package/dist/testing/saas/index.js +2 -2
  265. package/dist/testing/saas/permissions.js +1 -1
  266. package/dist/trpc/index.d.ts +5 -5
  267. package/dist/trpc/index.js +2 -2
  268. package/dist/{type-helpers-CsWH9z8p.d.ts → type-helpers-DTlfU9zX.d.ts} +1 -1
  269. package/dist/{types-iwSmOTcK.d.ts → types-BGDafbIK.d.ts} +4 -4
  270. package/dist/{types-BGN3coSe.d.ts → types-BdghnYGo.d.ts} +1 -1
  271. package/dist/{types-Cvfe-G_N.d.ts → types-C1jxMZ4q.d.ts} +2 -2
  272. package/dist/{types-D3GI2B9O.d.ts → types-C2GmBHtC.d.ts} +3 -3
  273. package/dist/{types-CM5GwxiJ.d.ts → types-CAGo84uV.d.ts} +4 -4
  274. package/dist/{types-B23A72BG.d.ts → types-CN3Tk7bb.d.ts} +2 -2
  275. package/dist/{types-CKwI6AT4.d.ts → types-CzAFVtMz.d.ts} +1 -1
  276. package/dist/{types-C8sDUhaF.d.ts → types-Jxy_Ko7f.d.ts} +2 -2
  277. package/dist/{types-BwjOhlgx.d.ts → types-XhEnMpL6.d.ts} +4 -4
  278. package/dist/{types-BRaJxlqL.d.ts → types-ZjPv-GgQ.d.ts} +3 -3
  279. package/dist/{types-config-DYRoZ8Iw.d.ts → types-config-B3eAej9-.d.ts} +2 -2
  280. package/dist/{types-run-CeCrWO0v.d.ts → types-run-sP7yLp61.d.ts} +1 -1
  281. package/dist/unplugin/index.d.ts +1 -1
  282. package/dist/{usage-_9h9jQo8.js → usage-7Hwk_akY.js} +2 -2
  283. package/dist/usage-Bwl8YAmq.js +1 -0
  284. package/dist/{usage-BD_z4pba.js → usage-nZP7EeRj.js} +1 -1
  285. package/dist/{validation-error-MZ7KLNHt.d.ts → validation-error-OX59FaXR.d.ts} +1 -1
  286. package/dist/{verify-cw6SFoQE.js → verify-DOCJgGlw.js} +5 -5
  287. package/dist/{version-cache-Ccrfu2A4.js → version-cache-l9Zrfvhz.js} +8 -6
  288. package/dist/vue/index.d.ts +5 -5
  289. package/dist/{waiter-DdwtUSzB.d.ts → waiter-CyF-YowB.d.ts} +2 -2
  290. package/dist/{warm-XyQ-2nUR.js → warm-BOrs0-_j.js} +1 -1
  291. package/dist/{warm-znYuJoUZ.d.ts → warm-BYF-zxiy.d.ts} +1 -1
  292. package/dist/{watch-Cvc7eUPk.js → watch-DYsWhTvO.js} +1 -1
  293. package/dist/webmcp/index.d.ts +1 -1
  294. package/dist/workflow/index.d.ts +3 -3
  295. package/dist/workflow/index.js +1 -1
  296. package/dist/workflow-sdk/index.d.ts +4 -4
  297. package/dist/{wrap-B4Ge6LOd.d.ts → wrap-CPvBX9lm.d.ts} +2 -2
  298. package/package.json +2 -2
  299. package/dist/bundle-size-BoG9Jm7c.js +0 -1
  300. package/dist/claims-size-C6oKGuOM.js +0 -1
  301. package/dist/gen-CYuPbpBZ.js +0 -1
  302. package/dist/pull-_ic7Md2h.js +0 -1
  303. package/dist/replay-B__gzUx3.d.ts +0 -3
  304. package/dist/run-PpoUQXDc.js +0 -1
  305. package/dist/supabase-hook-DaK4Rirh.js +0 -2
  306. package/dist/usage-wphGxzPQ.js +0 -1
@@ -2,8 +2,8 @@ import { c as rootScope, d as scopeList, o as normalizeMemberships, s as resolve
2
2
  import { r as supabaseTenantClaim } from "./budget-BH81q2cj.js";
3
3
  import { r as runCollect } from "./collect-Co-w8Eg2.js";
4
4
  import { t as didYouMean } from "./args-BSpXxMnb.js";
5
- import { t as DOCS_BASE } from "./manifest-DkHIGPoY.js";
6
- import { o as nonEmptyOr, r as findingOf } from "./output-DNbj0_Yi.js";
5
+ import { t as DOCS_BASE } from "./manifest-tO5SjSGH.js";
6
+ import { o as nonEmptyOr, r as findingOf } from "./output-Bfc3EpB2.js";
7
7
  import { t as createStyle } from "./style-CQDaLJtP.js";
8
8
  import { i as DOCTOR_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
9
9
  import { a as rel, n as doctorSrcPath, o as sqlFiles$1, r as listSourceFiles } from "./files-DAR51W3J.js";
@@ -11,34 +11,34 @@ import { r as pgConnector } from "./pg-DmS5ITHu.js";
11
11
  import { a as describeError, n as CliError } from "./errors-DgLOqc6j.js";
12
12
  import { S as restatedFacts, _ as workspaceDirs, b as readJson, d as betterSupabaseAuthzVersions, f as betterSupabaseConfig, g as betterSupabaseTenantClaim, h as betterSupabaseInstalled, m as betterSupabaseDefaults, o as readParsedConfig, p as betterSupabaseConfigPath, t as configFileIn, u as BETTER_SUPABASE_AUTHZ_TOPIC, v as filesOf, x as membershipDisagreements, y as nodeFiles } from "./config-Dan6vcvj.js";
13
13
  import { a as loadModule, i as loadConfiguredPolicy, n as asPolicy, s as pickNamed } from "./load-m7jmit3y.js";
14
- import { i as runSkillsInstall } from "./skills-B5exEJf5.js";
14
+ import { i as runSkillsInstall } from "./skills-BdmjI4D2.js";
15
15
  import { i as withSchemaDefaults, n as schemaDefaults, r as schemaTables } from "./schema-tables-Ba9LE_XB.js";
16
- import { a as pd074, c as readSupabaseConfig, i as pd045, l as supabaseConfig, n as resolveSchemas, o as pd127, s as pd136, u as supabaseConfigName } from "./supabase-schemas-DA28GP4N.js";
17
- import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-CSUFnRn0.js";
18
- import { i as pd039, t as hookOut } from "./supabase-hook-VIpXUHKI.js";
16
+ import { a as pd074, c as readSupabaseConfig, i as pd045, l as supabaseConfig, n as resolveSchemas, o as pd127, s as pd136, u as supabaseConfigName } from "./supabase-schemas-RG58AMTu.js";
17
+ import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-3yPtwas6.js";
18
+ import { i as pd039, t as hookOut } from "./supabase-hook-BbwsceID.js";
19
19
  import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
20
20
  import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
21
21
  import { n as bsbActions, t as answerOf } from "./bsb-actions-DcDxQ_Ku.js";
22
22
  import { c as outFiles } from "./output-files-8lfALMSU.js";
23
- import { a as guardedTables, r as unsatisfiedKinds, t as ownershipRules } from "./ownership-BvKT4DBj.js";
23
+ import { a as guardedTables, r as unsatisfiedKinds, t as ownershipRules } from "./ownership-BuQFLjZ5.js";
24
24
  import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-PCJiir_3.js";
25
25
  import { n as membershipColumns, r as tableKey } from "./deciding-columns-DBZsrpdD.js";
26
26
  import { a as parseSqlFile, c as readPolicy$1, d as sqlCalls, f as stringValues, h as sqlStatements, l as readRelation, o as parseSqlLenient, p as group, r as functionArgTypes, s as parseSqlStatements, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
27
27
  import { t as applyFiles } from "./files-DuV7wRim.js";
28
- import { o as splitIgnored } from "./verify-cw6SFoQE.js";
28
+ import { o as splitIgnored } from "./verify-DOCJgGlw.js";
29
29
  import { a as updatedBaseline, i as readBaseline, n as baselineText, t as applyBaseline } from "./baseline-file-BQoki1O_.js";
30
- import { n as activeTenantMismatch, t as authorizationProvider } from "./provider-BfKUBNyV.js";
30
+ import { n as activeTenantMismatch, t as authorizationProvider } from "./provider-hQFC3b98.js";
31
31
  import { r as isRecord } from "./compact-C4LFuqbW.js";
32
32
  import "./authz-topic-D8x24Jv-.js";
33
33
  import { n as activeSource } from "./memberships-CDiSsFTu.js";
34
- import { n as budgetBreaches, r as snapshotProbeOptions, t as breachText } from "./budgets-B2hIDaz7.js";
34
+ import { n as budgetBreaches, r as snapshotProbeOptions, t as breachText } from "./budgets-DFnMBpKz.js";
35
35
  import { a as nameOf, i as lineIndex, o as nodes, r as child, u as walk } from "./ast-CAOxvn9t.js";
36
36
  import { r as parseSync, t as createVisitor } from "./optional-CaQWp9HA.js";
37
37
  import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
38
38
  import { c as jsonSchemaOf, i as catalogOAuthScopes } from "./catalog-doc-BX97oFAn.js";
39
- import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-_9h9jQo8.js";
39
+ import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-7Hwk_akY.js";
40
40
  import { c as listPermissions, h as formerKeys } from "./permission-registry-DstT40VS.js";
41
- import { t as resolveNames } from "./resolve-names-B_no27Dh.js";
41
+ import { t as resolveNames } from "./resolve-names-Ch5Ve5l4.js";
42
42
  import "./markers-C-kThnKN.js";
43
43
  import { i as qualifySqlTable, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
44
44
  import { s as parseCredential } from "./credential-D9in5keC.js";
@@ -51,34 +51,34 @@ import { o as hasConditionOp, u as isSqlFunctionField } from "./refs-Cix9Zjis.js
51
51
  import { o as flattenGrantee } from "./grantee-BSCdpIF3.js";
52
52
  import { u as isPrincipalRelation } from "./resource-relations-Ck5sjYQR.js";
53
53
  import { t as operationCoverage } from "./coverage-C3jVYC9Y.js";
54
- import { a as snapshotSize, r as mostPrivilegedRole, t as SNAPSHOT_BUDGET_BYTES } from "./snapshot-size-CJ53OOen.js";
54
+ import { a as snapshotSize, r as mostPrivilegedRole, t as SNAPSHOT_BUDGET_BYTES } from "./snapshot-size-CpdksnSr.js";
55
55
  import { a as taggedPolicyId, o as taggedPolicyIds } from "./bsb-access-Bcw6GrQm.js";
56
56
  import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
57
- import { a as ownedObjects, i as inReservedDir, o as shownKey, r as generatedByPermdock, s as withoutOwned, t as policyModel } from "./model-r7X_HXyS.js";
58
- import { a as pd114, i as pd110, r as pd109 } from "./claims-size-BUhCWS88.js";
57
+ import { a as ownedObjects, i as inReservedDir, o as shownKey, r as generatedByPermdock, s as withoutOwned, t as policyModel } from "./model-wt3wihiH.js";
58
+ import { a as pd114, i as pd110, r as pd109 } from "./claims-size-ZiUJBn0r.js";
59
59
  import { t as importFromApp } from "./app-peer-BnMh5lqz.js";
60
60
  import { c as rlsReport, o as policiesFor } from "./report-x9GeUvjx.js";
61
61
  import { a as scopeMembershipTable } from "./compile-BUKXrueE.js";
62
- import { a as powersyncOut, c as streamOf, i as powersyncFiles, n as staleFiles, o as roleSources, r as publicationPath, s as scopeSourcesOf } from "./powersync-cG4lxrzQ.js";
62
+ import { a as powersyncOut, c as streamOf, i as powersyncFiles, n as staleFiles, o as roleSources, r as publicationPath, s as scopeSourcesOf } from "./powersync-CoP_nlGj.js";
63
63
  import { t as parseProgram } from "./program-CvarkLMS.js";
64
64
  import { t as FIELD_VIEWS } from "./fields-CKX-qjWb.js";
65
65
  import { n as restatedDefaults } from "./resolve-config-Cu_mE2wt.js";
66
66
  import { n as policyRowConditionKeys } from "./row-conditions-BjARoFLU.js";
67
- import { X as policyBundle, et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-BwQvlpS4.js";
67
+ import { X as policyBundle, et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-Dyfviku5.js";
68
68
  import { n as byKey } from "./compare-8SNJN-9U.js";
69
- import { a as tableFor, n as commandFor, o as unmappedActions, r as compileGrants, t as INFERRED_VERBS } from "./compile-EtZv2wc0.js";
70
- import { p as contextRefs } from "./rbac-BOVyTCI6.js";
69
+ import { a as tableFor, n as commandFor, o as unmappedActions, r as compileGrants, t as INFERRED_VERBS } from "./compile-BFV2WG67.js";
70
+ import { p as contextRefs } from "./rbac-Dx88RLxH.js";
71
71
  import { l as rowConditionMessage, r as ROW_CONDITION_FIX, s as helperTablePolicies } from "./helper-calls-DN1PJcNY.js";
72
72
  import { i as graphSqlName } from "./names-DwGleRKB.js";
73
73
  import { t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
74
74
  import { n as isSeeds } from "./seeds-Bs44UDS3.js";
75
75
  import { r as FIXTURES_PATH, s as seedPathsLine } from "./seed-sql-CjF7u0aX.js";
76
- import { i as buildContext, n as isRefusal, o as inheritTargets, t as generateOptions } from "./generate-options-BFAvlJKQ.js";
76
+ import { i as buildContext, n as isRefusal, o as inheritTargets, t as generateOptions } from "./generate-options-4jvPn7w3.js";
77
77
  import { n as propertyKey } from "./edits-CqU8s2GC.js";
78
78
  import { n as legacyHelperNames, r as retirePlan, t as legacyHelperCalls } from "./retire-FN4aY6-n.js";
79
79
  import { t as supautilsRejections } from "./supautils-ym4X20ig.js";
80
80
  import { t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
81
- import { r as manifestTableReads, s as sharedFunctionsOf, t as committedManifest } from "./table-reads-B5kunhny.js";
81
+ import { r as manifestTableReads, s as sharedFunctionsOf, t as committedManifest } from "./table-reads--NupdCFw.js";
82
82
  import { isDeepStrictEqual } from "node:util";
83
83
  import { readFileSync } from "node:fs";
84
84
  import { dirname, join, resolve } from "node:path";
@@ -1,7 +1,7 @@
1
- import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-DuM3k5Ao.js";
1
+ import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-CRWqx8qf.js";
2
2
  import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-C9F1sU1d.js";
3
- import { p as WhereResult } from "../permdock-CHU1LZGq.js";
4
- import { s as MembershipsMapping } from "../compile-CyUn58lf.js";
3
+ import { p as WhereResult } from "../permdock-NJ4-pCZy.js";
4
+ import { s as MembershipsMapping } from "../compile-CFV4wDo9.js";
5
5
  import { r as RelationsMapping } from "../graph-sql-Ds3nbevr.js";
6
6
  import { SQL, Table } from "drizzle-orm";
7
7
  /**
@@ -1,9 +1,9 @@
1
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
3
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
4
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
5
5
  import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
6
- import { t as ServerAdapterOptions } from "../bind-Caffleoh.js";
6
+ import { t as ServerAdapterOptions } from "../bind-CLvD4iLc.js";
7
7
  import { Elysia } from "elysia";
8
8
  type ElysiaRequestContext = {
9
9
  readonly request: Request;
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { a as socketConnection, i as decorate, r as bindKernel } from "../bind-2Cuy29LS.js";
2
+ import { a as socketConnection, i as decorate, r as bindKernel } from "../bind-BNYcJ1D9.js";
3
3
  import { a as parsedBody, r as hasCredentials } from "../http-C9jDw_bZ.js";
4
4
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
5
5
  import { a as onRevoked, n as closeReason, t as POLICY_VIOLATION } from "../stream-DdF94h7T.js";
@@ -1,4 +1,4 @@
1
- import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-DuM3k5Ao.js";
1
+ import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-CRWqx8qf.js";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  type Disclosure = "hide" | "reveal";
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
- import { a as PermDock } from "./permdock-CHU1LZGq.js";
3
- import { D as Policy } from "./policy-types-DuM3k5Ao.js";
1
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
2
+ import { a as PermDock } from "./permdock-NJ4-pCZy.js";
3
+ import { D as Policy } from "./policy-types-CRWqx8qf.js";
4
4
  /** AuthZEN 1.0 section 7.1.2.1 `options.evaluations_semantic` values. */
5
5
  declare const EVALUATIONS_SEMANTICS: readonly ["execute_all", "deny_on_first_deny", "permit_on_first_permit"];
6
6
  type EvaluationsSemantic = (typeof EVALUATIONS_SEMANTICS)[number];
@@ -1,8 +1,8 @@
1
- import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-D12I1Vkl.js";
2
- import { u as ApprovalRequest } from "../types-BGN3coSe.js";
3
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-BTthKNP0.js";
2
+ import { u as ApprovalRequest } from "../types-BdghnYGo.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 } from "../policy-types-DuM3k5Ao.js";
5
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
6
6
  /** Structural `SessionAuthContext` from `eve`. */
7
7
  type EvePrincipal = {
8
8
  readonly principalId: string;
package/dist/eve/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { t as agentRuntime } from "../create-bbjS7tCW.js";
1
+ import { t as agentRuntime } from "../create-BICq9l-p.js";
2
2
  import { t as boundedMap } from "../lru-Cp-AEvpR.js";
3
3
  import { c as isApprovalError } from "../types-DFZKovb3.js";
4
4
  import { o as resolveApproval } from "../helpers-COh0lLc1.js";
5
- import { u as withApp } from "../permdock-DZmr2kJw.js";
5
+ import { u as withApp } from "../permdock-CbavFN6u.js";
6
6
  import { t as compact } from "../compact-C4LFuqbW.js";
7
7
  // src/eve/create.ts
8
8
  const TOKENS_PER_PROCESS = 1e3;
@@ -1,10 +1,10 @@
1
- import { n as budgetBreaches, t as breachText } from "./budgets-B2hIDaz7.js";
1
+ import { n as budgetBreaches, t as breachText } from "./budgets-DFnMBpKz.js";
2
2
  import { a as suggestion } from "./args-BSpXxMnb.js";
3
3
  import { n as CliError } from "./errors-DgLOqc6j.js";
4
- import { r as runGen } from "./gen-DlJK73v7.js";
4
+ import { r as runGen } from "./gen-CTRqv1H2.js";
5
5
  import { c as requirePolicy } from "./load-m7jmit3y.js";
6
- import { t as projectContext } from "./context-CFPsmfPl.js";
7
- import { r as runGenerate } from "./pipeline-BMbLI2Sj.js";
6
+ import { t as projectContext } from "./context-CNI2jibq.js";
7
+ import { r as runGenerate } from "./pipeline-DW7cy40F.js";
8
8
  import { n as isPermDockPlugin } from "./plugin-MQVfUBUS.js";
9
9
  import { relative, resolve } from "node:path";
10
10
  import { fileURLToPath } from "node:url";
@@ -19,7 +19,7 @@ const explain = defineLeaf({
19
19
  },
20
20
  async run(ctx, { flags, args }) {
21
21
  try {
22
- const { runExplain } = await import("./explain-Blkq60Ff.js");
22
+ const { runExplain } = await import("./explain-CgKGadRa.js");
23
23
  const policy = await requirePolicy(ctx.cwd, given(flags.policy) ?? ctx.config.policy, "set policy in permdock.config.ts or pass --policy");
24
24
  return await runExplain({
25
25
  cwd: ctx.cwd,
@@ -1,6 +1,6 @@
1
1
  import { n as findPermission } from "./permission-registry-DstT40VS.js";
2
- import { t as getPermDock } from "./permdock-DZmr2kJw.js";
3
- import { A as memoryCustomRoleSource } from "./src-CYKqpYUM.js";
2
+ import { t as getPermDock } from "./permdock-CbavFN6u.js";
3
+ import { A as memoryCustomRoleSource } from "./src-10d_jun2.js";
4
4
  import { i as configError } from "./errors-DgLOqc6j.js";
5
5
  import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
6
6
  // src/cli/explain.ts
@@ -1,8 +1,8 @@
1
- import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
3
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
4
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
5
- import { t as ServerAdapterOptions } from "../bind-Caffleoh.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
5
+ import { t as ServerAdapterOptions } from "../bind-CLvD4iLc.js";
6
6
  import { i as toRequest, r as sendResponse } from "../http-BUIYu1Kc.js";
7
7
  import { ErrorRequestHandler, Request, RequestHandler, Response, Router } from "express";
8
8
  type ExpressPermDockOptions<TUser = unknown> = ServerAdapterOptions<Request, TUser>;
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { i as decorate, r as bindKernel } from "../bind-2Cuy29LS.js";
2
+ import { i as decorate, r as bindKernel } from "../bind-BNYcJ1D9.js";
3
3
  import { r as hasCredentials } from "../http-C9jDw_bZ.js";
4
4
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
5
5
  import { n as sendResponse, r as toRequest } from "../http-dNltTpC8.js";
@@ -1,8 +1,8 @@
1
- import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
3
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
4
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
5
- import { t as ServerAdapterOptions } from "../bind-Caffleoh.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
5
+ import { t as ServerAdapterOptions } from "../bind-CLvD4iLc.js";
6
6
  import { FastifyPluginAsync, FastifyReply, FastifyRequest, FastifySchema, FastifyTypeProvider, FastifyTypeProviderDefault, RawRequestDefaultExpression, RawServerDefault, RouteGenericInterface } from "fastify";
7
7
  /** A Fastify-style reply: `code`, `header` and `send`. */
8
8
  type ReplyLike = {
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { i as decorate, r as bindKernel } from "../bind-2Cuy29LS.js";
2
+ import { i as decorate, r as bindKernel } from "../bind-BNYcJ1D9.js";
3
3
  import { c as writeReply, i as headersFrom, n as firstHeader, r as hasCredentials, t as fetchRequest } from "../http-C9jDw_bZ.js";
4
4
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
5
5
  // src/fastify/http.ts
@@ -1,8 +1,8 @@
1
1
  import { a as OperationInput, t as Operation } from "./operations-DaEoGpMV.js";
2
2
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
4
- import { t as ServerAdapterOptions } from "./bind-Caffleoh.js";
5
- import { o as ProtectOptions } from "./server-types-C_Lnc8Ec.js";
4
+ import { t as ServerAdapterOptions } from "./bind-CLvD4iLc.js";
5
+ import { o as ProtectOptions } from "./server-types-CaKNUxdc.js";
6
6
  /**
7
7
  * What `protect` checks: a permission, an operation from `defineOperations`, or
8
8
  * `null` for a route that needs only OAuth scopes.
@@ -1,6 +1,6 @@
1
1
  import { t as compact } from "./compact-C4LFuqbW.js";
2
2
  import { o as isPermission } from "./permission-registry-DstT40VS.js";
3
- import { i as decorate, r as bindKernel } from "./bind-2Cuy29LS.js";
3
+ import { i as decorate, r as bindKernel } from "./bind-BNYcJ1D9.js";
4
4
  import { r as hasCredentials } from "./http-C9jDw_bZ.js";
5
5
  import { t as problemFromError } from "./map-error-DYQbf-3Q.js";
6
6
  import { o as methodNotAllowed } from "./problem-BZB7zPC7.js";
@@ -1,4 +1,4 @@
1
- import { p as clientBundle } from "./permdock-DZmr2kJw.js";
1
+ import { p as clientBundle } from "./permdock-CbavFN6u.js";
2
2
  import { t as loadConfiguredOperations } from "./catalog-operations-BqSsByIE.js";
3
3
  import { i as configError, n as CliError } from "./errors-DgLOqc6j.js";
4
4
  import { n as fileSummary, r as planFiles } from "./files-DuV7wRim.js";
@@ -13,7 +13,7 @@ import { c as listPermissions } from "./permission-registry-DstT40VS.js";
13
13
  import { d as scopeList } from "./scopes-B-KX9EI8.js";
14
14
  import { o as listPlans, s as listRoles } from "./vocabulary-CE2k7s1a.js";
15
15
  import { c as jsonSchemaOf } from "./catalog-doc-BX97oFAn.js";
16
- import { t as resolveNames } from "./resolve-names-B_no27Dh.js";
16
+ import { t as resolveNames } from "./resolve-names-Ch5Ve5l4.js";
17
17
  import { t as DESCRIBE_TITLES } from "./describe-B7EosIKA.js";
18
18
  import { i as schemaExpression } from "./generate-5_kz2309.js";
19
19
  import { existsSync, readFileSync } from "node:fs";
@@ -401,7 +401,7 @@ function modelDigest(model) {
401
401
  return createHash("sha256").update(canonicalJson(model)).digest("base64url");
402
402
  }
403
403
  /**
404
- * `// @generated by permdock generate zod@0.36.0 from policy.ts sha-256:…; do
404
+ * `// @generated by permdock generate zod@0.37.0 from policy.ts sha-256:…; do
405
405
  * not edit`.
406
406
  */
407
407
  function generatedHeader(kind, info) {
@@ -0,0 +1 @@
1
+ export { n as renderKinds } from "./gen-CTRqv1H2.js";
@@ -47,7 +47,7 @@ function kindPlugin(kind, options = {}) {
47
47
  }],
48
48
  emit: async (_task, model, source) => {
49
49
  if (source === void 0) return [];
50
- const { renderKinds } = await import("./gen-CYuPbpBZ.js");
50
+ const { renderKinds } = await import("./gen-D-orrO2e.js");
51
51
  const files = await renderKinds({
52
52
  cwd: source.cwd,
53
53
  config: source.config,
@@ -6,33 +6,33 @@ import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
6
6
  import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
7
7
  import { a as parseSqlFile, f as stringValues, g as statementRanges, l as readRelation, m as splitUndiffed, o as parseSqlLenient, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
8
8
  import { n as loadBsbSql, r as schemaSqlFiles } from "./bsb-access-Bcw6GrQm.js";
9
- import { D as seedSql, F as guardAuthAdminGrants, I as unguardAuthAdminGrants, S as accessSql, T as helpersSql, Z as closureBackfillSql, c as permissionHelpersSql, d as permittedByPermissionHelper, i as tableNames, o as PERMISSION_HELPERS, r as tableNameOf, s as checkName, tt as graphSql, u as permissionKeysHelper } from "./tables-BwQvlpS4.js";
9
+ import { D as seedSql, F as guardAuthAdminGrants, I as unguardAuthAdminGrants, S as accessSql, T as helpersSql, Z as closureBackfillSql, c as permissionHelpersSql, d as permittedByPermissionHelper, i as tableNames, o as PERMISSION_HELPERS, r as tableNameOf, s as checkName, tt as graphSql, u as permissionKeysHelper } from "./tables-Dyfviku5.js";
10
10
  import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
11
- import { a as tableFor, d as pruneIndexTargets, f as readTableIndexFacts, i as inferredCommand, l as indexTargets, r as compileGrants, u as indexesSql } from "./compile-EtZv2wc0.js";
12
- import { a as CANDIDATES, c as rowHelpersSql, i as buildContext, l as rowSetSql, n as isRefusal, o as inheritTargets, r as splitsPart, s as levelKeys, t as generateOptions } from "./generate-options-BFAvlJKQ.js";
11
+ import { a as tableFor, d as pruneIndexTargets, f as readTableIndexFacts, i as inferredCommand, l as indexTargets, r as compileGrants, u as indexesSql } from "./compile-BFV2WG67.js";
12
+ import { a as CANDIDATES, c as rowHelpersSql, i as buildContext, l as rowSetSql, n as isRefusal, o as inheritTargets, r as splitsPart, s as levelKeys, t as generateOptions } from "./generate-options-4jvPn7w3.js";
13
13
  import { t as policyFromCatalog } from "./policy-from-catalog-BohzTN3J.js";
14
- import { t as fetchProjectPolicy } from "./pull-4Cyo0uTS.js";
14
+ import { t as fetchProjectPolicy } from "./pull-A1SkxAyb.js";
15
15
  import { c as requirePolicy } from "./load-m7jmit3y.js";
16
- import { o as nonEmptyOr } from "./output-DNbj0_Yi.js";
16
+ import { o as nonEmptyOr } from "./output-Bfc3EpB2.js";
17
17
  import { i as INDEXES_MARKER, n as GRANTS_MARKER, o as SEEDS_MARKER, t as BACKFILL_MARKER } from "./markers-C-kThnKN.js";
18
18
  import { S as scopeTable, h as memberIdsHelper, i as graphSqlName, r as graphHelper, t as BOOTSTRAP_PERMISSIONS, x as scopeSources, y as permittedIdsHelper } from "./names-DwGleRKB.js";
19
19
  import { a as quoteIdent, c as quoteTable, i as qualified$1, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
20
20
  import { b as idTypeOf, f as subjectIdSql, l as sessionLiveHelperSql, t as SESSION_LIVE_HELPER, u as subjectClaimJsonSql, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
21
- import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, t as grantsLabel, u as approvalsSql } from "./hook-sql-CSUFnRn0.js";
22
- import { i as assignmentSql, n as ownershipSql } from "./ownership-BvKT4DBj.js";
21
+ import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, t as grantsLabel, u as approvalsSql } from "./hook-sql-3yPtwas6.js";
22
+ import { i as assignmentSql, n as ownershipSql } from "./ownership-BuQFLjZ5.js";
23
23
  import { r as rebuildPlan, t as DROPPED_LIST } from "./custom-role-rebuild-QFXiMHqJ.js";
24
24
  import { p as scopeField } from "./tenancy-B5Xxt9Sc.js";
25
- import { c as breakGlassKey, i as rbacScaffold, l as collectGrants, s as breakGlassHolder } from "./rbac-BOVyTCI6.js";
25
+ import { c as breakGlassKey, i as rbacScaffold, l as collectGrants, s as breakGlassHolder } from "./rbac-Dx88RLxH.js";
26
26
  import { t as supautilsRejections } from "./supautils-ym4X20ig.js";
27
27
  import { a as fieldViewsSql, c as ACTOR_MAY_WRITE, d as assemblePolicies, i as fieldViews, l as actorMayWriteCall, m as readOnlyActorPolicies, n as columnGrantSql, o as rowBranches, p as readOnlyActorKinds, r as columnRevokeSql, u as actorMayWriteSql } from "./fields-CKX-qjWb.js";
28
28
  import { l as isFieldRelation } from "./resource-relations-Ck5sjYQR.js";
29
29
  import { c as rootScope } from "./scopes-B-KX9EI8.js";
30
30
  import { o as rootName, r as HELPERS, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
31
- import { n as permissionHoldersSql } from "./resolve-names-B_no27Dh.js";
31
+ import { n as permissionHoldersSql } from "./resolve-names-Ch5Ve5l4.js";
32
32
  import { n as byKey } from "./compare-8SNJN-9U.js";
33
33
  import { i as dateAt } from "./time-r0CKBm57.js";
34
34
  import { _ as writeOutputFiles, a as isSeedsDirectory, d as pgDeltaPath, g as underSchemaDir, h as serviceRel, l as parseSplit, m as seedsMigration, n as dataMigrationFile, p as seedDeltaNote, r as driftOf, u as partPath } from "./output-files-8lfALMSU.js";
35
- import { c as readSupabaseConfig, n as resolveSchemas } from "./supabase-schemas-DA28GP4N.js";
35
+ import { c as readSupabaseConfig, n as resolveSchemas } from "./supabase-schemas-RG58AMTu.js";
36
36
  import { o as sqlFiles } from "./files-DAR51W3J.js";
37
37
  import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
38
38
  import { readFileSync } from "node:fs";
@@ -1,8 +1,8 @@
1
1
  import { t as defineLeaf } from "./command-9GAzSI7E.js";
2
2
  import { n as CliError } from "./errors-DgLOqc6j.js";
3
3
  import { c as generateFlags, f as policyFlag, i as dryRunFlag, n as dbUrl, r as dbUrlFlags, t as checkFlag } from "./flags-DQzNPxg1.js";
4
- import { t as executeGenerate } from "./execute-B_yY9xWV.js";
5
- import { n as receiptRows } from "./pipeline-BMbLI2Sj.js";
4
+ import { t as executeGenerate } from "./execute-g-nMgY4t.js";
5
+ import { n as receiptRows } from "./pipeline-DW7cy40F.js";
6
6
  // src/cli/commands/generate.ts
7
7
  function concurrencyFlag(value) {
8
8
  if (value === void 0 || value === "") return;
@@ -24,7 +24,7 @@ const generate = defineLeaf({
24
24
  const db = await dbUrl(ctx, flags);
25
25
  const policy = flags.policy !== void 0 && flags.policy !== "" ? flags.policy : ctx.config.policy;
26
26
  if (flags.watch) {
27
- const { watchGenerate } = await import("./watch-Cvc7eUPk.js");
27
+ const { watchGenerate } = await import("./watch-DYsWhTvO.js");
28
28
  return watchGenerate(ctx, {
29
29
  ...policy === void 0 ? {} : { policy },
30
30
  only: flags.only,
@@ -16,12 +16,12 @@ import { b as idTypeOf, f as subjectIdSql, g as parseMembershipsFlag, n as USER_
16
16
  import { a as customRolesOn, r as HELPERS, s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
17
17
  import { R as raiseSql, a as interactiveOnlyKeys, c as memoUserSql, g as memoHitList, q as checkSuspension, v as memoizedSetofSql, y as memoizes } from "./interactive-only-CylKSukS.js";
18
18
  import { i as graphSqlName } from "./names-DwGleRKB.js";
19
- import { $ as graphIdsSql, B as apiKeyClaimSql, E as memoReadsSql, H as apiKeyUnlimitedSql, N as tokenScopesPlan, O as TOKEN_SCOPE_ALLOWS, P as memoReadTriggersSql, Q as closureDepths, R as API_KEY_ALLOWS, U as apiKeysPlan, a as tablelessResources, d as permittedByPermissionHelper, et as graphPlan, i as tableNames, j as tokenScopeUnlimitedSql, k as isTokenScopesSetting, n as resolveVias, o as PERMISSION_HELPERS, t as checkSharedTables } from "./tables-BwQvlpS4.js";
20
- import { t as resolveNames } from "./resolve-names-B_no27Dh.js";
21
- import { a as resolveAuthorize, o as assignableRoles, u as roleNames } from "./rbac-BOVyTCI6.js";
22
- import { a as tableFor } from "./compile-EtZv2wc0.js";
19
+ import { $ as graphIdsSql, B as apiKeyClaimSql, E as memoReadsSql, H as apiKeyUnlimitedSql, N as tokenScopesPlan, O as TOKEN_SCOPE_ALLOWS, P as memoReadTriggersSql, Q as closureDepths, R as API_KEY_ALLOWS, U as apiKeysPlan, a as tablelessResources, d as permittedByPermissionHelper, et as graphPlan, i as tableNames, j as tokenScopeUnlimitedSql, k as isTokenScopesSetting, n as resolveVias, o as PERMISSION_HELPERS, t as checkSharedTables } from "./tables-Dyfviku5.js";
20
+ import { t as resolveNames } from "./resolve-names-Ch5Ve5l4.js";
21
+ import { a as resolveAuthorize, o as assignableRoles, u as roleNames } from "./rbac-Dx88RLxH.js";
22
+ import { a as tableFor } from "./compile-BFV2WG67.js";
23
23
  import { r as rebuildPlan, t as DROPPED_LIST } from "./custom-role-rebuild-QFXiMHqJ.js";
24
- import { r as unsatisfiedKinds, t as ownershipRules } from "./ownership-BvKT4DBj.js";
24
+ import { r as unsatisfiedKinds, t as ownershipRules } from "./ownership-BuQFLjZ5.js";
25
25
  // src/cli/rls/custom-role-sync.ts
26
26
  /**
27
27
  * `rls.customRoles.from.sync: 'trigger'`: after-row triggers on the legacy
@@ -1,7 +1,7 @@
1
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
3
- import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
4
- import { a as ProtectTarget, n as FetchAdapterOptions, r as FetchProtect, t as ContextReader } from "../fetch-adapter-CdaSVKrt.js";
1
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
+ import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-CRWqx8qf.js";
4
+ import { a as ProtectTarget, n as FetchAdapterOptions, r as FetchProtect, t as ContextReader } from "../fetch-adapter-CQSxXotl.js";
5
5
  import { EventHandler, H3Event, H3EventContext, Middleware } from "h3";
6
6
  type H3PermDockOptions<TUser = unknown> = FetchAdapterOptions<H3Event, TUser>;
7
7
  /**
package/dist/h3/index.js CHANGED
@@ -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 { t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
2
+ import { i as decorate } from "../bind-BNYcJ1D9.js";
3
+ import { t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
4
4
  // src/h3/create.ts
5
5
  function createPermDock(policy, options) {
6
6
  const adapter = fetchAdapter(policy, options, "h3", (event) => event.req);
@@ -1,9 +1,9 @@
1
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
3
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
4
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
5
5
  import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
6
- import { t as ServerAdapterOptions } from "../bind-Caffleoh.js";
6
+ import { t as ServerAdapterOptions } from "../bind-CLvD4iLc.js";
7
7
  import { Context, Hono, MiddlewareHandler } from "hono";
8
8
  import { SSEMessage, SSEStreamingApi } from "hono/streaming";
9
9
  import { WSEvents } from "hono/ws";
@@ -1,7 +1,7 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
2
  import { t as compact } from "../compact-C4LFuqbW.js";
3
3
  import { r as PermDockRevokedError } from "../errors-DOSkVeTC.js";
4
- import { r as bindKernel } from "../bind-2Cuy29LS.js";
4
+ import { r as bindKernel } from "../bind-BNYcJ1D9.js";
5
5
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
6
6
  import { a as onRevoked, n as closeReason, r as guardIterable, t as POLICY_VIOLATION } from "../stream-DdF94h7T.js";
7
7
  import { Hono } from "hono";
@@ -20,10 +20,10 @@ import { C as tenantTypeOf, S as sqlType, f as subjectIdSql, n as USER_ID_HELPER
20
20
  import { a as customRolesOn, r as HELPERS, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
21
21
  import { G as activeRowSql, N as globalRoleSource, a as interactiveOnlyKeys, q as checkSuspension, t as INTERACTIVE_ALLOWS } from "./interactive-only-CylKSukS.js";
22
22
  import { f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, t as BOOTSTRAP_PERMISSIONS, u as isTeamScope, v as permittedForHelper, y as permittedIdsHelper } from "./names-DwGleRKB.js";
23
- import { G as hookTeamReader, K as hookTeamsHelper, M as tokenScopesOn, O as TOKEN_SCOPE_ALLOWS, R as API_KEY_ALLOWS, V as apiKeyFields, W as HOOK_TEAM_READER, b as ASSIGNMENTS, d as permittedByPermissionHelper, l as permissionKeysForHelper, o as PERMISSION_HELPERS, s as checkName, x as OWNERSHIP } from "./tables-BwQvlpS4.js";
24
- import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-B_no27Dh.js";
25
- import { a as resolveAuthorize, n as hookUri, t as authAdminRead } from "./rbac-BOVyTCI6.js";
26
- import { a as guardedTables, t as ownershipRules } from "./ownership-BvKT4DBj.js";
23
+ import { G as hookTeamReader, K as hookTeamsHelper, M as tokenScopesOn, O as TOKEN_SCOPE_ALLOWS, R as API_KEY_ALLOWS, V as apiKeyFields, W as HOOK_TEAM_READER, b as ASSIGNMENTS, d as permittedByPermissionHelper, l as permissionKeysForHelper, o as PERMISSION_HELPERS, s as checkName, x as OWNERSHIP } from "./tables-Dyfviku5.js";
24
+ import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-Ch5Ve5l4.js";
25
+ import { a as resolveAuthorize, n as hookUri, t as authAdminRead } from "./rbac-Dx88RLxH.js";
26
+ import { a as guardedTables, t as ownershipRules } from "./ownership-BuQFLjZ5.js";
27
27
  import { a as REQUEST_APPROVER_IDS, c as MANAGES, d as checkedManagers, l as MANAGES_FOR, o as approvalChainSql, p as managerEdges, s as APPROVES, u as approvalManagersSql } from "./approval-chain-BEeExHpb.js";
28
28
  import { a as hookMemberships, c as typedSourceUsers, i as entriesSql, l as typedUsers, n as activeSource, o as memberForPlan, r as checkSources, s as positiveInteger, t as activeFromSql } from "./memberships-CDiSsFTu.js";
29
29
  import { r as tableKey, t as decidingColumns } from "./deciding-columns-DBZsrpdD.js";
@@ -1,4 +1,4 @@
1
- import { D as Policy, Fr as Condition, Gn as Grantee, s as ApprovalRequirement } from "./policy-types-DuM3k5Ao.js";
1
+ import { D as Policy, Fr as Condition, Gn as Grantee, s as ApprovalRequirement } from "./policy-types-CRWqx8qf.js";
2
2
  /**
3
3
  * One grant authored in PermDock Cloud; its grantee is a declared role, plan or
4
4
  * relation.
@@ -6,7 +6,7 @@ import { t as applyFiles } from "./files-DuV7wRim.js";
6
6
  import { n as httpRequest } from "./http-BbX_Ou3_.js";
7
7
  import { i as readJsonFile } from "./files-DAR51W3J.js";
8
8
  import { i as schemaExpression, t as emitPermissionsModule } from "./generate-5_kz2309.js";
9
- import { t as validateOpenapi } from "./schema-uTRr3B9f.js";
9
+ import { t as validateOpenapi } from "./schema-DVyxM9xS.js";
10
10
  import { existsSync, readFileSync } from "node:fs";
11
11
  import { resolve } from "node:path";
12
12
  // src/cli/openapi/import.ts
@@ -1,11 +1,11 @@
1
- import { $ as JwtClaims, An as PolicyScopesInput, Ar as Subject, B as SupportAccessOptions, Br as OpaqueCondition, D as Policy, Dr as Membership, En as SinkEvent, F as RoleBinding, Gr as SqlFunctionCondition, I as RoleOptions, Ir as ConditionRef, Jt as ClientBundle, K as CustomRoleContext, Kt as InstanceHandle, N as PolicyVocabulary, Or as Principal, R as SeparationConflict, Sr as CustomRole, T as MembershipFixture, U as VocabularyFromInput, Wr as SqlFunctionArg, Xt as ExpandedSnapshot, Yt as CustomRoleRecord, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ar as Denial, ct as RelationSource, hn as AccessEvent, ht as TenantSettings, in as SnapshotAssignable, ir as Decision, it as MembershipSource, j as PolicyOptions, jn as Scope, k as PolicyDelegation, l as AssuranceRequirement, lt as SettingsSource, o as ApprovalOption, ot as RelationGroup, pn as SnapshotTenants, q as CustomRoleSource, qt as Instant, rn as Snapshot, sr as DenialReason, tn as LocalSnapshotManifest, u as BreakGlassOptions, ut as SnapshotSource, v as GrantCondition, wr as Delegation, xn as DeliveryEvent, yn as DecisionEvent } from "./policy-types-DuM3k5Ao.js";
1
+ import { $ as JwtClaims, An as PolicyScopesInput, Ar as Subject, B as SupportAccessOptions, Br as OpaqueCondition, D as Policy, Dr as Membership, En as SinkEvent, F as RoleBinding, Gr as SqlFunctionCondition, I as RoleOptions, Ir as ConditionRef, Jt as ClientBundle, K as CustomRoleContext, Kt as InstanceHandle, N as PolicyVocabulary, Or as Principal, R as SeparationConflict, Sr as CustomRole, T as MembershipFixture, U as VocabularyFromInput, Wr as SqlFunctionArg, Xt as ExpandedSnapshot, Yt as CustomRoleRecord, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ar as Denial, ct as RelationSource, hn as AccessEvent, ht as TenantSettings, in as SnapshotAssignable, ir as Decision, it as MembershipSource, j as PolicyOptions, jn as Scope, k as PolicyDelegation, l as AssuranceRequirement, lt as SettingsSource, o as ApprovalOption, ot as RelationGroup, pn as SnapshotTenants, q as CustomRoleSource, qt as Instant, rn as Snapshot, sr as DenialReason, tn as LocalSnapshotManifest, u as BreakGlassOptions, ut as SnapshotSource, v as GrantCondition, wr as Delegation, xn as DeliveryEvent, yn as DecisionEvent } from "./policy-types-CRWqx8qf.js";
2
2
  import { A as ResourceInit, B as ResourceXTree, D as PermissionsOf, E as PermissionTree, F as ResourceOptions, I as ResourceParent, N as ResourceMeta, O as PermissionsOptions, P as ResourceNode, R as ResourceRelationInput, T as PermissionKind, a as RoleTree, g as ActionMeta, h as ActionList, r as Role, w as Permission, z as ResourceRestricted } from "./vocabulary-DHfKPIC5.js";
3
- import { a as PermDock } from "./permdock-CHU1LZGq.js";
4
- import { o as PolicyDocument } from "./hosted-DZgmEG4b.js";
5
- import { n as PermDockWrap } from "./wrap-B4Ge6LOd.js";
6
- import { l as VersionStore, s as VersionCache } from "./subject-cache-Bn4oJY_R.js";
3
+ import { a as PermDock } from "./permdock-NJ4-pCZy.js";
4
+ import { o as PolicyDocument } from "./hosted-Cl7q35D-.js";
5
+ import { n as PermDockWrap } from "./wrap-CPvBX9lm.js";
6
+ import { l as VersionStore, s as VersionCache } from "./subject-cache-1EtpGx3y.js";
7
7
  import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
8
- import { i as CatalogEventData, s as CloudEvent } from "./sink-CoMI_OVw.js";
8
+ import { i as CatalogEventData, s as CloudEvent } from "./sink-CCirKrLv.js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  type KnownRefField = "id" | "issuer" | "kind" | "tenant" | "team" | "roles" | "plans" | "memberships" | "assurance" | "binding" | "session" | "claims";
11
11
  type SubjectRef = ConditionRef & { readonly [K in KnownRefField]: SubjectRef; } & {
@@ -1,8 +1,8 @@
1
- import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Tt as SupportSession, _t as TokenSigner, gn as AuthEvent, gt as TokenFailureCause, ir as Decision, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
2
- import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-C_Lnc8Ec.js";
1
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Tt as SupportSession, _t as TokenSigner, gn as AuthEvent, gt as TokenFailureCause, ir as Decision, vt as TokenVerifier } from "./policy-types-CRWqx8qf.js";
2
+ import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-CaKNUxdc.js";
3
3
  import { E as PermissionTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
4
- import { v as PrincipalSource } from "./permdock-CHU1LZGq.js";
5
- import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-BliKrfmP.js";
4
+ import { v as PrincipalSource } from "./permdock-NJ4-pCZy.js";
5
+ import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-C35fh_2K.js";
6
6
  /**
7
7
  * The Fetch factory behind every HTTP adapter. The subject and actor are
8
8
  * resolved once per `Request`; one instance is cached per `(Request, tenant)`,
@@ -1,10 +1,10 @@
1
- import { a as PermDock, v as PrincipalSource } from "./permdock-CHU1LZGq.js";
1
+ import { a as PermDock, v as PrincipalSource } from "./permdock-NJ4-pCZy.js";
2
2
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
4
- import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-D3GI2B9O.js";
5
- import { D as Policy, N as PolicyVocabulary, Or as Principal, X as DecisionSink, bn as DeliveryChannel } from "./policy-types-DuM3k5Ao.js";
4
+ import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-C2GmBHtC.js";
5
+ import { D as Policy, N as PolicyVocabulary, Or as Principal, X as DecisionSink, bn as DeliveryChannel } from "./policy-types-CRWqx8qf.js";
6
6
  import { t as Operation } from "./operations-DaEoGpMV.js";
7
- import { l as WebhookSigner } from "./standard-webhooks-D2FwHtMX.js";
7
+ import { l as WebhookSigner } from "./standard-webhooks-CiV4_mv2.js";
8
8
  type Audience = {
9
9
  /**
10
10
  * Principal ids `decideFor` grants, in discovery or candidate order, each
@@ -1,5 +1,5 @@
1
- import { D as Policy, Or as Principal, _t as TokenSigner } from "./policy-types-DuM3k5Ao.js";
2
- import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-Cvfe-G_N.js";
1
+ import { D as Policy, Or as Principal, _t as TokenSigner } from "./policy-types-CRWqx8qf.js";
2
+ import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-C1jxMZ4q.js";
3
3
  declare function createPermDock<TUser, TPrincipal extends Principal = Principal>(policy: Policy<TUser, TPrincipal>, options: SsfPermDockOptions): SsfPermDock;
4
4
  type PollSetsOptions = {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
2
- import { X as DecisionSink, it as MembershipSource, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
2
+ import { X as DecisionSink, it as MembershipSource, vt as TokenVerifier } from "./policy-types-CRWqx8qf.js";
3
3
  import { K as AppData } from "./vocabulary-DHfKPIC5.js";
4
4
  import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
5
5
  import { t as SqlQuery } from "./sql-BYYNi1lu.js";