permdock 0.35.1 → 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 (339) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +2 -2
  3. package/dist/{adoption-scan-B_jVJgMK.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-CKsNFj_5.js → arazzo-BxtTsEK2.js} +2 -2
  13. package/dist/{arazzo-D-fDq8Dv.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 +23 -14
  21. package/dist/better-supabase/index.js +8 -8
  22. package/dist/{bind-DPptdk31.js → bind-BNYcJ1D9.js} +2 -2
  23. package/dist/{bind-BnrOLyJq.d.ts → bind-CLvD4iLc.d.ts} +7 -7
  24. package/dist/{bsb-access-tags-1oVQZWKp.js → bsb-access-tags-LCaE48SK.js} +1 -1
  25. package/dist/{bsb-action-keys-BfZAwg-9.js → bsb-action-keys-LgveZiHJ.js} +2 -2
  26. package/dist/{bsb-actions-BHiyBxQZ.js → bsb-actions-DcDxQ_Ku.js} +3 -3
  27. package/dist/{budgets-hi-ecgEd.js → budgets-DFnMBpKz.js} +3 -3
  28. package/dist/{build-instance-DZEWYO-A.js → build-instance-BGpABVbM.js} +1 -1
  29. package/dist/bundle-size-CGd8wVIu.js +1 -0
  30. package/dist/{bundle-size-DbXV65Ix.js → bundle-size-Pgm7BB5m.js} +2 -2
  31. package/dist/{capability-BW-vAxJi.d.ts → capability-CsiHf7K3.d.ts} +1 -1
  32. package/dist/{casbin-CWfeuRmI.js → casbin-CMEY_GT4.js} +1 -1
  33. package/dist/{casbin-DqiTIceJ.js → casbin-CkLvGuUb.js} +1 -1
  34. package/dist/catalog/index.d.ts +4 -4
  35. package/dist/{catalog-CBPFyRv7.js → catalog-DYC6wfAj.js} +1 -1
  36. package/dist/{catalog-BExjL94D.js → catalog-SnaPhbZ1.js} +2 -2
  37. package/dist/{catalog-doc-D4g3nyFB.js → catalog-doc-BX97oFAn.js} +1 -1
  38. package/dist/catalog-e6QRd1JP.js +1 -0
  39. package/dist/chat/index.d.ts +1 -1
  40. package/dist/chat/index.js +1 -1
  41. package/dist/chat-sdk/index.d.ts +3 -3
  42. package/dist/claims-size-B0OvYh9z.js +1 -0
  43. package/dist/{claims-size-BUhCWS88.js → claims-size-ZiUJBn0r.js} +42 -8
  44. package/dist/claude-agent/index.d.ts +3 -3
  45. package/dist/claude-agent/index.js +2 -2
  46. package/dist/clerk/index.d.ts +2 -2
  47. package/dist/cli/bin.js +1 -1
  48. package/dist/cli/generate/watch-worker.js +1 -1
  49. package/dist/cli/index.d.ts +6 -6
  50. package/dist/cli/index.js +1 -1
  51. package/dist/cli/plugins/app.d.ts +1 -1
  52. package/dist/cli/plugins/app.js +1 -1
  53. package/dist/cli/plugins/better-supabase.d.ts +1 -1
  54. package/dist/cli/plugins/openapi.d.ts +1 -1
  55. package/dist/cli/plugins/openapi.js +1 -1
  56. package/dist/cli/plugins/powersync.d.ts +1 -1
  57. package/dist/cli/plugins/powersync.js +1 -1
  58. package/dist/cli/plugins/rls.d.ts +2 -2
  59. package/dist/cli/plugins/rls.js +1 -1
  60. package/dist/cli/plugins/schemas.d.ts +1 -1
  61. package/dist/cli/plugins/schemas.js +1 -1
  62. package/dist/cli/plugins/scim.d.ts +2 -2
  63. package/dist/cli/plugins/supabase-hook.d.ts +2 -2
  64. package/dist/cli/plugins/supabase-hook.js +1 -1
  65. package/dist/cli/plugins/supabase.d.ts +3 -3
  66. package/dist/cli/plugins/supabase.js +2 -2
  67. package/dist/cli/plugins/ui.d.ts +1 -1
  68. package/dist/cli/plugins/ui.js +1 -1
  69. package/dist/{client-subject-YAGMzRa-.d.ts → client-subject-DSF0IYGW.d.ts} +2 -2
  70. package/dist/cloud/index.d.ts +8 -8
  71. package/dist/{cloud-CvA_LeOt.js → cloud-N4IUVluH.js} +2 -2
  72. package/dist/{codemod-DduTfuWM.js → codemod-C9SQqhNG.js} +5 -5
  73. package/dist/{codemod-CA0MQoG4.js → codemod-D5a5oDJX.js} +1 -1
  74. package/dist/collect-C2_CKZ09.js +1 -0
  75. package/dist/{collect-Ba7ccZ23.js → collect-CcE8QBtZ.js} +2 -2
  76. package/dist/{collect-CPimbkC5.js → collect-Co-w8Eg2.js} +1 -1
  77. package/dist/compile/index.d.ts +1 -1
  78. package/dist/{compile-D-BULiHE.js → compile-BFV2WG67.js} +6 -6
  79. package/dist/{compile-CoUadQXF.d.ts → compile-CFV4wDo9.d.ts} +2 -2
  80. package/dist/{completion-DXdFnwLY.js → completion-BUWG1FGo.js} +1 -1
  81. package/dist/{config-BWYfHYvW.js → config-B3Bc6Tly.js} +1 -1
  82. package/dist/{config-report-pg-66Bdr.js → config-report-3IhYuH4v.js} +2 -2
  83. package/dist/{context-rioF4fQl.js → context-CNI2jibq.js} +1 -1
  84. package/dist/convex/index.d.ts +4 -4
  85. package/dist/convex/index.js +2 -2
  86. package/dist/{core-DIUrkFNL.js → core-BFR-V5CL.js} +2 -2
  87. package/dist/{core-DCMIztx1.d.ts → core-BOWoKYve.d.ts} +2 -2
  88. package/dist/{create-BRY0OtFV.js → create-BICq9l-p.js} +2 -2
  89. package/dist/{create-T_NqxU31.d.ts → create-BTthKNP0.d.ts} +7 -7
  90. package/dist/{create-iCwrnaFE.d.ts → create-BaKdh-D8.d.ts} +6 -6
  91. package/dist/{create-BMRnaZel.js → create-Dapy8DIK.js} +3 -3
  92. package/dist/{create-BYL8xCJB.d.ts → create-Y6DnNpuP.d.ts} +4 -4
  93. package/dist/{credentials-DzNrCNZY.d.ts → credentials-e872ACwg.d.ts} +2 -2
  94. package/dist/{custom-role-rebuild-wzN8pqDk.js → custom-role-rebuild-QFXiMHqJ.js} +1 -1
  95. package/dist/{define-permdock-Bhye7WSY.d.ts → define-permdock-8YZPaa9x.d.ts} +6 -6
  96. package/dist/{define-permdock-CO7YNrOF.js → define-permdock-B0q7Rg9b.js} +1 -1
  97. package/dist/delivery/index.d.ts +4 -4
  98. package/dist/{denied-text-DgNqDAPH.d.ts → denied-text-u4OC-MYV.d.ts} +1 -1
  99. package/dist/{describe-DEoWvk00.d.ts → describe-DLGEciCs.d.ts} +1 -1
  100. package/dist/{diff-CS8ks9h3.js → diff-BebUlh4Z.js} +1 -1
  101. package/dist/{diff-CkSZF7LO.js → diff-Sxca4_5q.js} +3 -3
  102. package/dist/{doctor-B55XfWdG.js → doctor-DP7HwXw_.js} +2 -2
  103. package/dist/{doctor-Cs0Xl46A.js → doctor-DhpDQ5C6.js} +102 -32
  104. package/dist/drizzle/index.d.ts +3 -3
  105. package/dist/elysia/index.d.ts +4 -4
  106. package/dist/elysia/index.js +1 -1
  107. package/dist/{errors-BliKrfmP.d.ts → errors-C35fh_2K.d.ts} +1 -1
  108. package/dist/{evaluations-CUkSKioS.d.ts → evaluations-BiZYgET4.d.ts} +3 -3
  109. package/dist/eve/index.d.ts +4 -4
  110. package/dist/eve/index.js +2 -2
  111. package/dist/{execute-Vfo2CAhv.js → execute-g-nMgY4t.js} +4 -4
  112. package/dist/{explain-D4ipf8IH.js → explain-BrvY9cXX.js} +1 -1
  113. package/dist/{explain-DISCeeYS.js → explain-CgKGadRa.js} +2 -2
  114. package/dist/express/index.d.ts +4 -4
  115. package/dist/express/index.js +1 -1
  116. package/dist/fastify/index.d.ts +4 -4
  117. package/dist/fastify/index.js +1 -1
  118. package/dist/{fetch-adapter-Ds2-fUUi.d.ts → fetch-adapter-CQSxXotl.d.ts} +2 -2
  119. package/dist/{fetch-adapter-BXQc4NoV.js → fetch-adapter-dmABnF7F.js} +1 -1
  120. package/dist/{fields-CwFej4gp.js → fields-CKX-qjWb.js} +1 -1
  121. package/dist/{gen-M_5UU5Ck.js → gen-CTRqv1H2.js} +4 -4
  122. package/dist/gen-D-orrO2e.js +1 -0
  123. package/dist/{gen-kind-DLz0P-TB.js → gen-kind-DLnQ-vCe.js} +1 -1
  124. package/dist/{generate-CNkkKAL-.js → generate-DcPnvokU.js} +94 -15
  125. package/dist/{generate-GCDLA8vW.js → generate-dbQzpEqb.js} +3 -3
  126. package/dist/{generate-options-O3mVjjcG.js → generate-options-4jvPn7w3.js} +9 -9
  127. package/dist/h3/index.d.ts +4 -4
  128. package/dist/h3/index.js +2 -2
  129. package/dist/{helper-calls-B5MOl99d.js → helper-calls-DN1PJcNY.js} +53 -1
  130. package/dist/hono/index.d.ts +4 -4
  131. package/dist/hono/index.js +1 -1
  132. package/dist/{hook-sql-y0CJBLJr.js → hook-sql-3yPtwas6.js} +283 -13
  133. package/dist/{hosted-DZgmEG4b.d.ts → hosted-Cl7q35D-.d.ts} +1 -1
  134. package/dist/{import-CQSJ6xcN.js → import-DEUiWePf.js} +1 -1
  135. package/dist/{import-Bz6IKoMM.js → import-wBO24zgo.js} +1 -1
  136. package/dist/{index-Cjr8Q-uq.d.ts → index-B1hyWi7O.d.ts} +11 -10
  137. package/dist/{index-ktQ7E4qB.d.ts → index-BtPvYUww.d.ts} +4 -4
  138. package/dist/{index-CWBCzwOp.d.ts → index-D9DsY164.d.ts} +4 -4
  139. package/dist/{index-DBBRSw6r.d.ts → index-DYvFRQle.d.ts} +2 -2
  140. package/dist/{index-CAE_Z53Y.d.ts → index-L6lt50lg.d.ts} +1 -1
  141. package/dist/{index-BOJPdIBk.d.ts → index-p5y3whIg.d.ts} +4 -4
  142. package/dist/index.d.ts +15 -15
  143. package/dist/index.js +3 -3
  144. package/dist/{init-Cfb0VX3T.js → init-CUviJnno.js} +3 -3
  145. package/dist/{init-BucxAxRw.js → init-DqOKr99S.js} +1 -1
  146. package/dist/{inspect-functions-CzrQtRDb.js → inspect-functions-Uv3Ndkty.js} +1 -1
  147. package/dist/{instance-options-DDERlopm.d.ts → instance-options-CUNLusL6.d.ts} +1 -1
  148. package/dist/{interactive-only-Bbq9e61G.js → interactive-only-CylKSukS.js} +1 -1
  149. package/dist/jwt/index.d.ts +4 -4
  150. package/dist/{kernel-DSnWVZ0O.js → kernel-yI0nUyuX.js} +3 -3
  151. package/dist/{keys-BWhAnANj.js → keys-CA3SdBHQ.js} +1 -1
  152. package/dist/kysely/index.d.ts +3 -3
  153. package/dist/{lazy-provider-Clt2095H.d.ts → lazy-provider-B22nfOsw.d.ts} +1 -1
  154. package/dist/{login-CU89mk0U.js → login-BMONKzI_.js} +3 -3
  155. package/dist/{login-qYcM0hKh.js → login-mcxQxTAL.js} +1 -1
  156. package/dist/{manifest-schema-N3v2RVL-.js → manifest-schema-CkROwfT9.js} +1 -1
  157. package/dist/{manifest-Bu9gUrI0.js → manifest-tO5SjSGH.js} +63 -52
  158. package/dist/{manifest-CIWOmdlP.js → manifest-teSfgeqF.js} +1 -1
  159. package/dist/mcp/index.d.ts +8 -8
  160. package/dist/mcp/index.js +2 -2
  161. package/dist/{measure-C_Z0a7B8.js → measure-r811lN7F.js} +2 -2
  162. package/dist/{memberships-CNoAlsma.js → memberships-CDiSsFTu.js} +1 -1
  163. package/dist/{memberships-4e6qi8Uv.js → memberships-DiCbNRny.js} +1 -1
  164. package/dist/{model-BYCtXS_g.js → model-wt3wihiH.js} +2 -2
  165. package/dist/{names-DBxKx2bz.js → names-DwGleRKB.js} +3 -3
  166. package/dist/nest/index.d.ts +4 -4
  167. package/dist/nest/index.js +1 -1
  168. package/dist/next/index.d.ts +11 -11
  169. package/dist/next/index.js +3 -3
  170. package/dist/next/plugin.d.ts +1 -1
  171. package/dist/next/plugin.js +1 -1
  172. package/dist/node/index.d.ts +4 -4
  173. package/dist/node/index.js +1 -1
  174. package/dist/openai/index.d.ts +4 -4
  175. package/dist/openai/index.js +3 -3
  176. package/dist/openapi/index.d.ts +2 -2
  177. package/dist/{openapi-DIhS8iHN.js → openapi-BZHc6R7A.js} +100 -5
  178. package/dist/{openapi-ZIlGKUwQ.js → openapi-CNWuAQZi.js} +1 -1
  179. package/dist/{openapi-document-D5IhoJo0.js → openapi-document-CHJI74v_.js} +1 -1
  180. package/dist/orpc/index.d.ts +5 -5
  181. package/dist/orpc/index.js +2 -2
  182. package/dist/otel/index.d.ts +3 -3
  183. package/dist/{output-DIjUJioq.js → output-Bfc3EpB2.js} +1 -1
  184. package/dist/{ownership-Bmt-z0rF.js → ownership-BuQFLjZ5.js} +3 -3
  185. package/dist/{parse-local-manifest-DoLQFkRb.d.ts → parse-local-manifest-BE_R-Ish.d.ts} +1 -1
  186. package/dist/pdp/index.d.ts +3 -3
  187. package/dist/pdp/index.js +1 -1
  188. package/dist/{permdock-JM9TKevZ.js → permdock-CbavFN6u.js} +6 -2
  189. package/dist/{permdock-DkvkGVF0.d.ts → permdock-NJ4-pCZy.d.ts} +7 -5
  190. package/dist/{permissions-xPyAmuXi.js → permissions-BPYOb5OB.js} +1 -1
  191. package/dist/{pipeline-BAGSNnct.js → pipeline-DW7cy40F.js} +2 -2
  192. package/dist/{plugin-DDPXES4k.d.ts → plugin-YAJ25tft.d.ts} +2 -2
  193. package/dist/{policy-BoUbJ2c0.d.ts → policy-BlOumPY5.d.ts} +1 -1
  194. package/dist/{policy-D8RxFeZO.js → policy-DTk6NZm-.js} +1 -1
  195. package/dist/{policy-bundle-DC_xq2R5.js → policy-bundle-C7Hz9Rrs.js} +3 -3
  196. package/dist/{policy-types-DuM3k5Ao.d.ts → policy-types-CRWqx8qf.d.ts} +7 -2
  197. package/dist/{postgrest-B1bTbVE4.d.ts → postgrest-BGYDQhG1.d.ts} +7 -6
  198. package/dist/{powersync-CgCMKvaU.js → powersync-CeuhNT0R.js} +1 -1
  199. package/dist/{powersync-CiQ97gzz.js → powersync-CoP_nlGj.js} +8 -8
  200. package/dist/{powersync-BlfO3_jN.js → powersync-LpKFefiH.js} +1 -1
  201. package/dist/prisma/index.d.ts +2 -2
  202. package/dist/{protected-action-gBxeetqY.d.ts → protected-action-BbQb5G_c.d.ts} +5 -5
  203. package/dist/{provider-Clt2095H.d.ts → provider-B22nfOsw.d.ts} +1 -1
  204. package/dist/{provider-BwqzED5h.js → provider-hQFC3b98.js} +32 -5
  205. package/dist/{prune-config-CbhJ_XvD.js → prune-config-C0uSbf1I.js} +4 -4
  206. package/dist/{pull-DLyCr-7L.js → pull-A1SkxAyb.js} +3 -3
  207. package/dist/pull-CNMED72E.js +1 -0
  208. package/dist/{push-D5so0ptb.js → push-Br0Uz5pT.js} +2 -2
  209. package/dist/{pushed-policy-C65TbLtU.d.ts → pushed-policy-B2AXpqRr.d.ts} +1 -1
  210. package/dist/{rbac-DbyaaNLa.js → rbac-Dx88RLxH.js} +3 -3
  211. package/dist/react/index.d.ts +6 -6
  212. package/dist/react/lazy.d.ts +6 -6
  213. package/dist/react/provider-client-lazy.d.ts +1 -1
  214. package/dist/react/provider-client.d.ts +1 -1
  215. package/dist/react-native/index.d.ts +8 -8
  216. package/dist/{rename-CI6NIF9t.js → rename-RnOp8vDq.js} +2 -2
  217. package/dist/replay-DjZ4I8QN.d.ts +3 -0
  218. package/dist/{report-DF0zUNut.js → report-Dp-ApWVC.js} +1 -1
  219. package/dist/{report-XdCm1y_J.js → report-x9GeUvjx.js} +1 -1
  220. package/dist/{request-context-CqqdiVp4.js → request-context-C9FFFpuH.js} +1 -1
  221. package/dist/resend/index.d.ts +4 -4
  222. package/dist/{resolve-names-BR6PiCrx.js → resolve-names-Ch5Ve5l4.js} +4 -4
  223. package/dist/{resolver-D2c1CcoZ.js → resolver-C9-dU-SZ.js} +30 -14
  224. package/dist/{rls-BfUIMNeV.js → rls-CHJbaZxj.js} +13 -12
  225. package/dist/{rls-CdQW7v9D.js → rls-DgYAJpVW.js} +5 -5
  226. package/dist/{rls-files-68-nKfmG.js → rls-files-RZ7PGrzg.js} +1 -1
  227. package/dist/{rls-options-DCLdZaTZ.d.ts → rls-options-BWWTZWjh.d.ts} +1 -1
  228. package/dist/{row-conditions-DwIJocfQ.js → row-conditions-BjARoFLU.js} +1 -1
  229. package/dist/{rpc-BYFB37KV.d.ts → rpc-CqKQCBPN.d.ts} +1 -1
  230. package/dist/{rpc-BQPa7tLP.js → rpc-RDBrKR7N.js} +1 -1
  231. package/dist/{run-B2Axta4z.js → run-CbJPONx5.js} +2 -2
  232. package/dist/run-iPVAxorh.js +1 -0
  233. package/dist/{run-ticket-CRldclc7.d.ts → run-ticket-BIRal-vH.d.ts} +2 -2
  234. package/dist/{saas-DSeazNrN.js → saas-CHviJgF2.js} +2 -2
  235. package/dist/{scan-DNzOELYT.js → scan-DjTW-y6E.js} +1 -1
  236. package/dist/{schema-CJc23R4a.js → schema-DVyxM9xS.js} +1 -1
  237. package/dist/scim/index.d.ts +1 -1
  238. package/dist/seeds/index.d.ts +1 -1
  239. package/dist/{seeds-BZMPfWcC.d.ts → seeds-K00R0810.d.ts} +1 -1
  240. package/dist/server/index.d.ts +11 -11
  241. package/dist/server/index.js +1 -1
  242. package/dist/{server-types-FkdDSB9h.d.ts → server-types-CaKNUxdc.d.ts} +8 -8
  243. package/dist/{sink-CoMI_OVw.d.ts → sink-CCirKrLv.d.ts} +2 -2
  244. package/dist/{size-CY6rK6l9.js → size-Dm3777Ev.js} +3 -3
  245. package/dist/{skills-TqrLrmuv.js → skills-BYc8rmHF.js} +1 -1
  246. package/dist/{skills-DTpSMQRg.js → skills-BdmjI4D2.js} +1 -1
  247. package/dist/{snapshot-cache-R1lJjYmI.d.ts → snapshot-cache-Dh_owfVu.d.ts} +1 -1
  248. package/dist/{snapshot-size-NklqBKcV.js → snapshot-size-CpdksnSr.js} +1 -1
  249. package/dist/{snapshot-size-D6ixbYvH.js → snapshot-size-I_-fxGry.js} +1 -1
  250. package/dist/solid/index.d.ts +5 -5
  251. package/dist/solid-start/index.d.ts +4 -4
  252. package/dist/solid-start/index.js +2 -2
  253. package/dist/{sources-Dp6FQ8np.d.ts → sources-CD1OiqqK.d.ts} +1 -1
  254. package/dist/{src-BXDohWNO.js → src-10d_jun2.js} +4 -4
  255. package/dist/ssf/index.d.ts +3 -3
  256. package/dist/{standard-webhooks-D2FwHtMX.d.ts → standard-webhooks-CiV4_mv2.d.ts} +2 -2
  257. package/dist/{store-core-aluQ3R1M.d.ts → store-core-fRqdlrep.d.ts} +4 -4
  258. package/dist/{stores-hHICuiQl.d.ts → stores-BXPRg1Ot.d.ts} +5 -5
  259. package/dist/{subject-cache-Bn4oJY_R.d.ts → subject-cache-1EtpGx3y.d.ts} +9 -1
  260. package/dist/supabase/index.d.ts +8 -8
  261. package/dist/supabase/index.js +4 -4
  262. package/dist/supabase/middleware.d.ts +5 -5
  263. package/dist/supabase/middleware.js +3 -3
  264. package/dist/{supabase-MitbozF6.js → supabase-BAuqWNj3.js} +2 -2
  265. package/dist/{supabase-ByhSqBDB.js → supabase-CeJAHqZp.js} +2 -2
  266. package/dist/{supabase-hook-RFLW2YPX.js → supabase-hook-BbwsceID.js} +5 -5
  267. package/dist/supabase-hook-CObLSH20.js +2 -0
  268. package/dist/{supabase-schemas-CVhpyYB6.js → supabase-schemas-RG58AMTu.js} +1 -1
  269. package/dist/{supautils-C85NuESf.js → supautils-ym4X20ig.js} +2 -1
  270. package/dist/svelte/index.d.ts +5 -5
  271. package/dist/svelte/runtime.d.ts +3 -3
  272. package/dist/svelte/source.d.ts +5 -5
  273. package/dist/sveltekit/index.d.ts +4 -4
  274. package/dist/sveltekit/index.js +1 -1
  275. package/dist/{table-reads-D0M_X-pj.js → table-reads--NupdCFw.js} +3 -3
  276. package/dist/{table-reads-Dso5UyeT.js → table-reads-Glf0BHSE.js} +1 -1
  277. package/dist/{tables-DrrGtayG.js → tables-Dyfviku5.js} +4 -4
  278. package/dist/tanstack-start/index.d.ts +4 -4
  279. package/dist/tanstack-start/index.js +1 -1
  280. package/dist/{tenant-check-D6fnfQBP.js → tenant-check-Bfd4hotj.js} +3 -3
  281. package/dist/terminal/index.d.ts +5 -5
  282. package/dist/terminal/index.js +2 -2
  283. package/dist/testing/core.d.ts +1 -1
  284. package/dist/testing/core.js +1 -1
  285. package/dist/testing/fixtures/index.d.ts +3 -3
  286. package/dist/testing/fixtures/index.js +1753 -162
  287. package/dist/testing/index.d.ts +22 -22
  288. package/dist/testing/index.js +6 -6
  289. package/dist/testing/saas/index.d.ts +3 -3
  290. package/dist/testing/saas/index.js +2 -2
  291. package/dist/testing/saas/permissions.js +1 -1
  292. package/dist/trpc/index.d.ts +5 -5
  293. package/dist/trpc/index.js +2 -2
  294. package/dist/{type-helpers-CsWH9z8p.d.ts → type-helpers-DTlfU9zX.d.ts} +1 -1
  295. package/dist/{types-BzsplNgO.d.ts → types-BGDafbIK.d.ts} +4 -4
  296. package/dist/{types-BGN3coSe.d.ts → types-BdghnYGo.d.ts} +1 -1
  297. package/dist/{types-Cvfe-G_N.d.ts → types-C1jxMZ4q.d.ts} +2 -2
  298. package/dist/{types-D3GI2B9O.d.ts → types-C2GmBHtC.d.ts} +3 -3
  299. package/dist/{types-dtDg4goh.d.ts → types-CAGo84uV.d.ts} +4 -4
  300. package/dist/{types-DRMoZjJm.d.ts → types-CN3Tk7bb.d.ts} +2 -2
  301. package/dist/{types-CKwI6AT4.d.ts → types-CzAFVtMz.d.ts} +1 -1
  302. package/dist/{types-CBUYbPwl.d.ts → types-Jxy_Ko7f.d.ts} +2 -2
  303. package/dist/{types-BwjOhlgx.d.ts → types-XhEnMpL6.d.ts} +4 -4
  304. package/dist/{types-D417woMp.d.ts → types-ZjPv-GgQ.d.ts} +3 -3
  305. package/dist/{types-config-DYRoZ8Iw.d.ts → types-config-B3eAej9-.d.ts} +2 -2
  306. package/dist/{types-run-CeCrWO0v.d.ts → types-run-sP7yLp61.d.ts} +1 -1
  307. package/dist/unplugin/index.d.ts +1 -1
  308. package/dist/unplugin/index.js +1 -1
  309. package/dist/{usage-Cv4WDRWv.js → usage-7Hwk_akY.js} +4 -4
  310. package/dist/usage-Bwl8YAmq.js +1 -0
  311. package/dist/{usage-DBaJfCZB.js → usage-nZP7EeRj.js} +1 -1
  312. package/dist/{validation-error-MZ7KLNHt.d.ts → validation-error-OX59FaXR.d.ts} +1 -1
  313. package/dist/{verify-DT9WS_Gm.js → verify-DOCJgGlw.js} +9 -9
  314. package/dist/{version-cache-Ccrfu2A4.js → version-cache-l9Zrfvhz.js} +8 -6
  315. package/dist/vue/index.d.ts +5 -5
  316. package/dist/{waiter-DdwtUSzB.d.ts → waiter-CyF-YowB.d.ts} +2 -2
  317. package/dist/{warm-BZ0ZwSmO.js → warm-BOrs0-_j.js} +1 -1
  318. package/dist/{warm-znYuJoUZ.d.ts → warm-BYF-zxiy.d.ts} +1 -1
  319. package/dist/watch-5WP3ZCcR.js +1 -0
  320. package/dist/{watch-14vng0pg.js → watch-BFDMb5N4.js} +1 -1
  321. package/dist/{watch-DuIAsqFR.js → watch-DYsWhTvO.js} +2 -2
  322. package/dist/webmcp/index.d.ts +1 -1
  323. package/dist/workflow/index.d.ts +3 -3
  324. package/dist/workflow/index.js +1 -1
  325. package/dist/workflow-sdk/index.d.ts +4 -4
  326. package/dist/{wrap-C36-eV-C.d.ts → wrap-CPvBX9lm.d.ts} +2 -2
  327. package/package.json +2 -2
  328. package/schemas/supabase-manifest-v1.json +1 -1
  329. package/dist/bundle-size-BRFeBvuv.js +0 -1
  330. package/dist/catalog-sR0m6x2g.js +0 -1
  331. package/dist/claims-size-C6oKGuOM.js +0 -1
  332. package/dist/collect-CIdE3FGC.js +0 -1
  333. package/dist/gen-vr1udb1p.js +0 -1
  334. package/dist/pull-IQPhpX4y.js +0 -1
  335. package/dist/replay-B__gzUx3.d.ts +0 -3
  336. package/dist/run-CfvcMtPK.js +0 -1
  337. package/dist/supabase-hook-DZk7PV7Z.js +0 -2
  338. package/dist/usage-DOcCnIdW.js +0 -1
  339. package/dist/watch-Be7ja4dL.js +0 -1
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { c as isConditionDate, i as principal, l as isConditionRef, n as context, o as hasConditionOp, s as isCondition, t as claim, u as isSqlFunctionField } from "./refs-Cix9Zjis.js";
2
2
  import { a as deny, m as opaque, n as role, r as allow, t as normalizeAssurance } from "./role-builder-BksM3Q9O.js";
3
- import { A as memoryCustomRoleSource, C as signPolicyDocument, E as approvalPolicies, F as subjectMembershipSource, I as accessOutcome, L as sqlFunction, M as memoryMembershipSource, N as memorySettingsSource, O as memoryApprovalPolicySource, P as memorySnapshotSource, S as runtimeCacheVersionStore, T as stripeEntitlementSource, _ as localSnapshotManifest, a as normalizeMembership, b as simulateArazzo, c as crud, d as snapshotFor, f as assignableFor, g as shadowMode, h as mayAccess, i as decideRoleChange, j as memoryEntitlementSource, k as validateApprovalPolicy, l as readable, m as decideCustomRole, n as toCsvRow, o as normalizeMemberships, p as customRoleSource, r as checkRoleChange, s as resolveScope, t as CSV_COLUMNS, u as writable, v as customRoleRecord, w as memoryRelationSource, x as postgresCacheVersionStore, y as arazzoFindings } from "./src-BXDohWNO.js";
3
+ import { A as memoryCustomRoleSource, C as signPolicyDocument, E as approvalPolicies, F as subjectMembershipSource, I as accessOutcome, L as sqlFunction, M as memoryMembershipSource, N as memorySettingsSource, O as memoryApprovalPolicySource, P as memorySnapshotSource, S as runtimeCacheVersionStore, T as stripeEntitlementSource, _ as localSnapshotManifest, a as normalizeMembership, b as simulateArazzo, c as crud, d as snapshotFor, f as assignableFor, g as shadowMode, h as mayAccess, i as decideRoleChange, j as memoryEntitlementSource, k as validateApprovalPolicy, l as readable, m as decideCustomRole, n as toCsvRow, o as normalizeMemberships, p as customRoleSource, r as checkRoleChange, s as resolveScope, t as CSV_COLUMNS, u as writable, v as customRoleRecord, w as memoryRelationSource, x as postgresCacheVersionStore, y as arazzoFindings } from "./src-10d_jun2.js";
4
4
  import { d as manager, f as user, n as anyOf, o as holder, t as allOf } from "./approvers-BkY_ZfWl.js";
5
5
  import { n as PermDockValidationError } from "./validation-error-CgDOA6VS.js";
6
6
  import { r as requiredPlans } from "./problem-details-EJHcvYCz.js";
@@ -15,7 +15,7 @@ import { t as requiresApproval } from "./approval-required-B-R4Yw3J.js";
15
15
  import { r as sha256Digest } from "./sha256-DFsnyVPo.js";
16
16
  import { t as approvalFingerprint } from "./token-CSljQqzA.js";
17
17
  import { n as parseSnapshot } from "./snapshot-Dzi4LR6n.js";
18
- import { n as getPermDockSync, p as clientBundle, t as getPermDock, v as isGlobalPermission } from "./permdock-JM9TKevZ.js";
18
+ import { n as getPermDockSync, p as clientBundle, t as getPermDock, v as isGlobalPermission } from "./permdock-CbavFN6u.js";
19
19
  import { r as parsePermDockDigest } from "./digest-BaP8bQzX.js";
20
20
  import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockApprovalRequiredError } from "./errors-DOSkVeTC.js";
21
21
  import { t as memoryRevocationFeed } from "./revocations-3jyzniOz.js";
@@ -32,7 +32,7 @@ import { _ as claimsFirst, b as isExternallyManaged, v as composeMemberships, y
32
32
  import { n as memoryLimitStore, t as limits } from "./limits-DpTxX6N4.js";
33
33
  import { t as whoCan } from "./who-can-CIgYpEvy.js";
34
34
  import { a as snapshotFromClaims, i as snapshotClaims, n as signSnapshot } from "./membership-filter-Bz9QX6E9.js";
35
- import { i as instanceCache, n as memorySubjectCache, t as memoryVersionCache } from "./version-cache-Ccrfu2A4.js";
35
+ import { i as instanceCache, n as memorySubjectCache, t as memoryVersionCache } from "./version-cache-l9Zrfvhz.js";
36
36
  import { t as deliveryEvent } from "./delivery-event-D5b9yhaJ.js";
37
37
  import { t as emptySnapshot } from "./snapshot-empty-pKgPDcLd.js";
38
38
  import { t as fromSnapshot } from "./from-snapshot-DZ4D2sLa.js";
@@ -48,7 +48,7 @@ const init = defineLeaf({
48
48
  ...forceFlag
49
49
  },
50
50
  async run(ctx, { flags }) {
51
- const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-BucxAxRw.js"), import("./peer-BWTpSLs2.js")]);
51
+ const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-DqOKr99S.js"), import("./peer-BWTpSLs2.js")]);
52
52
  const agent = await packageManagerOf(ctx.cwd);
53
53
  const selection = {
54
54
  archetype: flags.archetype,
@@ -79,7 +79,7 @@ const presetDecode = defineLeaf({
79
79
  positionals: presetCode,
80
80
  flags: {},
81
81
  async run(_ctx, { args }) {
82
- const { runPreset } = await import("./init-BucxAxRw.js");
82
+ const { runPreset } = await import("./init-DqOKr99S.js");
83
83
  return runPreset("decode", args["code"] ?? "");
84
84
  }
85
85
  });
@@ -87,7 +87,7 @@ const presetUrl = defineLeaf({
87
87
  positionals: presetCode,
88
88
  flags: {},
89
89
  async run(_ctx, { args }) {
90
- const { runPreset } = await import("./init-BucxAxRw.js");
90
+ const { runPreset } = await import("./init-DqOKr99S.js");
91
91
  return runPreset("url", args["code"] ?? "");
92
92
  }
93
93
  });
@@ -1,7 +1,7 @@
1
1
  import { a as decodePreset, g as resolvePreset, i as presetFlags, n as generatePreset, o as encodePreset } from "./preset-BcFDaeqd.js";
2
2
  import { n as CliError } from "./errors-DgLOqc6j.js";
3
3
  import { t as applyFiles } from "./files-DuV7wRim.js";
4
- import { o as nonEmptyOr } from "./output-DIjUJioq.js";
4
+ import { o as nonEmptyOr } from "./output-Bfc3EpB2.js";
5
5
  import { t as addLine } from "./peer-D77JpXe-.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { join } from "node:path";
@@ -1,4 +1,4 @@
1
- import { n as configuredTableReads, o as functionShares } from "./table-reads-D0M_X-pj.js";
1
+ import { n as configuredTableReads, o as functionShares } from "./table-reads--NupdCFw.js";
2
2
  // src/cli/rls/inspect-functions.ts
3
3
  /**
4
4
  * `permdock supabase inspect --functions <pattern>`: for each function the
@@ -1,4 +1,4 @@
1
- import { o as PermDockOptions } from "./permdock-DkvkGVF0.js";
1
+ import { o as PermDockOptions } from "./permdock-NJ4-pCZy.js";
2
2
  type InstanceKey = "memberships" | "relations" | "entitlements" | "customRoles" | "policies" | "approvalPolicies" | "sink" | "limits" | "principals" | "instances";
3
3
  /**
4
4
  * The data sources an adapter passes through to every instance it creates. Each
@@ -8,7 +8,7 @@ import { t as compactMembershipsSql } from "./membership-claim-sql-DGfhIn__.js";
8
8
  import { a as quoteIdent, c as quoteTable, i as qualified, n as declaredArray, o as quoteLiteral, r as helperSchema, s as quoteQualified } from "./quote-LNaBdCGA.js";
9
9
  import { C as tenantTypeOf, a as kindFilterSql, d as subjectClaimSql, f as subjectIdSql, i as keyTenantSql, r as globalKindFilterSql, s as memberVia, u as subjectClaimJsonSql, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
10
10
  import { i as allowEntry, o as rootName, r as HELPERS, s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
11
- import { S as scopeTable, _ as memberRoleOf, h as memberIdsHelper, o as hasMemberFor, x as scopeSources } from "./names-DBxKx2bz.js";
11
+ import { S as scopeTable, _ as memberRoleOf, h as memberIdsHelper, o as hasMemberFor, x as scopeSources } from "./names-DwGleRKB.js";
12
12
  import { n as byKey } from "./compare-8SNJN-9U.js";
13
13
  // src/cli/sql/active.ts
14
14
  function checkActiveRow(label, row) {
@@ -1,7 +1,7 @@
1
- import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BW-vAxJi.js";
2
- import { $ as JwtClaims, Ar as Subject, Or as Principal, _t as TokenSigner, bt as VerifiedToken, gn as AuthEvent, gt as TokenFailureCause, vt as TokenVerifier } from "../policy-types-DuM3k5Ao.js";
3
- import { B as JsonWebKeySet, F as DpopProofResult, G as MappedSubject, H as JwtJwks, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifier, U as JwtPrincipal, V as JwtAlgorithm, W as JwtSubjectOptions, l as ReplayStore, z as JoseTokenVerifierOptions } from "../types-Cvfe-G_N.js";
4
- import { t as memoryReplayStore } from "../replay-B__gzUx3.js";
1
+ import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-CsiHf7K3.js";
2
+ import { $ as JwtClaims, Ar as Subject, Or as Principal, _t as TokenSigner, bt as VerifiedToken, gn as AuthEvent, gt as TokenFailureCause, vt as TokenVerifier } from "../policy-types-CRWqx8qf.js";
3
+ import { B as JsonWebKeySet, F as DpopProofResult, G as MappedSubject, H as JwtJwks, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifier, U as JwtPrincipal, V as JwtAlgorithm, W as JwtSubjectOptions, l as ReplayStore, z as JoseTokenVerifierOptions } from "../types-C1jxMZ4q.js";
4
+ import { t as memoryReplayStore } from "../replay-DjZ4I8QN.js";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  /**
7
7
  * `on('auth')` causes: a verification failure, or one of the three capability
@@ -1,10 +1,10 @@
1
1
  import { l as storedApprovalToken, s as resumeDecision } from "./helpers-COh0lLc1.js";
2
2
  import { n as tenantScope, t as actorFrom } from "./adapter-context-lHq_i_77.js";
3
- import { u as withApp } from "./permdock-JM9TKevZ.js";
4
- import { n as resolveOrNull } from "./build-instance-DZEWYO-A.js";
3
+ import { u as withApp } from "./permdock-CbavFN6u.js";
4
+ import { n as resolveOrNull } from "./build-instance-BGpABVbM.js";
5
5
  import { t as compact } from "./compact-C4LFuqbW.js";
6
6
  import { t as actorMayCallTool } from "./delegation-0DVVomzu.js";
7
- import { n as requestContext, t as buildReportingInstance } from "./request-context-CqqdiVp4.js";
7
+ import { n as requestContext, t as buildReportingInstance } from "./request-context-C9FFFpuH.js";
8
8
  import { n as resourceRef } from "./resource-ref-BiQtFK-I.js";
9
9
  import { n as describe } from "./describe-B7EosIKA.js";
10
10
  import { a as deniedMessage } from "./errors-DOSkVeTC.js";
@@ -24,7 +24,7 @@ const keysRename = defineLeaf({
24
24
  }
25
25
  },
26
26
  async run(ctx, { flags, args }) {
27
- const { runKeysRename } = await import("./rename-CI6NIF9t.js");
27
+ const { runKeysRename } = await import("./rename-RnOp8vDq.js");
28
28
  const migration = given(flags.migration);
29
29
  return runKeysRename({
30
30
  cwd: ctx.cwd,
@@ -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-DkvkGVF0.js";
4
- import { s as MembershipsMapping } from "../compile-CoUadQXF.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
  type KyselySelectQuery = {
7
7
  select: (expr: unknown) => KyselySelectQuery;
@@ -1,4 +1,4 @@
1
- import { n as PermDockProviderProps } from "./types-BzsplNgO.js";
1
+ import { n as PermDockProviderProps } from "./types-BGDafbIK.js";
2
2
  import { ReactElement } from "react";
3
3
  declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
4
4
  export { PermDockProvider as t };
@@ -27,7 +27,7 @@ const login = defineLeaf({
27
27
  }
28
28
  },
29
29
  async run(ctx, { flags }) {
30
- const { runLogin } = await import("./login-qYcM0hKh.js");
30
+ const { runLogin } = await import("./login-mcxQxTAL.js");
31
31
  return runLogin({
32
32
  cwd: ctx.cwd,
33
33
  url: given(flags.url),
@@ -43,7 +43,7 @@ const login = defineLeaf({
43
43
  const logout = defineLeaf({
44
44
  flags: { ...urlFlag },
45
45
  async run(ctx, { flags }) {
46
- const { runLogout } = await import("./login-qYcM0hKh.js");
46
+ const { runLogout } = await import("./login-mcxQxTAL.js");
47
47
  return runLogout({
48
48
  url: given(flags.url),
49
49
  json: ctx.json,
@@ -55,7 +55,7 @@ const logout = defineLeaf({
55
55
  const whoami = defineLeaf({
56
56
  flags: { ...urlFlag },
57
57
  async run(ctx, { flags }) {
58
- const { runWhoami } = await import("./login-qYcM0hKh.js");
58
+ const { runWhoami } = await import("./login-mcxQxTAL.js");
59
59
  return runWhoami({
60
60
  url: given(flags.url),
61
61
  json: ctx.json,
@@ -3,7 +3,7 @@ import { i as postForm, r as parseToken, s as runDeviceFlow } from "./device-f3J
3
3
  import { i as writeCredentials, n as deleteCredentials, r as readCredentials, t as credentialsPath } from "./storage-BhGDhsXm.js";
4
4
  import { n as CliError } from "./errors-DgLOqc6j.js";
5
5
  import { n as httpRequest } from "./http-BbX_Ou3_.js";
6
- import { o as nonEmptyOr } from "./output-DIjUJioq.js";
6
+ import { o as nonEmptyOr } from "./output-Bfc3EpB2.js";
7
7
  import { c as READ_SCOPES, d as issuerMetadata, i as credentialsInsideRepository, l as cloudUrl, n as cliRuntime, r as credentialStorage, s as CLI_CLIENT_ID, t as CREDENTIAL_SERVICE } from "./auth-WHKYWtnS.js";
8
8
  import { n as randomToken, t as pkce } from "./pkce-DdsRBK7n.js";
9
9
  import { spawn } from "node:child_process";
@@ -550,7 +550,7 @@ const supabaseManifestSchema = freezeDeep({
550
550
  },
551
551
  helperName: {
552
552
  type: "string",
553
- pattern: "^(permdock_has(_for)?|permitted_[a-z][a-z0-9_]*_(ids|permission_keys)(_for)?|permitted_[a-z][a-z0-9_]*_users|member_[a-z][a-z0-9_]*_ids(_for|_of)?|permdock_can_assign(_any|_custom_role)?(_for)?|permdock_api_key_allows|permdock_token_scope_allows|permdock_interactive_allows|permdock_actor_may_write|permdock_is_approver|permdock_manages|permdock_user_id|permdock_subject|permdock_approver_for_ids|permdock_managed_user_ids|permdock_request_approver_ids|permdock_bootstrap_permissions|permdock_role_in)$"
553
+ pattern: "^(permdock_has(_for)?|permitted_[a-z][a-z0-9_]*_(ids|permission_keys)(_for)?|permitted_[a-z][a-z0-9_]*_users|member_[a-z][a-z0-9_]*_ids(_for|_of)?|permdock_can_assign(_any|_custom_role)?(_for)?|permdock_api_key_allows|permdock_token_scope_allows|permdock_interactive_allows|permdock_actor_may_write|permdock_is_approver|permdock_manages|permdock_user_id|permdock_subject|permdock_approver_for_ids|permdock_approver_request_ids|permdock_managed_user_ids|permdock_request_approver_ids|permdock_bootstrap_permissions|permdock_role_in)$"
554
554
  },
555
555
  column: {
556
556
  type: "object",
@@ -30,20 +30,20 @@ const SECTIONS = [
30
30
  docs: "init",
31
31
  effects: ["files"],
32
32
  config: false,
33
- load: async () => (await import("./init-Cfb0VX3T.js")).init
33
+ load: async () => (await import("./init-CUviJnno.js")).init
34
34
  }),
35
35
  group("preset", "Decode a preset code, or print its permdock.com/create link", "preset", [leaf("decode", "Print what a preset code holds", {
36
36
  examples: ["permdock preset decode p1AQIDBAc"],
37
37
  docs: "preset",
38
38
  effects: [],
39
39
  config: false,
40
- load: async () => (await import("./init-Cfb0VX3T.js")).presetDecode
40
+ load: async () => (await import("./init-CUviJnno.js")).presetDecode
41
41
  }), leaf("url", "Print the permdock.com/create link that opens a code", {
42
42
  examples: ["permdock preset url p1AQIDBAc"],
43
43
  docs: "preset",
44
44
  effects: [],
45
45
  config: false,
46
- load: async () => (await import("./init-Cfb0VX3T.js")).presetUrl
46
+ load: async () => (await import("./init-CUviJnno.js")).presetUrl
47
47
  })]),
48
48
  group("skills", "Install, update or list the PermDock Agent Skills", "skills", [
49
49
  leaf("install", "Copy the Agent Skills into the agent folders", {
@@ -55,21 +55,21 @@ const SECTIONS = [
55
55
  docs: "skills",
56
56
  effects: ["files"],
57
57
  config: false,
58
- load: async () => (await import("./skills-TqrLrmuv.js")).install
58
+ load: async () => (await import("./skills-BYc8rmHF.js")).install
59
59
  }),
60
60
  leaf("update", "Replace installed skills with this version's", {
61
61
  examples: ["permdock skills update"],
62
62
  docs: "skills",
63
63
  effects: ["files"],
64
64
  config: false,
65
- load: async () => (await import("./skills-TqrLrmuv.js")).update
65
+ load: async () => (await import("./skills-BYc8rmHF.js")).update
66
66
  }),
67
67
  leaf("list", "List the skills and where each is installed", {
68
68
  examples: ["permdock skills list"],
69
69
  docs: "skills",
70
70
  effects: [],
71
71
  config: false,
72
- load: async () => (await import("./skills-TqrLrmuv.js")).list
72
+ load: async () => (await import("./skills-BYc8rmHF.js")).list
73
73
  })
74
74
  ]),
75
75
  leaf("doctor", "Check a PermDock installation and print a fix for each finding", {
@@ -83,7 +83,7 @@ const SECTIONS = [
83
83
  effects: ["files", "database:read"],
84
84
  config: true,
85
85
  findings: true,
86
- load: async () => (await import("./doctor-B55XfWdG.js")).doctor
86
+ load: async () => (await import("./doctor-DP7HwXw_.js")).doctor
87
87
  }),
88
88
  leaf("completion", "Print the shell completion script for bash, zsh or fish", {
89
89
  examples: ["permdock completion zsh > ~/.zfunc/_permdock", "eval \"$(permdock completion bash)\""],
@@ -91,7 +91,7 @@ const SECTIONS = [
91
91
  effects: [],
92
92
  config: false,
93
93
  shellOutput: true,
94
- load: async () => (await import("./completion-DXdFnwLY.js")).completion
94
+ load: async () => (await import("./completion-BUWG1FGo.js")).completion
95
95
  })
96
96
  ]
97
97
  },
@@ -107,14 +107,14 @@ const SECTIONS = [
107
107
  docs: "collect",
108
108
  effects: ["files"],
109
109
  config: true,
110
- load: async () => (await import("./collect-Ba7ccZ23.js")).collect
110
+ load: async () => (await import("./collect-CcE8QBtZ.js")).collect
111
111
  }),
112
112
  leaf("catalog", "Export the catalog as catalog JSON, JSON Schema or Markdown", {
113
113
  examples: ["permdock catalog --out permissions.catalog.json", "permdock catalog --kind markdown"],
114
114
  docs: "catalog",
115
115
  effects: ["files"],
116
116
  config: true,
117
- load: async () => (await import("./catalog-CBPFyRv7.js")).catalog
117
+ load: async () => (await import("./catalog-DYC6wfAj.js")).catalog
118
118
  }),
119
119
  leaf("generate", "Write every plugin's files from the policy", {
120
120
  examples: [
@@ -125,7 +125,7 @@ const SECTIONS = [
125
125
  docs: "generate",
126
126
  effects: ["files"],
127
127
  config: true,
128
- load: async () => (await import("./generate-GCDLA8vW.js")).generate
128
+ load: async () => (await import("./generate-dbQzpEqb.js")).generate
129
129
  }),
130
130
  leaf("usage", "Report unused, ungranted and role-less permissions and conditions on undeclared fields", {
131
131
  examples: ["permdock usage", "permdock usage --fail-on warning"],
@@ -133,35 +133,35 @@ const SECTIONS = [
133
133
  effects: [],
134
134
  config: true,
135
135
  findings: true,
136
- load: async () => (await import("./usage-DBaJfCZB.js")).usage
136
+ load: async () => (await import("./usage-nZP7EeRj.js")).usage
137
137
  }),
138
138
  leaf("diff", "Compare two policies or catalogs; exit 1 on a breaking change", {
139
139
  examples: ["permdock diff main.catalog.json permissions.catalog.json", "permdock diff ./old-policy.ts ./src/policy.ts --impact"],
140
140
  docs: "diff",
141
141
  effects: [],
142
142
  config: true,
143
- load: async () => (await import("./diff-CS8ks9h3.js")).diff
143
+ load: async () => (await import("./diff-BebUlh4Z.js")).diff
144
144
  }),
145
145
  leaf("explain", "Show which grants decide an action for each fixture subject", {
146
146
  examples: ["permdock explain post.update", "permdock explain invoice.send --fixtures ./fixtures.ts --json"],
147
147
  docs: "explain",
148
148
  effects: [],
149
149
  config: true,
150
- load: async () => (await import("./explain-D4ipf8IH.js")).explain
150
+ load: async () => (await import("./explain-BrvY9cXX.js")).explain
151
151
  }),
152
152
  group("snapshot", "Measure the snapshot a role sends to the client", "snapshot", [leaf("size", "Report snapshot bytes by part, raw and gzip", {
153
153
  examples: ["permdock snapshot size", "permdock snapshot size --role admin --tenants 40 --json"],
154
154
  docs: "snapshot",
155
155
  effects: [],
156
156
  config: true,
157
- load: async () => (await import("./size-CY6rK6l9.js")).snapshotSize
157
+ load: async () => (await import("./size-Dm3777Ev.js")).snapshotSize
158
158
  })]),
159
159
  group("bundle", "Measure the client bundle the generated bundle module ships", "bundle", [leaf("size", "Report bundle bytes per role and shared part, raw and gzip", {
160
160
  examples: ["permdock bundle size", "permdock bundle size --budget 32768 --json"],
161
161
  docs: "bundle",
162
162
  effects: [],
163
163
  config: true,
164
- load: async () => (await import("./size-CY6rK6l9.js")).bundleSize
164
+ load: async () => (await import("./size-Dm3777Ev.js")).bundleSize
165
165
  })]),
166
166
  group("roles", "List what each role holds", "roles", [leaf("grants", "List the grants of each role, expanded per permission", {
167
167
  examples: ["permdock roles grants", "permdock roles grants --role admin --json"],
@@ -175,7 +175,7 @@ const SECTIONS = [
175
175
  docs: "keys",
176
176
  effects: ["rewrite", "files"],
177
177
  config: true,
178
- load: async () => (await import("./keys-BWhAnANj.js")).keysRename
178
+ load: async () => (await import("./keys-CA3SdBHQ.js")).keysRename
179
179
  })]),
180
180
  group("policy", "Write the static grants of a policy as a content-addressed bundle", "policy", [leaf("bundle", "Write the policy bundle that rls.staticGrants 'ref' pins by hash", {
181
181
  examples: [
@@ -186,14 +186,14 @@ const SECTIONS = [
186
186
  docs: "policy",
187
187
  effects: ["files"],
188
188
  config: true,
189
- load: async () => (await import("./policy-D8RxFeZO.js")).policyBundle
189
+ load: async () => (await import("./policy-DTk6NZm-.js")).policyBundle
190
190
  })]),
191
191
  group("claims", "Measure the memberships claim of an access token", "claims", [leaf("size", "Report claim bytes, token characters and the budget cut", {
192
192
  examples: ["permdock claims size --memberships 60", "permdock claims size --memberships 11 --roles 3 --json"],
193
193
  docs: "claims",
194
194
  effects: [],
195
195
  config: false,
196
- load: async () => (await import("./size-CY6rK6l9.js")).claimsSize
196
+ load: async () => (await import("./size-Dm3777Ev.js")).claimsSize
197
197
  })]),
198
198
  leaf("config", "Check permdock.config.ts for unknown keys, or print the effective config", {
199
199
  examples: ["permdock config", "permdock config --print"],
@@ -201,7 +201,7 @@ const SECTIONS = [
201
201
  effects: [],
202
202
  config: true,
203
203
  findings: true,
204
- load: async () => (await import("./config-BWYfHYvW.js")).config
204
+ load: async () => (await import("./config-B3Bc6Tly.js")).config
205
205
  })
206
206
  ]
207
207
  },
@@ -214,7 +214,7 @@ const SECTIONS = [
214
214
  docs: "rls",
215
215
  effects: ["files", "database:read"],
216
216
  config: true,
217
- load: async () => (await import("./rls-CdQW7v9D.js")).importPolicies
217
+ load: async () => (await import("./rls-DgYAJpVW.js")).importPolicies
218
218
  }),
219
219
  leaf("verify", "Run the fixtures against the policies, or compare a live database", {
220
220
  examples: [
@@ -226,35 +226,35 @@ const SECTIONS = [
226
226
  effects: ["files", "database:read"],
227
227
  config: true,
228
228
  findings: true,
229
- load: async () => (await import("./rls-CdQW7v9D.js")).verify
229
+ load: async () => (await import("./rls-DgYAJpVW.js")).verify
230
230
  }),
231
231
  leaf("migrate", "Rewrite hand-written policies onto the generated helpers", {
232
232
  examples: ["permdock rls migrate --sql supabase/migrations --dry-run", "permdock rls migrate --sql supabase/migrations"],
233
233
  docs: "rls",
234
234
  effects: ["rewrite", "files"],
235
235
  config: true,
236
- load: async () => (await import("./rls-CdQW7v9D.js")).migrate
236
+ load: async () => (await import("./rls-DgYAJpVW.js")).migrate
237
237
  }),
238
238
  leaf("explain", "Show the tables, membership sources and triggers the SQL binds to", {
239
239
  examples: ["permdock rls explain", "permdock rls explain --db-url-stdin --json"],
240
240
  docs: "rls",
241
241
  effects: ["database:read"],
242
242
  config: true,
243
- load: async () => (await import("./rls-CdQW7v9D.js")).explain
243
+ load: async () => (await import("./rls-DgYAJpVW.js")).explain
244
244
  }),
245
245
  leaf("measure", "Run requests as a user and count version reads, helper times and share keys", {
246
246
  examples: ["permdock rls measure --as <user-id> --local", "permdock rls measure --as <user-id>,<user-id> --tenant <tenant-id> --requests 50 --db-url-stdin"],
247
247
  docs: "rls",
248
248
  effects: ["database:read"],
249
249
  config: true,
250
- load: async () => (await import("./rls-CdQW7v9D.js")).measure
250
+ load: async () => (await import("./rls-DgYAJpVW.js")).measure
251
251
  }),
252
252
  leaf("report", "List each table's policies by command, role, origin and helper calls", {
253
253
  examples: ["permdock rls report", "permdock rls report --local --json"],
254
254
  docs: "rls",
255
255
  effects: ["database:read"],
256
256
  config: true,
257
- load: async () => (await import("./rls-CdQW7v9D.js")).report
257
+ load: async () => (await import("./rls-DgYAJpVW.js")).report
258
258
  })
259
259
  ]),
260
260
  group("supabase", "Generate the Supabase Custom Access Token Hook, or inspect its manifest", "supabase", [leaf("inspect", "Print or write the hook and helper manifest", {
@@ -262,41 +262,52 @@ const SECTIONS = [
262
262
  docs: "supabase",
263
263
  effects: ["files"],
264
264
  config: true,
265
- load: async () => (await import("./supabase-MitbozF6.js")).inspect
265
+ load: async () => (await import("./supabase-BAuqWNj3.js")).inspect
266
266
  })]),
267
267
  group("powersync", "Generate PowerSync Sync Streams from the policy, or verify them", "powersync", [leaf("verify", "Fail on stale streams or a stream that syncs a denied row", {
268
268
  examples: ["permdock powersync verify", "permdock powersync verify --db-url-stdin"],
269
269
  docs: "powersync",
270
270
  effects: ["database:read"],
271
271
  config: true,
272
- load: async () => (await import("./powersync-CgCMKvaU.js")).verify
272
+ load: async () => (await import("./powersync-CeuhNT0R.js")).verify
273
273
  })])
274
274
  ]
275
275
  },
276
276
  {
277
277
  title: "Interop",
278
278
  entries: [
279
- group("openapi", "Emit security into an OpenAPI document, or import one into a definition", "openapi", [leaf("annotate", "Write an operations map from @permission comments or an OpenAPI document", {
280
- examples: ["permdock openapi annotate --routes 'app/**/route.ts'", "permdock openapi annotate --doc openapi.yaml --tenant-path orgId"],
281
- docs: "openapi",
282
- effects: ["files"],
283
- config: true,
284
- findings: true,
285
- load: async () => (await import("./openapi-DIhS8iHN.js")).annotateRoutes
286
- }), leaf("import", "Turn an OpenAPI document into a generated definition", {
287
- examples: ["permdock openapi import --doc openapi.yaml --out src/permissions.generated.ts"],
288
- docs: "openapi",
289
- effects: ["files", "network"],
290
- config: false,
291
- load: async () => (await import("./openapi-DIhS8iHN.js")).importDocument
292
- })]),
279
+ group("openapi", "Emit security into an OpenAPI document, or import one into a definition", "openapi", [
280
+ leaf("emit", "Write security and securitySchemes into an OpenAPI document or an Overlay", {
281
+ examples: ["permdock openapi emit --doc openapi.json --kind overlay --out openapi.overlay.json --check"],
282
+ docs: "openapi",
283
+ effects: ["files"],
284
+ config: true,
285
+ findings: true,
286
+ load: async () => (await import("./openapi-BZHc6R7A.js")).emitDocument
287
+ }),
288
+ leaf("annotate", "Write an operations map from @permission comments or an OpenAPI document", {
289
+ examples: ["permdock openapi annotate --routes 'app/**/route.ts'", "permdock openapi annotate --doc openapi.yaml --tenant-path orgId"],
290
+ docs: "openapi",
291
+ effects: ["files"],
292
+ config: true,
293
+ findings: true,
294
+ load: async () => (await import("./openapi-BZHc6R7A.js")).annotateRoutes
295
+ }),
296
+ leaf("import", "Turn an OpenAPI document into a generated definition", {
297
+ examples: ["permdock openapi import --doc openapi.yaml --out src/permissions.generated.ts"],
298
+ docs: "openapi",
299
+ effects: ["files", "network"],
300
+ config: false,
301
+ load: async () => (await import("./openapi-BZHc6R7A.js")).importDocument
302
+ })
303
+ ]),
293
304
  group("arazzo", "Check Arazzo workflows against the permissions", "arazzo", [leaf("check", "Resolve every Arazzo step to x-permdock-permissions", {
294
305
  examples: ["permdock arazzo check --doc arazzo.json --openapi openapi.json"],
295
306
  docs: "arazzo",
296
307
  effects: [],
297
308
  config: true,
298
309
  findings: true,
299
- load: async () => (await import("./arazzo-D-fDq8Dv.js")).check
310
+ load: async () => (await import("./arazzo-D0ctRNBU.js")).check
300
311
  })]),
301
312
  leaf("scan", "List authorization checks written without PermDock, to adopt it in an existing app", {
302
313
  examples: ["permdock scan", "permdock scan --src app,lib --pattern isBeta"],
@@ -304,7 +315,7 @@ const SECTIONS = [
304
315
  effects: [],
305
316
  config: true,
306
317
  findings: true,
307
- load: async () => (await import("./scan-DNzOELYT.js")).scan
318
+ load: async () => (await import("./scan-DjTW-y6E.js")).scan
308
319
  }),
309
320
  group("casl", "Import CASL rules into a generated module", "casl", [leaf("import", "Turn CASL rules per role into a permissions and policy module", {
310
321
  examples: ["permdock casl import --rules rules.json --out src/permissions.generated.ts"],
@@ -318,7 +329,7 @@ const SECTIONS = [
318
329
  docs: "casbin",
319
330
  effects: ["files"],
320
331
  config: false,
321
- load: async () => (await import("./casbin-CWfeuRmI.js")).casbinImport
332
+ load: async () => (await import("./casbin-CMEY_GT4.js")).casbinImport
322
333
  })])
323
334
  ]
324
335
  },
@@ -330,34 +341,34 @@ const SECTIONS = [
330
341
  docs: "login",
331
342
  effects: ["network", "files"],
332
343
  config: false,
333
- load: async () => (await import("./login-CU89mk0U.js")).login
344
+ load: async () => (await import("./login-BMONKzI_.js")).login
334
345
  }),
335
346
  leaf("logout", "Revoke and delete the stored PermDock Cloud login", {
336
347
  examples: ["permdock logout"],
337
348
  docs: "login",
338
349
  effects: ["network", "files"],
339
350
  config: false,
340
- load: async () => (await import("./login-CU89mk0U.js")).logout
351
+ load: async () => (await import("./login-BMONKzI_.js")).logout
341
352
  }),
342
353
  leaf("whoami", "Print the PermDock Cloud identity the CLI acts as", {
343
354
  examples: ["permdock whoami", "permdock whoami --json"],
344
355
  docs: "login",
345
356
  effects: [],
346
357
  config: false,
347
- load: async () => (await import("./login-CU89mk0U.js")).whoami
358
+ load: async () => (await import("./login-BMONKzI_.js")).whoami
348
359
  }),
349
360
  group("cloud", "Publish to or pull from a PermDock Cloud project", "cloud", [leaf("push", "Publish the catalog, policy and manifest to a Cloud project", {
350
361
  examples: ["permdock cloud push --dry-run", "permdock cloud push --project prj_123"],
351
362
  docs: "cloud",
352
363
  effects: ["network", "cloud:write"],
353
364
  config: true,
354
- load: async () => (await import("./cloud-CvA_LeOt.js")).push
365
+ load: async () => (await import("./cloud-N4IUVluH.js")).push
355
366
  }), leaf("pull", "Write a Cloud project's published catalog and manifest", {
356
367
  examples: ["permdock cloud pull --project prj_123"],
357
368
  docs: "cloud",
358
369
  effects: ["network", "files"],
359
370
  config: true,
360
- load: async () => (await import("./cloud-CvA_LeOt.js")).pull
371
+ load: async () => (await import("./cloud-N4IUVluH.js")).pull
361
372
  })])
362
373
  ]
363
374
  },
@@ -372,7 +383,7 @@ const SECTIONS = [
372
383
  docs: "codemod",
373
384
  effects: ["rewrite"],
374
385
  config: false,
375
- load: async () => (await import("./codemod-DduTfuWM.js")).codemod
386
+ load: async () => (await import("./codemod-C9SQqhNG.js")).codemod
376
387
  })]
377
388
  }
378
389
  ];
@@ -384,7 +395,7 @@ const COMPLETE_LEAF = leaf("__complete", "Print completion candidates for a part
384
395
  config: false,
385
396
  shellOutput: true,
386
397
  hidden: true,
387
- load: async () => (await import("./completion-DXdFnwLY.js")).complete
398
+ load: async () => (await import("./completion-BUWG1FGo.js")).complete
388
399
  });
389
400
  const ROOT = group("permdock", "Collect, export, diff and check the permissions a PermDock policy declares", "", [...SECTIONS.flatMap((section) => section.entries), COMPLETE_LEAF]);
390
401
  /** Each leaf with its path from the root, in manifest order. */
@@ -1,7 +1,7 @@
1
1
  import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
2
2
  import { n as copyJson, t as checkSchema } from "./json-schema-jtX26ydD.js";
3
3
  import { n as PermDockValidationError } from "./validation-error-CgDOA6VS.js";
4
- import { t as supabaseManifestSchema } from "./manifest-schema-N3v2RVL-.js";
4
+ import { t as supabaseManifestSchema } from "./manifest-schema-CkROwfT9.js";
5
5
  // src/supabase/manifest.ts
6
6
  /** Whether the manifest describes a token hook. */
7
7
  function hasTokenHook(manifest) {
@@ -1,14 +1,14 @@
1
- import { $ as JwtClaims, Ar as Subject, D as Policy, Or as Principal, vt as TokenVerifier, wr as Delegation } from "../policy-types-DuM3k5Ao.js";
2
- import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
3
- import { m as ApprovalStore } from "../types-BGN3coSe.js";
1
+ import { $ as JwtClaims, Ar as Subject, D as Policy, Or as Principal, vt as TokenVerifier, wr as Delegation } from "../policy-types-CRWqx8qf.js";
2
+ import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-u4OC-MYV.js";
3
+ import { m as ApprovalStore } from "../types-BdghnYGo.js";
4
4
  import { t as ClientNames } from "../clients-DGcyFDCc.js";
5
- import { t as ApprovalHint } from "../errors-BliKrfmP.js";
6
- import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
5
+ import { t as ApprovalHint } from "../errors-C35fh_2K.js";
6
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
7
7
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
8
8
  import { t as RequestContext } from "../request-context-E3-ps-H_.js";
9
- import { n as PermDockWrap } from "../wrap-C36-eV-C.js";
10
- import { o as OtelWrap } from "../types-DRMoZjJm.js";
11
- import { W as JwtSubjectOptions } from "../types-Cvfe-G_N.js";
9
+ import { n as PermDockWrap } from "../wrap-CPvBX9lm.js";
10
+ import { o as OtelWrap } from "../types-CN3Tk7bb.js";
11
+ import { W as JwtSubjectOptions } from "../types-C1jxMZ4q.js";
12
12
  import { CacheHint, Icon, McpServer, PromptCallback, ReadResourceCallback, ReadResourceTemplateCallback, RegisteredPrompt, RegisteredResource, RegisteredResourceTemplate, RegisteredTool, ResourceMetadata, ResourceTemplate, ScopeChallengeHandler, StandardSchemaWithJSON, ToolAnnotations, ToolCallback, Variables } from "@modelcontextprotocol/server";
13
13
  /**
14
14
  * The verified `AuthInfo` the MCP SDK's bearer auth puts on
package/dist/mcp/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { i as refusalText, n as createAgentKernel } from "../kernel-DSnWVZ0O.js";
2
- import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-JM9TKevZ.js";
1
+ import { i as refusalText, n as createAgentKernel } from "../kernel-yI0nUyuX.js";
2
+ import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-CbavFN6u.js";
3
3
  import { t as clientNameOf } from "../clients-Bb_33pRE.js";
4
4
  import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as delegationFrom, t as authorizationDetailsOf } from "../delegation-input-7Y5Rlja7.js";
@@ -5,8 +5,8 @@ import { r as shareKeyClaimsEligible } from "./share-key-claims-CZGAeVqa.js";
5
5
  import "./sources-C6Id63F8.js";
6
6
  import { i as loadConfiguredPolicy } from "./load-m7jmit3y.js";
7
7
  import { a as quoteIdent } from "./quote-LNaBdCGA.js";
8
- import { n as activeSource } from "./memberships-CNoAlsma.js";
9
- import { n as configuredTableReads } from "./table-reads-D0M_X-pj.js";
8
+ import { n as activeSource } from "./memberships-CDiSsFTu.js";
9
+ import { n as configuredTableReads } from "./table-reads--NupdCFw.js";
10
10
  // src/cli/rls/measure.ts
11
11
  /** Requests per tenant when `--requests` is absent. */
12
12
  const DEFAULT_REQUESTS = 20;
@@ -3,7 +3,7 @@ import { l as scopeChain, s as resolveScope } from "./scopes-B-KX9EI8.js";
3
3
  import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
4
4
  import { o as junctionMembershipSource, u as roleManifest } from "./sources-C6Id63F8.js";
5
5
  import { i as configError } from "./errors-DgLOqc6j.js";
6
- import { _ as memberRoleOf, c as hasPermittedUsers, m as memberForTable, o as hasMemberFor, p as memberForSources } from "./names-DBxKx2bz.js";
6
+ import { _ as memberRoleOf, c as hasPermittedUsers, m as memberForTable, o as hasMemberFor, p as memberForSources } from "./names-DwGleRKB.js";
7
7
  import { a as quoteIdent, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
8
8
  // src/cli/supabase-hook/memberships.ts
9
9
  function memberForPlan(input) {