permdock 0.34.0 → 0.35.1

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 (256) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/{adoption-scan-BPW1eWy5.js → adoption-scan-B_jVJgMK.js} +1 -1
  3. package/dist/agent/index.d.ts +2 -2
  4. package/dist/ai-sdk/index.d.ts +3 -3
  5. package/dist/app/index.d.ts +1 -1
  6. package/dist/{approval-prompt-CJvYBdja.d.ts → approval-prompt-BKxaKtby.d.ts} +1 -1
  7. package/dist/approvals/index.d.ts +3 -3
  8. package/dist/{arazzo-DqzmZG-x.js → arazzo-CKsNFj_5.js} +1 -1
  9. package/dist/{arazzo-BUXKjylF.js → arazzo-D-fDq8Dv.js} +1 -1
  10. package/dist/astro/index.d.ts +4 -4
  11. package/dist/authzen/index.d.ts +6 -6
  12. package/dist/{automation-BqUmdFfe.d.ts → automation-C7WH5XcZ.d.ts} +1 -1
  13. package/dist/better-auth/index.d.ts +1 -1
  14. package/dist/better-supabase/index.d.ts +13 -13
  15. package/dist/better-supabase/index.js +2 -2
  16. package/dist/{bind-Bwk9tt1z.d.ts → bind-BnrOLyJq.d.ts} +7 -7
  17. package/dist/{bsb-access-tags-Nv4nDQ2U.js → bsb-access-tags-1oVQZWKp.js} +2 -2
  18. package/dist/{bsb-action-keys-CYEREFMg.js → bsb-action-keys-BfZAwg-9.js} +1 -1
  19. package/dist/{capability-qoD_jlcI.d.ts → capability-BW-vAxJi.d.ts} +1 -1
  20. package/dist/{casbin-CM9mWO1V.js → casbin-CWfeuRmI.js} +1 -1
  21. package/dist/{casbin-qEW6RfXA.js → casbin-DqiTIceJ.js} +1 -1
  22. package/dist/catalog/index.d.ts +4 -4
  23. package/dist/chat/index.d.ts +1 -1
  24. package/dist/chat-sdk/index.d.ts +3 -3
  25. package/dist/claude-agent/index.d.ts +3 -3
  26. package/dist/clerk/index.d.ts +2 -2
  27. package/dist/cli/bin.js +1 -1
  28. package/dist/cli/generate/watch-worker.js +2 -2
  29. package/dist/cli/index.d.ts +6 -6
  30. package/dist/cli/index.js +2 -2
  31. package/dist/cli/plugins/app.d.ts +1 -1
  32. package/dist/cli/plugins/app.js +1 -1
  33. package/dist/cli/plugins/better-supabase.d.ts +1 -1
  34. package/dist/cli/plugins/openapi.d.ts +1 -1
  35. package/dist/cli/plugins/openapi.js +1 -1
  36. package/dist/cli/plugins/powersync.d.ts +1 -1
  37. package/dist/cli/plugins/powersync.js +1 -1
  38. package/dist/cli/plugins/rls.d.ts +2 -2
  39. package/dist/cli/plugins/rls.js +1 -1
  40. package/dist/cli/plugins/schemas.d.ts +1 -1
  41. package/dist/cli/plugins/schemas.js +1 -1
  42. package/dist/cli/plugins/scim.d.ts +2 -2
  43. package/dist/cli/plugins/supabase-hook.d.ts +2 -2
  44. package/dist/cli/plugins/supabase-hook.js +1 -1
  45. package/dist/cli/plugins/supabase.d.ts +3 -3
  46. package/dist/cli/plugins/supabase.js +2 -2
  47. package/dist/cli/plugins/ui.d.ts +1 -1
  48. package/dist/cli/plugins/ui.js +1 -1
  49. package/dist/{client-subject-Dzo49nco.d.ts → client-subject-YAGMzRa-.d.ts} +2 -2
  50. package/dist/cloud/index.d.ts +8 -8
  51. package/dist/{cloud-CNGblWX0.js → cloud-CvA_LeOt.js} +1 -1
  52. package/dist/{codemod-Dlhxov9D.js → codemod-CA0MQoG4.js} +1 -1
  53. package/dist/{codemod-BtJFcsD7.js → codemod-DduTfuWM.js} +6 -6
  54. package/dist/{collect-CE5wK0AX.js → collect-Ba7ccZ23.js} +1 -1
  55. package/dist/compile/index.d.ts +1 -1
  56. package/dist/{compile-DNgpHgcK.d.ts → compile-CoUadQXF.d.ts} +2 -2
  57. package/dist/{compile-nR1gQhXo.js → compile-D-BULiHE.js} +2 -2
  58. package/dist/{completion-BIN9YXIe.js → completion-DXdFnwLY.js} +1 -1
  59. package/dist/{config-CoYhD6ur.js → config-BWYfHYvW.js} +1 -1
  60. package/dist/{config-7QvEq57a.js → config-Dan6vcvj.js} +2 -2
  61. package/dist/{config-report-D_L1HXDb.js → config-report-pg-66Bdr.js} +1 -1
  62. package/dist/{config-shape-BTojaD-H.js → config-shape-BODqM-rG.js} +1 -1
  63. package/dist/{context-D8tN3SZm.js → context-rioF4fQl.js} +1 -1
  64. package/dist/convex/index.d.ts +4 -4
  65. package/dist/{core-DPuDmlbL.d.ts → core-DCMIztx1.d.ts} +2 -2
  66. package/dist/{create-BKrKxipb.d.ts → create-BYL8xCJB.d.ts} +4 -4
  67. package/dist/{create-CdB9FCZh.d.ts → create-T_NqxU31.d.ts} +7 -7
  68. package/dist/{create-CdbVXh5I.d.ts → create-iCwrnaFE.d.ts} +6 -6
  69. package/dist/{credentials-Dl0-R2aB.d.ts → credentials-DzNrCNZY.d.ts} +2 -2
  70. package/dist/{define-permdock-4IkoNaB3.d.ts → define-permdock-Bhye7WSY.d.ts} +6 -6
  71. package/dist/{definition-options-DO0kIrB9.js → definition-options-DLBlRrPO.js} +1 -8
  72. package/dist/delivery/index.d.ts +4 -4
  73. package/dist/{denied-text-CllTzVJM.d.ts → denied-text-DgNqDAPH.d.ts} +1 -1
  74. package/dist/{describe-FT1oVN_o.d.ts → describe-DEoWvk00.d.ts} +1 -1
  75. package/dist/{doctor-C9lLeLp2.js → doctor-B55XfWdG.js} +2 -2
  76. package/dist/{doctor-Bn5OPJMB.js → doctor-Cs0Xl46A.js} +25 -24
  77. package/dist/drizzle/index.d.ts +3 -3
  78. package/dist/elysia/index.d.ts +4 -4
  79. package/dist/{errors-BGosrHl8.d.ts → errors-BliKrfmP.d.ts} +1 -1
  80. package/dist/{evaluations-CaXNkxTp.d.ts → evaluations-CUkSKioS.d.ts} +3 -3
  81. package/dist/eve/index.d.ts +4 -4
  82. package/dist/{execute-DsHFIBuO.js → execute-Vfo2CAhv.js} +3 -3
  83. package/dist/express/index.d.ts +4 -4
  84. package/dist/fastify/index.d.ts +4 -4
  85. package/dist/{fetch-adapter-Dci9NnyZ.d.ts → fetch-adapter-Ds2-fUUi.d.ts} +2 -2
  86. package/dist/{gen-Fi4GcvIY.js → gen-M_5UU5Ck.js} +2 -2
  87. package/dist/{gen-kind-DR2-to9P.js → gen-kind-DLz0P-TB.js} +1 -1
  88. package/dist/gen-vr1udb1p.js +1 -0
  89. package/dist/{generate-BSD_eI61.js → generate-CNkkKAL-.js} +11 -11
  90. package/dist/{generate-QEHCJSyv.js → generate-GCDLA8vW.js} +3 -3
  91. package/dist/{generate-options-BZ2nqy28.js → generate-options-O3mVjjcG.js} +6 -6
  92. package/dist/h3/index.d.ts +4 -4
  93. package/dist/hono/index.d.ts +4 -4
  94. package/dist/{hook-sql-CbkH78FC.js → hook-sql-y0CJBLJr.js} +7 -7
  95. package/dist/{hosted-BISipW6F.d.ts → hosted-DZgmEG4b.d.ts} +1 -1
  96. package/dist/identity-scopes-CRVAV0HU.js +11 -0
  97. package/dist/{import-DppjSugv.js → import-CQSJ6xcN.js} +1 -1
  98. package/dist/{index-giCl-aQY.d.ts → index-BOJPdIBk.d.ts} +4 -4
  99. package/dist/{index-Co_e22iJ.d.ts → index-CAE_Z53Y.d.ts} +1 -1
  100. package/dist/{index-BF4IlvkT.d.ts → index-CWBCzwOp.d.ts} +4 -4
  101. package/dist/{index-BDJ2OZvV.d.ts → index-Cjr8Q-uq.d.ts} +6 -6
  102. package/dist/{index-CWwWkz10.d.ts → index-DBBRSw6r.d.ts} +2 -2
  103. package/dist/{index-BO5f180f.d.ts → index-ktQ7E4qB.d.ts} +4 -4
  104. package/dist/index.d.ts +15 -15
  105. package/dist/{init-DJYSpo-H.js → init-BucxAxRw.js} +1 -1
  106. package/dist/{init-BOYIObRF.js → init-Cfb0VX3T.js} +3 -3
  107. package/dist/{inspect-functions-CwEAQpVF.js → inspect-functions-CzrQtRDb.js} +1 -1
  108. package/dist/{instance-options-hq5Cp2Ih.d.ts → instance-options-DDERlopm.d.ts} +1 -1
  109. package/dist/jwt/index.d.ts +4 -4
  110. package/dist/{keys-U2V0maaq.js → keys-BWhAnANj.js} +1 -1
  111. package/dist/kysely/index.d.ts +3 -3
  112. package/dist/{lazy-provider-W8KwlWJU.d.ts → lazy-provider-Clt2095H.d.ts} +1 -1
  113. package/dist/{login-xgjt0a5o.js → login-CU89mk0U.js} +3 -3
  114. package/dist/{login-Dv8TFykx.js → login-qYcM0hKh.js} +1 -1
  115. package/dist/{manager-chain-FggG63qD.js → manager-chain-CFkceFls.js} +1 -1
  116. package/dist/{manifest-BUeAHWDT.js → manifest-Bu9gUrI0.js} +34 -34
  117. package/dist/mcp/index.d.ts +8 -8
  118. package/dist/{measure-DZtly0oE.js → measure-C_Z0a7B8.js} +1 -1
  119. package/dist/{model-D0EKt-ED.js → model-BYCtXS_g.js} +1 -1
  120. package/dist/{module-values-B09BBJIj.js → module-values-D-AiNhBp.js} +1 -1
  121. package/dist/nest/index.d.ts +4 -4
  122. package/dist/next/index.d.ts +11 -11
  123. package/dist/next/plugin.d.ts +1 -1
  124. package/dist/next/plugin.js +1 -1
  125. package/dist/node/index.d.ts +4 -4
  126. package/dist/openai/index.d.ts +4 -4
  127. package/dist/openapi/index.d.ts +2 -2
  128. package/dist/{openapi-Bfakk4cF.js → openapi-DIhS8iHN.js} +1 -1
  129. package/dist/{openapi-g58VVrsc.js → openapi-ZIlGKUwQ.js} +1 -1
  130. package/dist/{openapi-document-ZWpur4f1.js → openapi-document-D5IhoJo0.js} +1 -1
  131. package/dist/orpc/index.d.ts +5 -5
  132. package/dist/otel/index.d.ts +3 -3
  133. package/dist/{output-D4FLF3_v.js → output-DIjUJioq.js} +1 -1
  134. package/dist/{ownership-DvmaGcup.js → ownership-Bmt-z0rF.js} +1 -1
  135. package/dist/{parse-local-manifest-AJWs3pkW.d.ts → parse-local-manifest-DoLQFkRb.d.ts} +1 -1
  136. package/dist/pdp/index.d.ts +3 -3
  137. package/dist/{permdock-V86uejcm.d.ts → permdock-DkvkGVF0.d.ts} +2 -2
  138. package/dist/{pipeline-DCERGTTY.js → pipeline-BAGSNnct.js} +2 -2
  139. package/dist/{plugin-BnvEp5tS.d.ts → plugin-DDPXES4k.d.ts} +2 -2
  140. package/dist/{policy-DZORR-Fw.d.ts → policy-BoUbJ2c0.d.ts} +1 -1
  141. package/dist/{policy-DoHkOOTQ.js → policy-D8RxFeZO.js} +1 -1
  142. package/dist/{policy-bundle-CsnNAo-n.js → policy-bundle-DC_xq2R5.js} +3 -3
  143. package/dist/{policy-types-BnBZvh7N.d.ts → policy-types-DuM3k5Ao.d.ts} +1 -1
  144. package/dist/{postgrest-BG0ipED3.d.ts → postgrest-B1bTbVE4.d.ts} +2 -2
  145. package/dist/{powersync-Dbpn-n0o.js → powersync-BlfO3_jN.js} +1 -1
  146. package/dist/{powersync-Cz3MUw6R.js → powersync-CgCMKvaU.js} +1 -1
  147. package/dist/{powersync-CTKfjnPT.js → powersync-CiQ97gzz.js} +6 -6
  148. package/dist/prisma/index.d.ts +2 -2
  149. package/dist/{protected-action-aGL_gT4j.d.ts → protected-action-gBxeetqY.d.ts} +5 -5
  150. package/dist/{provider-W8KwlWJU.d.ts → provider-Clt2095H.d.ts} +1 -1
  151. package/dist/{prune-config--x-cEF8G.js → prune-config-CbhJ_XvD.js} +5 -5
  152. package/dist/{pull-BQELP7aV.js → pull-DLyCr-7L.js} +1 -1
  153. package/dist/pull-IQPhpX4y.js +1 -0
  154. package/dist/{pushed-policy-CQaXRDe3.d.ts → pushed-policy-C65TbLtU.d.ts} +1 -1
  155. package/dist/{rbac-BRMnQ9Rl.js → rbac-DbyaaNLa.js} +1 -1
  156. package/dist/react/index.d.ts +6 -6
  157. package/dist/react/lazy.d.ts +6 -6
  158. package/dist/react/provider-client-lazy.d.ts +1 -1
  159. package/dist/react/provider-client.d.ts +1 -1
  160. package/dist/react-native/index.d.ts +15 -15
  161. package/dist/react-native/index.js +1 -1
  162. package/dist/{rename-BjP2CFUY.js → rename-CI6NIF9t.js} +1 -1
  163. package/dist/replay-B__gzUx3.d.ts +3 -0
  164. package/dist/resend/index.d.ts +4 -4
  165. package/dist/{resolve-names-xBg9s2IJ.js → resolve-names-BR6PiCrx.js} +1 -1
  166. package/dist/{resolver-C_a-bddD.js → resolver-D2c1CcoZ.js} +1 -1
  167. package/dist/{rls-rk-QH4fc.js → rls-BfUIMNeV.js} +7 -7
  168. package/dist/{rls-BzCz7ZV0.js → rls-CdQW7v9D.js} +3 -3
  169. package/dist/{rls-files-Bu0O7cZ6.js → rls-files-68-nKfmG.js} +1 -1
  170. package/dist/{rls-options-f1wRhXSG.d.ts → rls-options-DCLdZaTZ.d.ts} +1 -1
  171. package/dist/{rpc-DyCWVn6C.d.ts → rpc-BYFB37KV.d.ts} +1 -1
  172. package/dist/{run-DTz-e3Od.js → run-B2Axta4z.js} +3 -3
  173. package/dist/run-CfvcMtPK.js +1 -0
  174. package/dist/{run-ticket-mVPqm6M6.d.ts → run-ticket-CRldclc7.d.ts} +2 -2
  175. package/dist/{scan-Cn79IAJs.js → scan-DNzOELYT.js} +1 -1
  176. package/dist/{schema-CbzVUpWv.js → schema-CJc23R4a.js} +1 -1
  177. package/dist/scim/index.d.ts +1 -1
  178. package/dist/seeds/index.d.ts +1 -1
  179. package/dist/{seeds-DLjPbhvM.d.ts → seeds-BZMPfWcC.d.ts} +1 -1
  180. package/dist/server/index.d.ts +11 -11
  181. package/dist/{server-types-BlMijUtb.d.ts → server-types-FkdDSB9h.d.ts} +8 -8
  182. package/dist/{sink-DhrVLPSJ.d.ts → sink-CoMI_OVw.d.ts} +2 -2
  183. package/dist/{skills-oZ8Ng2e7.js → skills-DTpSMQRg.js} +1 -1
  184. package/dist/{skills-BKrN1qej.js → skills-TqrLrmuv.js} +1 -1
  185. package/dist/{snapshot-cache-CVYqOThu.d.ts → snapshot-cache-R1lJjYmI.d.ts} +1 -1
  186. package/dist/solid/index.d.ts +5 -5
  187. package/dist/solid-start/index.d.ts +4 -4
  188. package/dist/{sources-Bq7k7g34.d.ts → sources-Dp6FQ8np.d.ts} +1 -1
  189. package/dist/ssf/index.d.ts +3 -3
  190. package/dist/{standard-webhooks-D6SPYjSQ.d.ts → standard-webhooks-D2FwHtMX.d.ts} +2 -2
  191. package/dist/{store-core-Bq7Qc9QM.d.ts → store-core-aluQ3R1M.d.ts} +4 -4
  192. package/dist/{stores-Dn7TpQFa.d.ts → stores-hHICuiQl.d.ts} +5 -5
  193. package/dist/{subject-cache-UKUgQCEX.d.ts → subject-cache-Bn4oJY_R.d.ts} +1 -1
  194. package/dist/supabase/index.d.ts +8 -8
  195. package/dist/supabase/index.js +3 -3
  196. package/dist/supabase/middleware.d.ts +5 -5
  197. package/dist/supabase/middleware.js +1 -1
  198. package/dist/{supabase-DrazwRER.js → supabase-ByhSqBDB.js} +2 -2
  199. package/dist/{supabase-BNPS-Gr1.js → supabase-MitbozF6.js} +2 -2
  200. package/dist/supabase-hook-DZk7PV7Z.js +2 -0
  201. package/dist/{supabase-hook-t1HnQf8U.js → supabase-hook-RFLW2YPX.js} +5 -5
  202. package/dist/{supabase-schemas-_ubYYw9i.js → supabase-schemas-CVhpyYB6.js} +1 -1
  203. package/dist/svelte/index.d.ts +5 -5
  204. package/dist/svelte/runtime.d.ts +3 -3
  205. package/dist/svelte/source.d.ts +5 -5
  206. package/dist/sveltekit/index.d.ts +4 -4
  207. package/dist/{table-reads-B7z40Yu-.js → table-reads-D0M_X-pj.js} +1 -1
  208. package/dist/{table-reads-Ci-ZVo5m.js → table-reads-Dso5UyeT.js} +1 -1
  209. package/dist/{tables-Bxmf2beb.js → tables-DrrGtayG.js} +91 -13
  210. package/dist/tanstack-start/index.d.ts +4 -4
  211. package/dist/{tenant-check-DW0kbH-a.js → tenant-check-D6fnfQBP.js} +3 -3
  212. package/dist/terminal/index.d.ts +5 -5
  213. package/dist/testing/core.d.ts +1 -1
  214. package/dist/testing/fixtures/index.d.ts +3 -3
  215. package/dist/testing/index.d.ts +22 -22
  216. package/dist/testing/saas/index.d.ts +3 -3
  217. package/dist/trpc/index.d.ts +5 -5
  218. package/dist/{type-helpers-CVN-p62O.d.ts → type-helpers-CsWH9z8p.d.ts} +1 -1
  219. package/dist/{types-5cvjmHTG.d.ts → types-BGN3coSe.d.ts} +1 -1
  220. package/dist/{types-BmTW35E5.d.ts → types-BwjOhlgx.d.ts} +4 -4
  221. package/dist/{types-Dl2jRkyq.d.ts → types-BzsplNgO.d.ts} +4 -4
  222. package/dist/{types-CrUguLsE.d.ts → types-CBUYbPwl.d.ts} +2 -2
  223. package/dist/{types-CgaGxF5q.d.ts → types-CKwI6AT4.d.ts} +1 -1
  224. package/dist/{types-B_I8TBA9.d.ts → types-Cvfe-G_N.d.ts} +2 -2
  225. package/dist/{types-CDkJNA3a.d.ts → types-D3GI2B9O.d.ts} +3 -3
  226. package/dist/{types-DNOJRhyn.d.ts → types-D417woMp.d.ts} +3 -3
  227. package/dist/{types-BMKDvcXc.d.ts → types-DRMoZjJm.d.ts} +2 -2
  228. package/dist/{types-config-CyawIkMF.d.ts → types-config-DYRoZ8Iw.d.ts} +11 -5
  229. package/dist/{types-gp1w86cV.d.ts → types-dtDg4goh.d.ts} +4 -4
  230. package/dist/{types-run-ByHuYUen.d.ts → types-run-CeCrWO0v.d.ts} +1 -1
  231. package/dist/unplugin/index.d.ts +1 -1
  232. package/dist/unplugin/index.js +1 -1
  233. package/dist/{usage-B8ca_Nj_.js → usage-Cv4WDRWv.js} +2 -2
  234. package/dist/{usage-Do7LQ4i4.js → usage-DBaJfCZB.js} +1 -1
  235. package/dist/usage-DOcCnIdW.js +1 -0
  236. package/dist/{validation-error-BKgVVMc1.d.ts → validation-error-MZ7KLNHt.d.ts} +1 -1
  237. package/dist/{verify-ZojGAC3f.js → verify-DT9WS_Gm.js} +3 -3
  238. package/dist/vue/index.d.ts +5 -5
  239. package/dist/{waiter-Bov7Cig6.d.ts → waiter-DdwtUSzB.d.ts} +2 -2
  240. package/dist/{warm-BKD3FN6k.d.ts → warm-znYuJoUZ.d.ts} +1 -1
  241. package/dist/{watch-D-5ztqN8.js → watch-14vng0pg.js} +1 -1
  242. package/dist/watch-Be7ja4dL.js +1 -0
  243. package/dist/{watch-EzX_aG73.js → watch-DuIAsqFR.js} +2 -2
  244. package/dist/webmcp/index.d.ts +1 -1
  245. package/dist/workflow/index.d.ts +3 -3
  246. package/dist/workflow-sdk/index.d.ts +4 -4
  247. package/dist/{wrap-CaAA3ubO.d.ts → wrap-C36-eV-C.d.ts} +2 -2
  248. package/package.json +1 -1
  249. package/skills/permdock-data/references/queries-and-rls.md +1 -1
  250. package/dist/gen-CpS9JkCb.js +0 -1
  251. package/dist/pull-C_ZiPZ5X.js +0 -1
  252. package/dist/replay-Dg5-l7xu.d.ts +0 -3
  253. package/dist/run-BvtApZDp.js +0 -1
  254. package/dist/supabase-hook-D0Yzbl19.js +0 -2
  255. package/dist/usage-CKTsomEq.js +0 -1
  256. package/dist/watch-J1PfGMfb.js +0 -1
@@ -5,7 +5,7 @@ import { t as catalogFingerprint } from "./catalog-fingerprint-DAWZARy6.js";
5
5
  import { r as isRecord } from "./compact-C4LFuqbW.js";
6
6
  import { n as flagSpellings, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
7
7
  import { c as generateFlags, f as policyFlag, i as dryRunFlag, r as dbUrlFlags, t as checkFlag } from "./flags-DQzNPxg1.js";
8
- import { n as ROOT } from "./manifest-BUeAHWDT.js";
8
+ import { n as ROOT } from "./manifest-Bu9gUrI0.js";
9
9
  import { n as baselineText, r as parseBaseline } from "./baseline-file-BQoki1O_.js";
10
10
  import { r as resolveConfigRoot, t as configProperty } from "./config-paths-CQvGng3k.js";
11
11
  import { n as propertyKey, r as removeProperty, t as applyEditsStrict } from "./edits-CqU8s2GC.js";
@@ -8,7 +8,7 @@ const codemod = defineLeaf({
8
8
  description: "The release to migrate to (0.5), config with --prune, manager-chain, bsb-access-tags or bsb-action-keys",
9
9
  required: true,
10
10
  async complete() {
11
- return (await import("./codemod-Dlhxov9D.js")).codemodVersions();
11
+ return (await import("./codemod-CA0MQoG4.js")).codemodVersions();
12
12
  }
13
13
  }, {
14
14
  name: "paths",
@@ -33,7 +33,7 @@ const codemod = defineLeaf({
33
33
  async run(ctx, { flags, args, rest }) {
34
34
  if (args["version"] === "config") {
35
35
  if (!flags.prune) throw new CliError("usage", "codemod config needs --prune", { code: "invalid_value" });
36
- return (await import("./prune-config--x-cEF8G.js")).runPruneConfig({
36
+ return (await import("./prune-config-CbhJ_XvD.js")).runPruneConfig({
37
37
  cwd: ctx.cwd,
38
38
  check: flags.check,
39
39
  dryRun: flags["dry-run"],
@@ -41,7 +41,7 @@ const codemod = defineLeaf({
41
41
  json: ctx.json
42
42
  });
43
43
  }
44
- if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-Nv4nDQ2U.js")).runAccessTags({
44
+ if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-1oVQZWKp.js")).runAccessTags({
45
45
  cwd: ctx.cwd,
46
46
  ...rest[0] === void 0 ? {} : { schemas: rest[0] },
47
47
  dryRun: flags["dry-run"],
@@ -49,20 +49,20 @@ const codemod = defineLeaf({
49
49
  force: flags.force,
50
50
  json: ctx.json
51
51
  });
52
- if (args["version"] === "bsb-action-keys") return (await import("./bsb-action-keys-CYEREFMg.js")).runActionKeys({
52
+ if (args["version"] === "bsb-action-keys") return (await import("./bsb-action-keys-BfZAwg-9.js")).runActionKeys({
53
53
  cwd: ctx.cwd,
54
54
  dryRun: flags["dry-run"],
55
55
  force: flags.force,
56
56
  json: ctx.json
57
57
  });
58
- if (args["version"] === "manager-chain") return (await import("./manager-chain-FggG63qD.js")).runManagerChain({
58
+ if (args["version"] === "manager-chain") return (await import("./manager-chain-CFkceFls.js")).runManagerChain({
59
59
  cwd: ctx.cwd,
60
60
  ...rest[0] === void 0 ? {} : { schemas: rest[0] },
61
61
  dryRun: flags["dry-run"],
62
62
  force: flags.force,
63
63
  json: ctx.json
64
64
  });
65
- return (await import("./codemod-Dlhxov9D.js")).runCodemod({
65
+ return (await import("./codemod-CA0MQoG4.js")).runCodemod({
66
66
  cwd: ctx.cwd,
67
67
  version: args["version"],
68
68
  paths: rest,
@@ -29,7 +29,7 @@ const collect = defineLeaf({
29
29
  };
30
30
  if (flags.watch) {
31
31
  if (flags.check) throw new CliError("usage", "collect: --watch writes the catalog; drop --check", { code: "invalid_value" });
32
- return (await import("./watch-J1PfGMfb.js")).watchCollect(ctx, overrides);
32
+ return (await import("./watch-Be7ja4dL.js")).watchCollect(ctx, overrides);
33
33
  }
34
34
  const result = await (await import("./collect-CIdE3FGC.js")).runCollect({
35
35
  cwd: ctx.cwd,
@@ -1,3 +1,3 @@
1
- import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-DNgpHgcK.js";
1
+ import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-CoUadQXF.js";
2
2
  import { n as GraphSqlPart, r as RelationsMapping, t as GraphSql } from "../graph-sql-Ds3nbevr.js";
3
3
  export { type CompileWhereOptions, type CompiledCompare, type CompiledExists, type CompiledSql, type CompiledWhere, type GraphSql, type GraphSqlPart, type MembershipTable, type MembershipsMapping, type RelationsMapping, compileWhere, escapeLike };
@@ -1,6 +1,6 @@
1
- import { p as WhereResult } from "./permdock-V86uejcm.js";
1
+ import { p as WhereResult } from "./permdock-DkvkGVF0.js";
2
2
  import { P as ResourceNode } from "./vocabulary-DHfKPIC5.js";
3
- import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-BnBZvh7N.js";
3
+ import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-DuM3k5Ao.js";
4
4
  import { r as RelationsMapping, t as GraphSql } from "./graph-sql-Ds3nbevr.js";
5
5
  type MembershipTable = {
6
6
  readonly table: string;
@@ -11,14 +11,14 @@ import { l as isConditionRef, o as hasConditionOp } from "./refs-Cix9Zjis.js";
11
11
  import { t as requiresApproval } from "./approval-required-B-R4Yw3J.js";
12
12
  import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
13
13
  import { i as configError } from "./errors-DgLOqc6j.js";
14
- import { F as capabilityAccessSql, L as apiKeyAllowsCall, S as accessSql, f as requiresSql, k as tokenScopeAllowsCall } from "./tables-Bxmf2beb.js";
14
+ import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-DrrGtayG.js";
15
15
  import { t as connectPgPool } from "./pg-DmS5ITHu.js";
16
16
  import { S as scopeTable } from "./names-DBxKx2bz.js";
17
17
  import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-LNaBdCGA.js";
18
18
  import { r as interactiveAllowsCall } from "./interactive-only-Bbq9e61G.js";
19
19
  import { _ as validitySql, h as andSql, v as wrapSql } from "./fields-CwFej4gp.js";
20
20
  import { _ as arrayColumnsOf, d as subjectClaimSql, u as subjectClaimJsonSql, v as columnTypesOf } from "./subject-B7p94Y0s.js";
21
- import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-BRMnQ9Rl.js";
21
+ import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-DbyaaNLa.js";
22
22
  import { createHash } from "node:crypto";
23
23
  // src/cli/rls/indexes.ts
24
24
  /** Postgres truncates identifiers longer than this, in bytes. */
@@ -1,6 +1,6 @@
1
1
  import { a as suggestion, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
2
2
  import { t as defineLeaf } from "./command-9GAzSI7E.js";
3
- import { a as resolve } from "./manifest-BUeAHWDT.js";
3
+ import { a as resolve } from "./manifest-Bu9gUrI0.js";
4
4
  import { n as CliError } from "./errors-DgLOqc6j.js";
5
5
  // src/cli/core/completion.ts
6
6
  const SHELLS = [
@@ -10,7 +10,7 @@ const config = defineLeaf({
10
10
  ...failOnFlag
11
11
  },
12
12
  async run(ctx, { flags }) {
13
- const { runConfig } = await import("./config-report-D_L1HXDb.js");
13
+ const { runConfig } = await import("./config-report-pg-66Bdr.js");
14
14
  return runConfig({
15
15
  cwd: ctx.cwd,
16
16
  config: ctx.config,
@@ -3,7 +3,7 @@ import "./budget-BH81q2cj.js";
3
3
  import { i as configError, n as CliError } from "./errors-DgLOqc6j.js";
4
4
  import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
5
5
  import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
6
- import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-BTojaD-H.js";
6
+ import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-BODqM-rG.js";
7
7
  import { isDeepStrictEqual } from "node:util";
8
8
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
9
9
  import { dirname, join, relative, resolve } from "node:path";
@@ -503,7 +503,7 @@ function hasModuleValue(raw) {
503
503
  return isRecord(raw) && Object.keys(MODULE_KEYS).some((key) => isRecord(raw[key]));
504
504
  }
505
505
  async function traceValues(cwd, file, display, config, options) {
506
- const { traceModuleValues } = await import("./module-values-B09BBJIj.js");
506
+ const { traceModuleValues } = await import("./module-values-D-AiNhBp.js");
507
507
  return traceModuleValues({
508
508
  cwd,
509
509
  file,
@@ -1,7 +1,7 @@
1
1
  import "./sources-C6Id63F8.js";
2
2
  import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
3
3
  import { n as guessPermissions, t as barrelFile } from "./collect-CPimbkC5.js";
4
- import { t as DOCS_BASE } from "./manifest-BUeAHWDT.js";
4
+ import { t as DOCS_BASE } from "./manifest-Bu9gUrI0.js";
5
5
  import { r as CONFIG_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
6
6
  import { a as rel, t as defaultSrcPath } from "./files-DAR51W3J.js";
7
7
  import { n as restatedDefaults, t as resolveConfig } from "./resolve-config-Cu_mE2wt.js";
@@ -81,7 +81,7 @@ const CONFIG_SHAPE = {
81
81
  ownershipTriggers: BOOLEAN_OR_OBJECT,
82
82
  readOnlyActors: BOOLEAN_OR_ARRAY,
83
83
  apiKeys: BOOLEAN_OR_OBJECT,
84
- tokenScopes: BOOLEAN,
84
+ tokenScopes: BOOLEAN_OR_OBJECT,
85
85
  realtime: OBJECT,
86
86
  storage: OBJECT
87
87
  },
@@ -1,5 +1,5 @@
1
1
  import { n as packageManagerOf } from "./peer-D77JpXe-.js";
2
- import { c as readSupabaseConfig } from "./supabase-schemas-_ubYYw9i.js";
2
+ import { c as readSupabaseConfig } from "./supabase-schemas-CVhpyYB6.js";
3
3
  import { existsSync, readdirSync } from "node:fs";
4
4
  import { join, relative } from "node:path";
5
5
  // src/cli/generate/context.ts
@@ -1,7 +1,7 @@
1
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-BnBZvh7N.js";
2
- import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-BGosrHl8.js";
3
- import { t as InstanceOptions } from "../instance-options-hq5Cp2Ih.js";
4
- import { a as PermDock } from "../permdock-V86uejcm.js";
1
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
2
+ import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-BliKrfmP.js";
3
+ import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
4
+ import { a as PermDock } from "../permdock-DkvkGVF0.js";
5
5
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
6
6
  type ConvexContextLike = {
7
7
  readonly auth?: {
@@ -1,5 +1,5 @@
1
- import { D as Policy, Dr as Membership, Sr as CustomRole, ir as Decision } from "./policy-types-BnBZvh7N.js";
2
- import { o as PermDockOptions, p as WhereResult } from "./permdock-V86uejcm.js";
1
+ import { D as Policy, Dr as Membership, Sr as CustomRole, ir as Decision } from "./policy-types-DuM3k5Ao.js";
2
+ import { o as PermDockOptions, p as WhereResult } from "./permdock-DkvkGVF0.js";
3
3
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
4
4
  type MatrixOutcome = "granted" | "denied" | "approval-required";
5
5
  type MatrixCell = MatrixOutcome | {
@@ -1,9 +1,9 @@
1
1
  import { n as ApprovalErrorCode } from "./errors-KngVdJT9.js";
2
- import { m as ApprovalStore, p as ApprovalStatus } from "./types-5cvjmHTG.js";
3
- import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, cr as DeniedDecision, rr as ApprovalRequiredDecision, ur as GrantedDecision } from "./policy-types-BnBZvh7N.js";
2
+ import { m as ApprovalStore, p as ApprovalStatus } from "./types-BGN3coSe.js";
3
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, cr as DeniedDecision, rr as ApprovalRequiredDecision, ur as GrantedDecision } from "./policy-types-DuM3k5Ao.js";
4
4
  import { t as Operation } from "./operations-DaEoGpMV.js";
5
- import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-V86uejcm.js";
6
- import { t as ApprovalPrompt } from "./approval-prompt-CJvYBdja.js";
5
+ import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-DkvkGVF0.js";
6
+ import { t as ApprovalPrompt } from "./approval-prompt-BKxaKtby.js";
7
7
  /**
8
8
  * The platform user behind a chat message or action. Fill it only from an event
9
9
  * whose platform signature the transport verified; a body field or a model
@@ -1,13 +1,13 @@
1
- import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, wr as Delegation } from "./policy-types-BnBZvh7N.js";
2
- import { a as PermDock } from "./permdock-V86uejcm.js";
3
- import { m as ApprovalStore } from "./types-5cvjmHTG.js";
4
- import { t as InstanceOptions } from "./instance-options-hq5Cp2Ih.js";
1
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, wr as Delegation } from "./policy-types-DuM3k5Ao.js";
2
+ import { a as PermDock } from "./permdock-DkvkGVF0.js";
3
+ import { m as ApprovalStore } from "./types-BGN3coSe.js";
4
+ import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
5
5
  import { t as Operation } from "./operations-DaEoGpMV.js";
6
6
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
7
7
  import { t as RequestContext } from "./request-context-E3-ps-H_.js";
8
- import { n as PermDockWrap } from "./wrap-CaAA3ubO.js";
9
- import { o as OtelWrap } from "./types-BMKDvcXc.js";
10
- import { t as DeniedText } from "./denied-text-CllTzVJM.js";
8
+ import { n as PermDockWrap } from "./wrap-C36-eV-C.js";
9
+ import { o as OtelWrap } from "./types-DRMoZjJm.js";
10
+ import { t as DeniedText } from "./denied-text-DgNqDAPH.js";
11
11
  /**
12
12
  * What the user can do to lift a denial: authenticate again with the `acr` and
13
13
  * `maxAge` the failing grants ask for, or activate a role they are eligible
@@ -1,10 +1,10 @@
1
- import { m as ApprovalStore } from "./types-5cvjmHTG.js";
2
- import { a as AutomationSource } from "./automation-BqUmdFfe.js";
3
- import { D as Policy, N as PolicyVocabulary, Or as Principal, _t as TokenSigner, ar as Denial, gn as AuthEvent, ir as Decision, qt as Instant, vt as TokenVerifier } from "./policy-types-BnBZvh7N.js";
4
- import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-V86uejcm.js";
1
+ import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
+ import { a as AutomationSource } from "./automation-C7WH5XcZ.js";
3
+ import { D as Policy, N as PolicyVocabulary, Or as Principal, _t as TokenSigner, ar as Denial, gn as AuthEvent, ir as Decision, qt as Instant, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
4
+ import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-DkvkGVF0.js";
5
5
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
6
- import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-mVPqm6M6.js";
7
- import { n as ApprovalWaiter } from "./waiter-Bov7Cig6.js";
6
+ import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-CRldclc7.js";
7
+ import { n as ApprovalWaiter } from "./waiter-DdwtUSzB.js";
8
8
  type WorkflowPermDockOptions = PermDockOptions & {
9
9
  /** Signs the run tickets `start` mints. */
10
10
  readonly signer: TokenSigner;
@@ -1,6 +1,6 @@
1
- import { Ar as Subject, G as CredentialVerifier, Mt as Credential, Pt as CredentialKind, X as DecisionSink, gn as AuthEvent, jt as ApiKeyPrincipal, lt as SettingsSource } from "./policy-types-BnBZvh7N.js";
1
+ import { Ar as Subject, G as CredentialVerifier, Mt as Credential, Pt as CredentialKind, X as DecisionSink, gn as AuthEvent, jt as ApiKeyPrincipal, lt as SettingsSource } from "./policy-types-DuM3k5Ao.js";
2
2
  import { E as PermissionTree } from "./vocabulary-DHfKPIC5.js";
3
- import { v as PrincipalSource } from "./permdock-V86uejcm.js";
3
+ import { v as PrincipalSource } from "./permdock-DkvkGVF0.js";
4
4
  /** `on('auth')` causes for an API key that resolves to the anonymous subject. */
5
5
  type ApiKeyFailureCause = "malformed" | "unknown-credential" | "invalid-claims" | "expired" | "credential-policy" | "credential-revoked" | "owner-unavailable";
6
6
  /** An opaque key split at its last `_`: `pdk_<id>_<secret><checksum>`. */
@@ -1,10 +1,10 @@
1
- import { m as ApprovalStore } from "./types-5cvjmHTG.js";
2
- import { r as ApiKeySubjectOptions } from "./credentials-Dl0-R2aB.js";
1
+ import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
+ import { r as ApiKeySubjectOptions } from "./credentials-DzNrCNZY.js";
3
3
  import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
4
- import { t as InstanceOptions } from "./instance-options-hq5Cp2Ih.js";
5
- import { a as PermDock, o as PermDockOptions } from "./permdock-V86uejcm.js";
6
- import { n as SubjectCache, s as VersionCache } from "./subject-cache-UKUgQCEX.js";
7
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-BnBZvh7N.js";
4
+ import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
5
+ import { a as PermDock, o as PermDockOptions } from "./permdock-DkvkGVF0.js";
6
+ import { n as SubjectCache, s as VersionCache } from "./subject-cache-Bn4oJY_R.js";
7
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-DuM3k5Ao.js";
8
8
  /**
9
9
  * How strict `definePermDock` is about the services the policy needs. `dev`
10
10
  * fills in in-process defaults (a memory approval store and a memory limit
@@ -7,6 +7,7 @@ import { t as readClaim } from "./claims-map-BGbpbvGD.js";
7
7
  import { t as clientNameOf } from "./clients-Bb_33pRE.js";
8
8
  import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
9
9
  import { t as authorizationDetailsOf } from "./delegation-input-7Y5Rlja7.js";
10
+ import { t as IDENTITY_SCOPES } from "./identity-scopes-CRVAV0HU.js";
10
11
  // src/supabase/subject.ts
11
12
  /**
12
13
  * Claim names Supabase Auth or the OAuth server issues; the hook may not
@@ -202,14 +203,6 @@ function actorOf(claims) {
202
203
  return INVALID_CHAIN;
203
204
  }
204
205
  }
205
- const IDENTITY_SCOPES = /* @__PURE__ */ new Set([
206
- "openid",
207
- "profile",
208
- "email",
209
- "address",
210
- "phone",
211
- "offline_access"
212
- ]);
213
206
  /**
214
207
  * The OAuth `scope` claim (a space-separated string or a list) as `scopes`,
215
208
  * without the OpenID Connect identity scopes; `undefined` when none is left.
@@ -1,5 +1,5 @@
1
- import { Sn as DeliveryFailureCause, bn as DeliveryChannel, wn as EmailCategory } from "../policy-types-BnBZvh7N.js";
2
- import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-CJvYBdja.js";
3
- import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-CDkJNA3a.js";
4
- import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-BF4IlvkT.js";
1
+ import { Sn as DeliveryFailureCause, bn as DeliveryChannel, wn as EmailCategory } from "../policy-types-DuM3k5Ao.js";
2
+ import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-BKxaKtby.js";
3
+ import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-D3GI2B9O.js";
4
+ import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-CWBCzwOp.js";
5
5
  export { type ApprovalPrompt, type ApprovalUrl, type Audience, type AudienceOptions, CONNECTOR_KINDS, CONNECTOR_SCHEMA, type ChatMessage, type ChatTransport, type Connector, type ConnectorIssue, type ConnectorKind, type DeliverOptions, type DeliveryChannel, type DeliveryFailureCause, type DeliveryMessages, type DeliveryPermDock, type DeliveryPermDockOptions, type DeliveryReport, type DeliveryResult, type DeliveryTarget, type DeliveryTransport, type DeliveryTransports, type EmailCategory, type EmailMessage, type EmailTransport, type EmailUnsubscribe, type MemoryDelivery, type MemoryDeliveryTransport, type MemoryDeliveryTransportOptions, type OutgoingEmail, type ParseConnectorResult, type Recipient, type SiemDestination, type SubscriberEvent, type TransportItem, type TransportMessages, type TransportOptions, type WebhookMessage, type WebhookTransport, type WebhookTransportOptions, approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, parseConnector, subscribersFor, webhookTransport };
@@ -1,4 +1,4 @@
1
- import { ir as Decision } from "./policy-types-BnBZvh7N.js";
1
+ import { ir as Decision } from "./policy-types-DuM3k5Ao.js";
2
2
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  /**
4
4
  * What an agent adapter's `deniedText` receives: the refusal and the text
@@ -1,4 +1,4 @@
1
- import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-BnBZvh7N.js";
1
+ import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-DuM3k5Ao.js";
2
2
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  type DecisionDescription = {
4
4
  readonly kind: "granted" | "denied" | "approval" | "tenant" | "delegation" | "server-only" | "upgrade";
@@ -11,7 +11,7 @@ const doctor = defineLeaf({
11
11
  description: "Check codes or groups to run",
12
12
  valueHint: "code",
13
13
  async complete() {
14
- const { DOCTOR_CHECKS } = await import("./doctor-Bn5OPJMB.js");
14
+ const { DOCTOR_CHECKS } = await import("./doctor-Cs0Xl46A.js");
15
15
  return [.../* @__PURE__ */ new Set([...DOCTOR_CHECKS.map(({ code }) => code), ...DOCTOR_CHECKS.flatMap(({ groups }) => groups)])];
16
16
  }
17
17
  },
@@ -46,7 +46,7 @@ const doctor = defineLeaf({
46
46
  if (answer === void 0) return CANCELLED;
47
47
  fix = answer;
48
48
  }
49
- return (await import("./doctor-Bn5OPJMB.js")).runDoctor({
49
+ return (await import("./doctor-Cs0Xl46A.js")).runDoctor({
50
50
  cwd: ctx.cwd,
51
51
  config: ctx.config,
52
52
  only: flags.only,
@@ -2,30 +2,30 @@ 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-CPimbkC5.js";
4
4
  import { t as didYouMean } from "./args-BSpXxMnb.js";
5
- import { t as DOCS_BASE } from "./manifest-BUeAHWDT.js";
6
- import { o as nonEmptyOr, r as findingOf } from "./output-D4FLF3_v.js";
5
+ import { t as DOCS_BASE } from "./manifest-Bu9gUrI0.js";
6
+ import { o as nonEmptyOr, r as findingOf } from "./output-DIjUJioq.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";
10
10
  import { r as pgConnector } from "./pg-DmS5ITHu.js";
11
11
  import { a as describeError, n as CliError } from "./errors-DgLOqc6j.js";
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-7QvEq57a.js";
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-oZ8Ng2e7.js";
14
+ import { i as runSkillsInstall } from "./skills-DTpSMQRg.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-_ubYYw9i.js";
17
- import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-CbkH78FC.js";
18
- import { i as pd039, t as hookOut } from "./supabase-hook-t1HnQf8U.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-CVhpyYB6.js";
17
+ import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-y0CJBLJr.js";
18
+ import { i as pd039, t as hookOut } from "./supabase-hook-RFLW2YPX.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-BHiyBxQZ.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-DvmaGcup.js";
23
+ import { a as guardedTables, r as unsatisfiedKinds, t as ownershipRules } from "./ownership-Bmt-z0rF.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-ZojGAC3f.js";
28
+ import { o as splitIgnored } from "./verify-DT9WS_Gm.js";
29
29
  import { a as updatedBaseline, i as readBaseline, n as baselineText, t as applyBaseline } from "./baseline-file-BQoki1O_.js";
30
30
  import { n as activeTenantMismatch, t as authorizationProvider } from "./provider-BwqzED5h.js";
31
31
  import { r as isRecord } from "./compact-C4LFuqbW.js";
@@ -36,9 +36,9 @@ import { a as nameOf, i as lineIndex, o as nodes, r as child, u as walk } from "
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-D4g3nyFB.js";
39
- import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-B8ca_Nj_.js";
39
+ import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-Cv4WDRWv.js";
40
40
  import { c as listPermissions, h as formerKeys } from "./permission-registry-DstT40VS.js";
41
- import { t as resolveNames } from "./resolve-names-xBg9s2IJ.js";
41
+ import { t as resolveNames } from "./resolve-names-BR6PiCrx.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";
@@ -54,31 +54,31 @@ import { t as operationCoverage } from "./coverage-C3jVYC9Y.js";
54
54
  import { a as snapshotSize, r as mostPrivilegedRole, t as SNAPSHOT_BUDGET_BYTES } from "./snapshot-size-NklqBKcV.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-D0EKt-ED.js";
57
+ import { a as ownedObjects, i as inReservedDir, o as shownKey, r as generatedByPermdock, s as withoutOwned, t as policyModel } from "./model-BYCtXS_g.js";
58
58
  import { a as pd114, i as pd110, r as pd109 } from "./claims-size-BUhCWS88.js";
59
59
  import { t as importFromApp } from "./app-peer-BnMh5lqz.js";
60
60
  import { c as rlsReport, o as policiesFor } from "./report-XdCm1y_J.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, s as scopeSourcesOf } from "./powersync-CTKfjnPT.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-CiQ97gzz.js";
63
63
  import { t as parseProgram } from "./program-CvarkLMS.js";
64
64
  import { t as FIELD_VIEWS } from "./fields-CwFej4gp.js";
65
65
  import { n as restatedDefaults } from "./resolve-config-Cu_mE2wt.js";
66
66
  import { t as policyRowConditionKeys } from "./row-conditions-DwIJocfQ.js";
67
- import { J as policyBundle, Q as graphPlan, i as tableNames, r as tableNameOf } from "./tables-Bxmf2beb.js";
67
+ import { X as policyBundle, et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-DrrGtayG.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-nR1gQhXo.js";
70
- import { p as contextRefs } from "./rbac-BRMnQ9Rl.js";
69
+ import { a as tableFor, n as commandFor, o as unmappedActions, r as compileGrants, t as INFERRED_VERBS } from "./compile-D-BULiHE.js";
70
+ import { p as contextRefs } from "./rbac-DbyaaNLa.js";
71
71
  import { c as rowConditionMessage, o as helperTablePolicies, r as ROW_CONDITION_FIX } from "./helper-calls-B5MOl99d.js";
72
72
  import { i as graphSqlName } from "./names-DBxKx2bz.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-BZ2nqy28.js";
76
+ import { i as buildContext, n as isRefusal, o as inheritTargets, t as generateOptions } from "./generate-options-O3mVjjcG.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-C85NuESf.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-B7z40Yu-.js";
81
+ import { r as manifestTableReads, s as sharedFunctionsOf, t as committedManifest } from "./table-reads-D0M_X-pj.js";
82
82
  import { isDeepStrictEqual } from "node:util";
83
83
  import { readFileSync } from "node:fs";
84
84
  import { dirname, join, resolve } from "node:path";
@@ -3026,15 +3026,16 @@ async function pd058(input) {
3026
3026
  if (config.powersync === void 0 || config.policy === void 0) return [];
3027
3027
  const policy = await policyOf(input);
3028
3028
  if (policy === void 0) return [];
3029
+ const publicationAt = await publicationPath(cwd, config);
3029
3030
  let compiled;
3030
3031
  try {
3031
- compiled = powersyncFiles(policy, config);
3032
+ compiled = powersyncFiles(policy, config, void 0, publicationAt);
3032
3033
  } catch (cause) {
3033
3034
  return [{
3034
3035
  code: "PD058",
3035
3036
  severity: "warning",
3036
3037
  message: `the policy does not compile to Sync Streams: ${cause instanceof Error ? cause.message : String(cause)}`,
3037
- fix: "fix the powersync and rls config, then run permdock powersync generate"
3038
+ fix: "fix the powersync and rls config, then run permdock generate --only powersync"
3038
3039
  }];
3039
3040
  }
3040
3041
  const gaps = sourceGaps(policy, config).map((gap) => ({
@@ -3048,7 +3049,7 @@ async function pd058(input) {
3048
3049
  code: "PD058",
3049
3050
  severity: "warning",
3050
3051
  message: file.missing ? `${file.path} is missing, so ${file.path === config.powersync?.manifest ? "the device builds no local snapshot" : "PowerSync syncs no stream the policy compiles to"}` : `${file.path} is not what the policy compiles to, so ${file.path === config.powersync?.manifest ? "the device builds snapshots" : "PowerSync syncs rows"} by an older policy`,
3051
- fix: "run permdock powersync generate and deploy the files"
3052
+ fix: "run permdock generate --only powersync and deploy the files"
3052
3053
  })),
3053
3054
  ...gaps,
3054
3055
  ...branchGaps(policy, config.powersync?.resources ?? [])
@@ -3143,7 +3144,7 @@ function pd102(input) {
3143
3144
  severity: "warning",
3144
3145
  target: path,
3145
3146
  message: `${path} filters ${stale} while the membership source reads roles: "many", so a member syncs only their own role rows`,
3146
- fix: "run permdock powersync generate and deploy the file"
3147
+ fix: "run permdock generate --only powersync and deploy the file"
3147
3148
  }] : [];
3148
3149
  });
3149
3150
  }
@@ -4883,7 +4884,7 @@ function topLevelParts(body) {
4883
4884
  */
4884
4885
  function tablePart(raw) {
4885
4886
  const part = raw.replace(/^constraint\s+(?:"[^"]+"|\w+)\s+/iu, "");
4886
- const listed = /^(foreign\s+key|primary\s+key|unique)\s*\(([^)]*)\)/iu.exec(part);
4887
+ const listed = /^(foreign\s+key|primary\s+key|unique(?:\s+nulls\s+(?:not\s+)?distinct)?)\s*\(([^)]*)\)/iu.exec(part);
4887
4888
  if (listed !== null) {
4888
4889
  const foreign = /^foreign/iu.test(group(listed, 1));
4889
4890
  return {
@@ -4901,7 +4902,7 @@ function tablePart(raw) {
4901
4902
  function firstColumn(list) {
4902
4903
  return unquote(list.replace(/,[\s\S]*$/u, "").trim());
4903
4904
  }
4904
- const ADD_CONSTRAINT = new RegExp(String.raw`^alter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?${NAME}\s+add\s+(?:constraint\s+${IDENT}\s+)?(foreign\s+key|primary\s+key|unique)\s*\(([^)]*)\)`, "iu");
4905
+ const ADD_CONSTRAINT = new RegExp(String.raw`^alter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?${NAME}\s+add\s+(?:constraint\s+${IDENT}\s+)?(foreign\s+key|primary\s+key|unique(?:\s+nulls\s+(?:not\s+)?distinct)?)\s*\(([^)]*)\)`, "iu");
4905
4906
  const CREATE_INDEX = new RegExp(String.raw`^create\s+(?:unique\s+)?index\s+(?:concurrently\s+)?(?:if\s+not\s+exists\s+)?(?:${IDENT}\s+)?on\s+(?:only\s+)?${NAME}\s*(?:using\s+\w+\s*)?\(\s*${IDENT}`, "iu");
4906
4907
  /**
4907
4908
  * PD053: a foreign key no index starts with, so joins and deletes on the
@@ -1,7 +1,7 @@
1
- import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-BnBZvh7N.js";
1
+ import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-DuM3k5Ao.js";
2
2
  import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-C9F1sU1d.js";
3
- import { p as WhereResult } from "../permdock-V86uejcm.js";
4
- import { s as MembershipsMapping } from "../compile-DNgpHgcK.js";
3
+ import { p as WhereResult } from "../permdock-DkvkGVF0.js";
4
+ import { s as MembershipsMapping } from "../compile-CoUadQXF.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-BlMijUtb.js";
2
- import { a as PermDock } from "../permdock-V86uejcm.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-FkdDSB9h.js";
2
+ import { a as PermDock } from "../permdock-DkvkGVF0.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-BnBZvh7N.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
5
5
  import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
6
- import { t as ServerAdapterOptions } from "../bind-Bwk9tt1z.js";
6
+ import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
7
7
  import { Elysia } from "elysia";
8
8
  type ElysiaRequestContext = {
9
9
  readonly request: Request;
@@ -1,4 +1,4 @@
1
- import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-BnBZvh7N.js";
1
+ import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-DuM3k5Ao.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-5cvjmHTG.js";
2
- import { a as PermDock } from "./permdock-V86uejcm.js";
3
- import { D as Policy } from "./policy-types-BnBZvh7N.js";
1
+ import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
+ import { a as PermDock } from "./permdock-DkvkGVF0.js";
3
+ import { D as Policy } from "./policy-types-DuM3k5Ao.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-CdB9FCZh.js";
2
- import { u as ApprovalRequest } from "../types-5cvjmHTG.js";
3
- import { a as PermDock } from "../permdock-V86uejcm.js";
1
+ import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-T_NqxU31.js";
2
+ import { u as ApprovalRequest } from "../types-BGN3coSe.js";
3
+ import { a as PermDock } from "../permdock-DkvkGVF0.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-BnBZvh7N.js";
5
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
6
6
  /** Structural `SessionAuthContext` from `eve`. */
7
7
  type EvePrincipal = {
8
8
  readonly principalId: string;
@@ -1,10 +1,10 @@
1
1
  import { n as budgetBreaches, t as breachText } from "./budgets-hi-ecgEd.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-Fi4GcvIY.js";
4
+ import { r as runGen } from "./gen-M_5UU5Ck.js";
5
5
  import { c as requirePolicy } from "./load-m7jmit3y.js";
6
- import { t as projectContext } from "./context-D8tN3SZm.js";
7
- import { r as runGenerate } from "./pipeline-DCERGTTY.js";
6
+ import { t as projectContext } from "./context-rioF4fQl.js";
7
+ import { r as runGenerate } from "./pipeline-BAGSNnct.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";
@@ -1,8 +1,8 @@
1
- import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-BlMijUtb.js";
2
- import { a as PermDock } from "../permdock-V86uejcm.js";
1
+ import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
2
+ import { a as PermDock } from "../permdock-DkvkGVF0.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-BnBZvh7N.js";
5
- import { t as ServerAdapterOptions } from "../bind-Bwk9tt1z.js";
4
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
5
+ import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.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>;