permdock 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +2 -2
  3. package/dist/{adoption-scan-FcbJOEo1.js → adoption-scan-D-uM3y5a.js} +1 -1
  4. package/dist/agent/index.d.ts +2 -2
  5. package/dist/agent/index.js +1 -1
  6. package/dist/ai-sdk/index.d.ts +3 -3
  7. package/dist/ai-sdk/index.js +3 -3
  8. package/dist/app/index.d.ts +1 -1
  9. package/dist/app/index.js +1 -1
  10. package/dist/{approval-prompt-BKxaKtby.d.ts → approval-prompt-DCC4jp2s.d.ts} +1 -1
  11. package/dist/approvals/index.d.ts +3 -3
  12. package/dist/{arazzo-BRWgVc8j.js → arazzo-BdWGzdqv.js} +1 -1
  13. package/dist/{arazzo-rYG2UY9k.js → arazzo-CyENGJ-M.js} +2 -2
  14. package/dist/astro/index.d.ts +4 -4
  15. package/dist/astro/index.js +1 -1
  16. package/dist/authzen/index.d.ts +6 -6
  17. package/dist/authzen/index.js +1 -1
  18. package/dist/{automation-C7WH5XcZ.d.ts → automation-DdarCGcn.d.ts} +1 -1
  19. package/dist/better-auth/index.d.ts +1 -1
  20. package/dist/better-supabase/index.d.ts +13 -13
  21. package/dist/better-supabase/index.js +5 -5
  22. package/dist/{bind-2Cuy29LS.js → bind-BNYcJ1D9.js} +2 -2
  23. package/dist/{bind-Caffleoh.d.ts → bind-CLvD4iLc.d.ts} +7 -7
  24. package/dist/{bsb-access-tags-Bfmhft2o.js → bsb-access-tags-C4iPlzjs.js} +1 -1
  25. package/dist/{budgets-B2hIDaz7.js → budgets-DFnMBpKz.js} +3 -3
  26. package/dist/{build-instance-CZg_Bf45.js → build-instance-BGpABVbM.js} +1 -1
  27. package/dist/bundle-size-CGd8wVIu.js +1 -0
  28. package/dist/{bundle-size-BjdmlKWJ.js → bundle-size-Pgm7BB5m.js} +2 -2
  29. package/dist/{capability-BW-vAxJi.d.ts → capability-CsiHf7K3.d.ts} +1 -1
  30. package/dist/{casbin-4FACZ5Ez.js → casbin-DdJndgnu.js} +1 -1
  31. package/dist/{casbin-Cz8BGXHW.js → casbin-ILRPO6t9.js} +1 -1
  32. package/dist/catalog/index.d.ts +4 -4
  33. package/dist/chat/index.d.ts +1 -1
  34. package/dist/chat/index.js +1 -1
  35. package/dist/chat-sdk/index.d.ts +3 -3
  36. package/dist/claims-size-B0OvYh9z.js +1 -0
  37. package/dist/{claims-size-BUhCWS88.js → claims-size-ZiUJBn0r.js} +42 -8
  38. package/dist/claude-agent/index.d.ts +3 -3
  39. package/dist/claude-agent/index.js +2 -2
  40. package/dist/clerk/index.d.ts +2 -2
  41. package/dist/cli/bin.js +1 -1
  42. package/dist/cli/generate/watch-worker.js +1 -1
  43. package/dist/cli/index.d.ts +6 -6
  44. package/dist/cli/index.js +1 -1
  45. package/dist/cli/plugins/app.d.ts +1 -1
  46. package/dist/cli/plugins/app.js +1 -1
  47. package/dist/cli/plugins/better-supabase.d.ts +1 -1
  48. package/dist/cli/plugins/openapi.d.ts +1 -1
  49. package/dist/cli/plugins/openapi.js +1 -1
  50. package/dist/cli/plugins/powersync.d.ts +1 -1
  51. package/dist/cli/plugins/powersync.js +1 -1
  52. package/dist/cli/plugins/rls.d.ts +2 -2
  53. package/dist/cli/plugins/rls.js +1 -1
  54. package/dist/cli/plugins/schemas.d.ts +1 -1
  55. package/dist/cli/plugins/schemas.js +1 -1
  56. package/dist/cli/plugins/scim.d.ts +2 -2
  57. package/dist/cli/plugins/supabase-hook.d.ts +2 -2
  58. package/dist/cli/plugins/supabase-hook.js +1 -1
  59. package/dist/cli/plugins/supabase.d.ts +3 -3
  60. package/dist/cli/plugins/supabase.js +2 -2
  61. package/dist/cli/plugins/ui.d.ts +1 -1
  62. package/dist/cli/plugins/ui.js +1 -1
  63. package/dist/{client-subject-YAGMzRa-.d.ts → client-subject-DSF0IYGW.d.ts} +2 -2
  64. package/dist/cloud/index.d.ts +8 -8
  65. package/dist/{cloud-BB67klb4.js → cloud-C8bHMKjI.js} +1 -1
  66. package/dist/{codemod-BPcxGOlq.js → codemod-D02eYuzA.js} +4 -4
  67. package/dist/{codemod-Lov9764v.js → codemod-D8zh3IYV.js} +1 -1
  68. package/dist/compile/index.d.ts +1 -1
  69. package/dist/{compile-EtZv2wc0.js → compile-7tf8hHlu.js} +3 -3
  70. package/dist/{compile-CyUn58lf.d.ts → compile-CFV4wDo9.d.ts} +2 -2
  71. package/dist/{completion-5Y8toe1d.js → completion-BZShluF7.js} +1 -1
  72. package/dist/{config-DfbiV554.js → config-ClypJwe2.js} +1 -1
  73. package/dist/{config-report-Cs6iDebE.js → config-report-Kb-mYv9F.js} +1 -1
  74. package/dist/{context-CFPsmfPl.js → context-BQQzAw83.js} +1 -1
  75. package/dist/convex/index.d.ts +4 -4
  76. package/dist/convex/index.js +2 -2
  77. package/dist/{core-s_TCdJ6G.js → core-BFR-V5CL.js} +2 -2
  78. package/dist/{core-_Lofwt2K.d.ts → core-BOWoKYve.d.ts} +2 -2
  79. package/dist/{create-bbjS7tCW.js → create-BICq9l-p.js} +2 -2
  80. package/dist/{create-D12I1Vkl.d.ts → create-BTthKNP0.d.ts} +7 -7
  81. package/dist/{create-EPbgV-LA.d.ts → create-BaKdh-D8.d.ts} +6 -6
  82. package/dist/{create-D6B06lb8.js → create-Dapy8DIK.js} +3 -3
  83. package/dist/{create-BfTbYrts.d.ts → create-Y6DnNpuP.d.ts} +4 -4
  84. package/dist/{credentials-DtSnydoD.d.ts → credentials-e872ACwg.d.ts} +2 -2
  85. package/dist/{custom-role-rebuild-QFXiMHqJ.js → custom-role-rebuild-CRz6Ip6J.js} +1 -1
  86. package/dist/{define-permdock-ZR0w-Loy.d.ts → define-permdock-8YZPaa9x.d.ts} +6 -6
  87. package/dist/{define-permdock-Dazve5lw.js → define-permdock-B0q7Rg9b.js} +1 -1
  88. package/dist/delivery/index.d.ts +4 -4
  89. package/dist/{denied-text-DgNqDAPH.d.ts → denied-text-u4OC-MYV.d.ts} +1 -1
  90. package/dist/{describe-DEoWvk00.d.ts → describe-DLGEciCs.d.ts} +1 -1
  91. package/dist/{diff-C7zKA7ny.js → diff-BebUlh4Z.js} +1 -1
  92. package/dist/{diff-BABnQ-z0.js → diff-Sxca4_5q.js} +2 -2
  93. package/dist/{doctor-Cm1HDI5s.js → doctor-DAx9dIEX.js} +2 -2
  94. package/dist/{doctor-Chio5Col.js → doctor-XSdrG1SZ.js} +21 -21
  95. package/dist/drizzle/index.d.ts +3 -3
  96. package/dist/elysia/index.d.ts +4 -4
  97. package/dist/elysia/index.js +1 -1
  98. package/dist/{errors-BliKrfmP.d.ts → errors-C35fh_2K.d.ts} +1 -1
  99. package/dist/{evaluations-BYoj5ci6.d.ts → evaluations-BiZYgET4.d.ts} +3 -3
  100. package/dist/eve/index.d.ts +4 -4
  101. package/dist/eve/index.js +2 -2
  102. package/dist/{execute-B_yY9xWV.js → execute-DgCH7kEE.js} +4 -4
  103. package/dist/{explain-CKIqxXSe.js → explain-BrvY9cXX.js} +1 -1
  104. package/dist/{explain-Blkq60Ff.js → explain-CgKGadRa.js} +2 -2
  105. package/dist/express/index.d.ts +4 -4
  106. package/dist/express/index.js +1 -1
  107. package/dist/fastify/index.d.ts +4 -4
  108. package/dist/fastify/index.js +1 -1
  109. package/dist/{fetch-adapter-CdaSVKrt.d.ts → fetch-adapter-CQSxXotl.d.ts} +2 -2
  110. package/dist/{fetch-adapter-DXgza6EM.js → fetch-adapter-dmABnF7F.js} +1 -1
  111. package/dist/gen-Df-r9jpy.js +1 -0
  112. package/dist/{gen-kind-C4tERYMw.js → gen-kind-DIltjpY9.js} +1 -1
  113. package/dist/{gen-DlJK73v7.js → gen-m1X9N8DZ.js} +3 -3
  114. package/dist/{generate-CbLA2WW_.js → generate-CIjPy_cH.js} +3 -3
  115. package/dist/{generate-CFqcr3H6.js → generate-DWL9aXjZ.js} +11 -11
  116. package/dist/{generate-options-BFAvlJKQ.js → generate-options-RvPqyMWE.js} +7 -7
  117. package/dist/h3/index.d.ts +4 -4
  118. package/dist/h3/index.js +2 -2
  119. package/dist/hono/index.d.ts +4 -4
  120. package/dist/hono/index.js +1 -1
  121. package/dist/{hook-sql-CSUFnRn0.js → hook-sql-C24FFEWr.js} +5 -5
  122. package/dist/{hosted-DZgmEG4b.d.ts → hosted-Cl7q35D-.d.ts} +1 -1
  123. package/dist/{import-B-17dw3B.js → import-Dmm7N9C6.js} +1 -1
  124. package/dist/{index-Bb2sZq1K.d.ts → index-B1hyWi7O.d.ts} +6 -6
  125. package/dist/{index-Cfg0ED9K.d.ts → index-BtPvYUww.d.ts} +4 -4
  126. package/dist/{index-CT4VKXU-.d.ts → index-D9DsY164.d.ts} +4 -4
  127. package/dist/{index-DBBRSw6r.d.ts → index-DYvFRQle.d.ts} +2 -2
  128. package/dist/{index-CAE_Z53Y.d.ts → index-L6lt50lg.d.ts} +1 -1
  129. package/dist/{index-DY1aJ-K1.d.ts → index-p5y3whIg.d.ts} +4 -4
  130. package/dist/index.d.ts +15 -15
  131. package/dist/index.js +3 -3
  132. package/dist/{init-Bg0vS1LV.js → init-Cgcea11w.js} +1 -1
  133. package/dist/{init-DRbkPclr.js → init-tXmJlH7f.js} +3 -3
  134. package/dist/{inspect-functions-DLP72IMA.js → inspect-functions-DbhgRvDf.js} +1 -1
  135. package/dist/{instance-options-D-SLCp4I.d.ts → instance-options-CUNLusL6.d.ts} +1 -1
  136. package/dist/{interactive-only-CylKSukS.js → interactive-only-ad2JJYk8.js} +12 -7
  137. package/dist/jwt/index.d.ts +4 -4
  138. package/dist/{kernel-CzzmzwLg.js → kernel-yI0nUyuX.js} +3 -3
  139. package/dist/{keys-C-W0yrql.js → keys-B4JLF5VZ.js} +1 -1
  140. package/dist/kysely/index.d.ts +3 -3
  141. package/dist/{lazy-provider-BSHAIpMK.d.ts → lazy-provider-B22nfOsw.d.ts} +1 -1
  142. package/dist/{login-D6IJk8k1.js → login-DAqoZl0F.js} +1 -1
  143. package/dist/{login-yF-sDNm9.js → login-fz4tUg2P.js} +3 -3
  144. package/dist/{manifest-DkHIGPoY.js → manifest-DbJC_rXj.js} +39 -39
  145. package/dist/mcp/index.d.ts +8 -8
  146. package/dist/mcp/index.js +2 -2
  147. package/dist/{measure-_VlSPfSY.js → measure-R9VWfQ2y.js} +1 -1
  148. package/dist/{model-r7X_HXyS.js → model-8NWofaam.js} +1 -1
  149. package/dist/nest/index.d.ts +4 -4
  150. package/dist/nest/index.js +1 -1
  151. package/dist/next/index.d.ts +11 -11
  152. package/dist/next/index.js +3 -3
  153. package/dist/next/plugin.d.ts +1 -1
  154. package/dist/node/index.d.ts +4 -4
  155. package/dist/node/index.js +1 -1
  156. package/dist/openai/index.d.ts +4 -4
  157. package/dist/openai/index.js +3 -3
  158. package/dist/openapi/index.d.ts +2 -2
  159. package/dist/{openapi-D156UqcM.js → openapi-BgXg8LkZ.js} +2 -2
  160. package/dist/{openapi-document-CTvHkCXz.js → openapi-document-BJcbM0-l.js} +1 -1
  161. package/dist/{openapi-Dcqqja0n.js → openapi-uxD7ABpM.js} +1 -1
  162. package/dist/orpc/index.d.ts +5 -5
  163. package/dist/orpc/index.js +2 -2
  164. package/dist/otel/index.d.ts +3 -3
  165. package/dist/{output-DNbj0_Yi.js → output-DZS9QWHI.js} +1 -1
  166. package/dist/{ownership-BvKT4DBj.js → ownership-DO5EF2nr.js} +2 -2
  167. package/dist/{parse-local-manifest-DoLQFkRb.d.ts → parse-local-manifest-BE_R-Ish.d.ts} +1 -1
  168. package/dist/pdp/index.d.ts +3 -3
  169. package/dist/pdp/index.js +1 -1
  170. package/dist/{permdock-DZmr2kJw.js → permdock-CbavFN6u.js} +4 -1
  171. package/dist/{permdock-CHU1LZGq.d.ts → permdock-NJ4-pCZy.d.ts} +2 -2
  172. package/dist/{permissions-DUmypTlO.js → permissions-BPYOb5OB.js} +1 -1
  173. package/dist/{pipeline-BMbLI2Sj.js → pipeline-IvdKfvuP.js} +2 -2
  174. package/dist/{plugin-DDPXES4k.d.ts → plugin-YAJ25tft.d.ts} +2 -2
  175. package/dist/{policy-BoUbJ2c0.d.ts → policy-BlOumPY5.d.ts} +1 -1
  176. package/dist/{policy-DekUQ-6v.js → policy-V-sHH2Ku.js} +1 -1
  177. package/dist/{policy-bundle-JU4-AFJM.js → policy-bundle-DyJKT9TF.js} +3 -3
  178. package/dist/{policy-types-DuM3k5Ao.d.ts → policy-types-CRWqx8qf.d.ts} +7 -2
  179. package/dist/{postgrest-B1bTbVE4.d.ts → postgrest-BGYDQhG1.d.ts} +7 -6
  180. package/dist/{powersync-D9ZLDzyv.js → powersync-BY6r-MIk.js} +1 -1
  181. package/dist/{powersync-CpxkK_Lz.js → powersync-BkN45DVg.js} +1 -1
  182. package/dist/{powersync-cG4lxrzQ.js → powersync-IqzV6QHS.js} +8 -8
  183. package/dist/prisma/index.d.ts +2 -2
  184. package/dist/{protected-action-Dux5RJbA.d.ts → protected-action-BbQb5G_c.d.ts} +5 -5
  185. package/dist/{provider-BSHAIpMK.d.ts → provider-B22nfOsw.d.ts} +1 -1
  186. package/dist/{provider-BfKUBNyV.js → provider-hQFC3b98.js} +1 -1
  187. package/dist/{prune-config-ByigsAkl.js → prune-config-BRqnw6rb.js} +4 -4
  188. package/dist/{pull-4Cyo0uTS.js → pull-PDxkxdGN.js} +1 -1
  189. package/dist/pull-n6noMzmE.js +1 -0
  190. package/dist/{pushed-policy-C65TbLtU.d.ts → pushed-policy-B2AXpqRr.d.ts} +1 -1
  191. package/dist/{rbac-BOVyTCI6.js → rbac-BK_wp3eK.js} +2 -2
  192. package/dist/react/index.d.ts +6 -6
  193. package/dist/react/lazy.d.ts +6 -6
  194. package/dist/react/provider-client-lazy.d.ts +1 -1
  195. package/dist/react/provider-client.d.ts +1 -1
  196. package/dist/react-native/index.d.ts +8 -8
  197. package/dist/{rename-Dp47Gs_j.js → rename-BbdlodFz.js} +2 -2
  198. package/dist/replay-DjZ4I8QN.d.ts +3 -0
  199. package/dist/{request-context-LvIolknK.js → request-context-C9FFFpuH.js} +1 -1
  200. package/dist/resend/index.d.ts +4 -4
  201. package/dist/{resolve-names-B_no27Dh.js → resolve-names-B85N2-Ws.js} +2 -2
  202. package/dist/{resolver-CAmmdVAL.js → resolver-C9-dU-SZ.js} +11 -6
  203. package/dist/{rls-DB18scnl.js → rls-BkXnBVXx.js} +7 -7
  204. package/dist/{rls-C816Uuvx.js → rls-DTXsf2zJ.js} +3 -3
  205. package/dist/{rls-files-Cp-qzl61.js → rls-files-BJMmTuC9.js} +1 -1
  206. package/dist/{rls-options-DCLdZaTZ.d.ts → rls-options-BWWTZWjh.d.ts} +1 -1
  207. package/dist/{rpc-CL8lrV5Y.d.ts → rpc-CqKQCBPN.d.ts} +1 -1
  208. package/dist/{rpc-CoClxzcc.js → rpc-RDBrKR7N.js} +1 -1
  209. package/dist/run-DqqVLgh_.js +1 -0
  210. package/dist/{run-CJhz8BHw.js → run-dwwtRWj6.js} +2 -2
  211. package/dist/{run-ticket-CCRYQNj0.d.ts → run-ticket-BIRal-vH.d.ts} +2 -2
  212. package/dist/{saas-iXqf78G8.js → saas-CHviJgF2.js} +2 -2
  213. package/dist/{scan-DvM-_F8-.js → scan-BGTnZXgx.js} +1 -1
  214. package/dist/{schema-uTRr3B9f.js → schema-KPTMZVeK.js} +1 -1
  215. package/dist/scim/index.d.ts +1 -1
  216. package/dist/seeds/index.d.ts +1 -1
  217. package/dist/{seeds-BZMPfWcC.d.ts → seeds-K00R0810.d.ts} +1 -1
  218. package/dist/server/index.d.ts +11 -11
  219. package/dist/server/index.js +1 -1
  220. package/dist/{server-types-C_Lnc8Ec.d.ts → server-types-CaKNUxdc.d.ts} +8 -8
  221. package/dist/{sink-CoMI_OVw.d.ts → sink-CCirKrLv.d.ts} +2 -2
  222. package/dist/{size-BO7J8M3B.js → size-Dm3777Ev.js} +3 -3
  223. package/dist/{skills-DF_3nX9_.js → skills-CexZ2QfF.js} +1 -1
  224. package/dist/{skills-B5exEJf5.js → skills-jPbcwqhX.js} +1 -1
  225. package/dist/{snapshot-cache-R1lJjYmI.d.ts → snapshot-cache-Dh_owfVu.d.ts} +1 -1
  226. package/dist/{snapshot-size-CJ53OOen.js → snapshot-size-CpdksnSr.js} +1 -1
  227. package/dist/{snapshot-size-BzamcZrn.js → snapshot-size-I_-fxGry.js} +1 -1
  228. package/dist/solid/index.d.ts +5 -5
  229. package/dist/solid-start/index.d.ts +4 -4
  230. package/dist/solid-start/index.js +2 -2
  231. package/dist/{sources-Dp6FQ8np.d.ts → sources-CD1OiqqK.d.ts} +1 -1
  232. package/dist/{src-CYKqpYUM.js → src-10d_jun2.js} +1 -1
  233. package/dist/ssf/index.d.ts +3 -3
  234. package/dist/{standard-webhooks-D2FwHtMX.d.ts → standard-webhooks-CiV4_mv2.d.ts} +2 -2
  235. package/dist/{store-core-D5-cqb6z.d.ts → store-core-fRqdlrep.d.ts} +4 -4
  236. package/dist/{stores-DPUPLu29.d.ts → stores-BXPRg1Ot.d.ts} +5 -5
  237. package/dist/{subject-cache-Bn4oJY_R.d.ts → subject-cache-1EtpGx3y.d.ts} +9 -1
  238. package/dist/supabase/index.d.ts +8 -8
  239. package/dist/supabase/index.js +3 -3
  240. package/dist/supabase/middleware.d.ts +5 -5
  241. package/dist/supabase/middleware.js +3 -3
  242. package/dist/{supabase-NpHqrRXC.js → supabase-CeJAHqZp.js} +2 -2
  243. package/dist/{supabase-Dpy2XE9v.js → supabase-DgHCnzMW.js} +2 -2
  244. package/dist/supabase-hook-8jAi64W9.js +2 -0
  245. package/dist/{supabase-hook-VIpXUHKI.js → supabase-hook-BIBC5Ihn.js} +5 -5
  246. package/dist/{supabase-schemas-DA28GP4N.js → supabase-schemas-DOc3cNnf.js} +1 -1
  247. package/dist/svelte/index.d.ts +5 -5
  248. package/dist/svelte/runtime.d.ts +3 -3
  249. package/dist/svelte/source.d.ts +5 -5
  250. package/dist/sveltekit/index.d.ts +4 -4
  251. package/dist/sveltekit/index.js +1 -1
  252. package/dist/{table-reads-B5kunhny.js → table-reads-CMP1MnPJ.js} +1 -1
  253. package/dist/{table-reads-4KzGXg9f.js → table-reads-CXecyZKo.js} +1 -1
  254. package/dist/{tables-BwQvlpS4.js → tables-C-DzDqKb.js} +5 -5
  255. package/dist/tanstack-start/index.d.ts +4 -4
  256. package/dist/tanstack-start/index.js +1 -1
  257. package/dist/{tenant-check-CsJkduIb.js → tenant-check-DoZibca6.js} +3 -3
  258. package/dist/terminal/index.d.ts +5 -5
  259. package/dist/terminal/index.js +2 -2
  260. package/dist/testing/core.d.ts +1 -1
  261. package/dist/testing/core.js +1 -1
  262. package/dist/testing/fixtures/index.d.ts +3 -3
  263. package/dist/testing/index.d.ts +22 -22
  264. package/dist/testing/index.js +5 -5
  265. package/dist/testing/saas/index.d.ts +3 -3
  266. package/dist/testing/saas/index.js +2 -2
  267. package/dist/testing/saas/permissions.js +1 -1
  268. package/dist/trpc/index.d.ts +5 -5
  269. package/dist/trpc/index.js +2 -2
  270. package/dist/{type-helpers-CsWH9z8p.d.ts → type-helpers-DTlfU9zX.d.ts} +1 -1
  271. package/dist/{types-iwSmOTcK.d.ts → types-BGDafbIK.d.ts} +4 -4
  272. package/dist/{types-BGN3coSe.d.ts → types-BdghnYGo.d.ts} +1 -1
  273. package/dist/{types-Cvfe-G_N.d.ts → types-C1jxMZ4q.d.ts} +2 -2
  274. package/dist/{types-D3GI2B9O.d.ts → types-C2GmBHtC.d.ts} +3 -3
  275. package/dist/{types-CM5GwxiJ.d.ts → types-CAGo84uV.d.ts} +4 -4
  276. package/dist/{types-B23A72BG.d.ts → types-CN3Tk7bb.d.ts} +2 -2
  277. package/dist/{types-CKwI6AT4.d.ts → types-CzAFVtMz.d.ts} +1 -1
  278. package/dist/{types-C8sDUhaF.d.ts → types-Jxy_Ko7f.d.ts} +2 -2
  279. package/dist/{types-BwjOhlgx.d.ts → types-XhEnMpL6.d.ts} +4 -4
  280. package/dist/{types-BRaJxlqL.d.ts → types-ZjPv-GgQ.d.ts} +3 -3
  281. package/dist/{types-config-DYRoZ8Iw.d.ts → types-config-B3eAej9-.d.ts} +2 -2
  282. package/dist/{types-run-CeCrWO0v.d.ts → types-run-sP7yLp61.d.ts} +1 -1
  283. package/dist/unplugin/index.d.ts +1 -1
  284. package/dist/{usage-_9h9jQo8.js → usage-BiTJQNJO.js} +2 -2
  285. package/dist/usage-D7-bsLte.js +1 -0
  286. package/dist/{usage-BD_z4pba.js → usage-ltA8iGa4.js} +1 -1
  287. package/dist/{validation-error-MZ7KLNHt.d.ts → validation-error-OX59FaXR.d.ts} +1 -1
  288. package/dist/{verify-cw6SFoQE.js → verify-Dj3OjNiD.js} +5 -5
  289. package/dist/{version-cache-Ccrfu2A4.js → version-cache-l9Zrfvhz.js} +8 -6
  290. package/dist/vue/index.d.ts +5 -5
  291. package/dist/{waiter-DdwtUSzB.d.ts → waiter-CyF-YowB.d.ts} +2 -2
  292. package/dist/{warm-XyQ-2nUR.js → warm-BOrs0-_j.js} +1 -1
  293. package/dist/{warm-znYuJoUZ.d.ts → warm-BYF-zxiy.d.ts} +1 -1
  294. package/dist/{watch-Cvc7eUPk.js → watch--c--3aEf.js} +1 -1
  295. package/dist/webmcp/index.d.ts +1 -1
  296. package/dist/workflow/index.d.ts +3 -3
  297. package/dist/workflow/index.js +1 -1
  298. package/dist/workflow-sdk/index.d.ts +4 -4
  299. package/dist/{wrap-B4Ge6LOd.d.ts → wrap-CPvBX9lm.d.ts} +2 -2
  300. package/package.json +2 -2
  301. package/dist/bundle-size-BoG9Jm7c.js +0 -1
  302. package/dist/claims-size-C6oKGuOM.js +0 -1
  303. package/dist/gen-CYuPbpBZ.js +0 -1
  304. package/dist/pull-_ic7Md2h.js +0 -1
  305. package/dist/replay-B__gzUx3.d.ts +0 -3
  306. package/dist/run-PpoUQXDc.js +0 -1
  307. package/dist/supabase-hook-DaK4Rirh.js +0 -2
  308. package/dist/usage-wphGxzPQ.js +0 -1
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  import { n as GenKindPluginOptions, t as ConstantsPluginOptions } from "../../gen-kind-DFQnQwFN.js";
3
3
  /**
4
4
  * Scope, role, permission and operation names and topic and path builders:
@@ -1,4 +1,4 @@
1
- import { t as kindPlugin } from "../../gen-kind-C4tERYMw.js";
1
+ import { t as kindPlugin } from "../../gen-kind-DIltjpY9.js";
2
2
  // src/cli/plugins/app.ts
3
3
  /**
4
4
  * Scope, role, permission and operation names and topic and path builders:
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  type BetterSupabasePluginOptions = {
3
3
  readonly manifest?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  type OpenApiPluginOptions = {
3
3
  /** The OpenAPI document to annotate. With none, the plugin emits nothing. */
4
4
  readonly doc?: string;
@@ -32,7 +32,7 @@ function openapi(options = {}) {
32
32
  return operationsFile(source.cwd, options.routes, task.out);
33
33
  }
34
34
  if (options.doc === void 0) return [];
35
- const { openapiDocument } = await import("../../openapi-document-CTvHkCXz.js");
35
+ const { openapiDocument } = await import("../../openapi-document-BJcbM0-l.js");
36
36
  return openapiDocument(task, options, source);
37
37
  }
38
38
  });
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  type PowerSyncPluginOptions = {
3
3
  readonly out?: string;
4
4
  };
@@ -18,7 +18,7 @@ function powersync(options = {}) {
18
18
  }],
19
19
  emit: async (task, _model, source) => {
20
20
  if (source === void 0) return [];
21
- const { powersyncFiles, publicationPath } = await import("../../powersync-D9ZLDzyv.js");
21
+ const { powersyncFiles, publicationPath } = await import("../../powersync-BY6r-MIk.js");
22
22
  return powersyncFiles(source.policy, source.config, task.out, await publicationPath(source.cwd, source.config)).files.map((file) => ({
23
23
  path: file.path,
24
24
  contents: file.text
@@ -1,5 +1,5 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
2
- import { t as RlsPluginOptions } from "../../rls-options-DCLdZaTZ.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
+ import { t as RlsPluginOptions } from "../../rls-options-BWWTZWjh.js";
3
3
  /**
4
4
  * The RLS plugin. The factory records options; the SQL generator loads on emit,
5
5
  * so importing `rls` does not load it.
@@ -19,7 +19,7 @@ function rls(options = {}) {
19
19
  }],
20
20
  config: (config) => withRlsOutputs(config, options),
21
21
  emit: async (task, _model, source) => {
22
- const { filesForRls } = await import("../../rls-files-Cp-qzl61.js");
22
+ const { filesForRls } = await import("../../rls-files-BJMmTuC9.js");
23
23
  return filesForRls(task, options, source);
24
24
  }
25
25
  });
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  import { n as GenKindPluginOptions, r as ZodPluginOptions } from "../../gen-kind-DFQnQwFN.js";
3
3
  /** Row validators as Zod schemas, from the model's JSON Schema. */
4
4
  export declare function zod(options?: ZodPluginOptions): PermDockPlugin;
@@ -1,4 +1,4 @@
1
- import { t as kindPlugin } from "../../gen-kind-C4tERYMw.js";
1
+ import { t as kindPlugin } from "../../gen-kind-DIltjpY9.js";
2
2
  // src/cli/plugins/schemas.ts
3
3
  /** Row validators as Zod schemas, from the model's JSON Schema. */
4
4
  function zod(options = {}) {
@@ -1,5 +1,5 @@
1
- import { l as RlsDialect } from "../../types-config-DYRoZ8Iw.js";
2
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { l as RlsDialect } from "../../types-config-B3eAej9-.js";
2
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
3
3
  type ScimPluginOptions = {
4
4
  readonly schema?: string;
5
5
  readonly dialect?: RlsDialect;
@@ -1,5 +1,5 @@
1
- import { o as SupabaseSchemas } from "../../types-config-DYRoZ8Iw.js";
2
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { o as SupabaseSchemas } from "../../types-config-B3eAej9-.js";
2
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
3
3
  type SupabaseHookPluginOptions = {
4
4
  readonly out?: string;
5
5
  readonly schemas?: SupabaseSchemas;
@@ -18,7 +18,7 @@ function supabaseHook(options = {}) {
18
18
  config: (config) => withHookOut(config, options.out),
19
19
  emit: async (_task, _model, source) => {
20
20
  if (source === void 0) return [];
21
- const { runSupabase } = await import("../../supabase-hook-DaK4Rirh.js");
21
+ const { runSupabase } = await import("../../supabase-hook-8jAi64W9.js");
22
22
  const outcome = await runSupabase({
23
23
  cwd: source.cwd,
24
24
  config: source.config,
@@ -1,6 +1,6 @@
1
- import { o as SupabaseSchemas } from "../../types-config-DYRoZ8Iw.js";
2
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
3
- import { t as RlsPluginOptions } from "../../rls-options-DCLdZaTZ.js";
1
+ import { o as SupabaseSchemas } from "../../types-config-B3eAej9-.js";
2
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
3
+ import { t as RlsPluginOptions } from "../../rls-options-BWWTZWjh.js";
4
4
  /** The Custom Access Token hook the plugin writes; `false` skips it. */
5
5
  type SupabaseHookOption = false | {
6
6
  readonly out?: string;
@@ -37,14 +37,14 @@ function supabase(options = {}) {
37
37
  config: (config) => withHookOut(withRlsOutputs(config, options), hookOut),
38
38
  emit: async (task, _model, source) => {
39
39
  if (task.id === "sql") {
40
- const { filesForRls } = await import("../../rls-files-Cp-qzl61.js");
40
+ const { filesForRls } = await import("../../rls-files-BJMmTuC9.js");
41
41
  return filesForRls(task, {
42
42
  ...rlsOptions,
43
43
  dialect: "supabase"
44
44
  }, source);
45
45
  }
46
46
  if (source === void 0) return [];
47
- const { runSupabase } = await import("../../supabase-hook-DaK4Rirh.js");
47
+ const { runSupabase } = await import("../../supabase-hook-8jAi64W9.js");
48
48
  const hookOptions = hook === false || hook === void 0 ? {} : hook;
49
49
  const outcome = await runSupabase({
50
50
  cwd: source.cwd,
@@ -1,4 +1,4 @@
1
- import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
1
+ import { t as PermDockPlugin } from "../../plugin-YAJ25tft.js";
2
2
  import { n as GenKindPluginOptions } from "../../gen-kind-DFQnQwFN.js";
3
3
  /** `permdock/react` bound to the policy's vocabulary. Carries `"use client"`. */
4
4
  export declare function reactHooks(options?: GenKindPluginOptions): PermDockPlugin;
@@ -1,4 +1,4 @@
1
- import { t as kindPlugin } from "../../gen-kind-C4tERYMw.js";
1
+ import { t as kindPlugin } from "../../gen-kind-DIltjpY9.js";
2
2
  // src/cli/plugins/ui.ts
3
3
  /** `permdock/react` bound to the policy's vocabulary. Carries `"use client"`. */
4
4
  function reactHooks(options = {}) {
@@ -1,5 +1,5 @@
1
- import { Ar as Subject } from "./policy-types-DuM3k5Ao.js";
2
- import { A as SupabaseSubjectOptions, C as SupabasePrincipal } from "./sources-Dp6FQ8np.js";
1
+ import { Ar as Subject } from "./policy-types-CRWqx8qf.js";
2
+ import { A as SupabaseSubjectOptions, C as SupabasePrincipal } from "./sources-CD1OiqqK.js";
3
3
  /**
4
4
  * The part of a supabase-js (or `@supabase/ssr`) client the subject reads:
5
5
  * `auth.getClaims()`, which verifies the token against the project's JWKS or
@@ -1,11 +1,11 @@
1
- import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types-BwjOhlgx.js";
2
- import { Cn as DirectoryEvent, Tn as MembershipEvent, _n as AutomationEvent, _t as TokenSigner, bn as DeliveryChannel, hn as AccessEvent, qt as Instant, vn as CredentialEvent, xn as DeliveryEvent, yn as DecisionEvent } from "../policy-types-DuM3k5Ao.js";
3
- import { c as DeliveryTransport } from "../types-D3GI2B9O.js";
4
- import { m as ApprovalStore } from "../types-BGN3coSe.js";
5
- import { n as ApprovalWaiter } from "../waiter-DdwtUSzB.js";
6
- import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-CoMI_OVw.js";
7
- import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-D2FwHtMX.js";
8
- import { l as ReplayStore } from "../types-Cvfe-G_N.js";
1
+ import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types-XhEnMpL6.js";
2
+ import { Cn as DirectoryEvent, Tn as MembershipEvent, _n as AutomationEvent, _t as TokenSigner, bn as DeliveryChannel, hn as AccessEvent, qt as Instant, vn as CredentialEvent, xn as DeliveryEvent, yn as DecisionEvent } from "../policy-types-CRWqx8qf.js";
3
+ import { c as DeliveryTransport } from "../types-C2GmBHtC.js";
4
+ import { m as ApprovalStore } from "../types-BdghnYGo.js";
5
+ import { n as ApprovalWaiter } from "../waiter-CyF-YowB.js";
6
+ import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-CCirKrLv.js";
7
+ import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-CiV4_mv2.js";
8
+ import { l as ReplayStore } from "../types-C1jxMZ4q.js";
9
9
  /**
10
10
  * The one base URL of PermDock Cloud. The platform issuer is this URL; its
11
11
  * OAuth routes, `/.well-known/oauth-authorization-server` and `/openapi.json`
@@ -70,7 +70,7 @@ const pull = defineLeaf({
70
70
  },
71
71
  async run(ctx, { flags }) {
72
72
  const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
73
- return (await import("./pull-_ic7Md2h.js")).runCloudPull({
73
+ return (await import("./pull-n6noMzmE.js")).runCloudPull({
74
74
  cwd: ctx.cwd,
75
75
  config: ctx.config,
76
76
  url: given(flags.url),
@@ -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-Lov9764v.js")).codemodVersions();
11
+ return (await import("./codemod-D8zh3IYV.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-ByigsAkl.js")).runPruneConfig({
36
+ return (await import("./prune-config-BRqnw6rb.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-Bfmhft2o.js")).runAccessTags({
44
+ if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-C4iPlzjs.js")).runAccessTags({
45
45
  cwd: ctx.cwd,
46
46
  ...rest[0] === void 0 ? {} : { schemas: rest[0] },
47
47
  dryRun: flags["dry-run"],
@@ -62,7 +62,7 @@ const codemod = defineLeaf({
62
62
  force: flags.force,
63
63
  json: ctx.json
64
64
  });
65
- return (await import("./codemod-Lov9764v.js")).runCodemod({
65
+ return (await import("./codemod-D8zh3IYV.js")).runCodemod({
66
66
  cwd: ctx.cwd,
67
67
  version: args["version"],
68
68
  paths: rest,
@@ -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-DkHIGPoY.js";
8
+ import { n as ROOT } from "./manifest-DbJC_rXj.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";
@@ -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-CyUn58lf.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-CFV4wDo9.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 };
@@ -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-BX97oFAn.js";
13
13
  import { i as configError } from "./errors-DgLOqc6j.js";
14
- import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-BwQvlpS4.js";
14
+ import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-C-DzDqKb.js";
15
15
  import { t as connectPgPool } from "./pg-DmS5ITHu.js";
16
16
  import { S as scopeTable } from "./names-DwGleRKB.js";
17
17
  import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-LNaBdCGA.js";
18
- import { r as interactiveAllowsCall } from "./interactive-only-CylKSukS.js";
18
+ import { r as interactiveAllowsCall } from "./interactive-only-ad2JJYk8.js";
19
19
  import { _ as validitySql, h as andSql, v as wrapSql } from "./fields-CKX-qjWb.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-BOVyTCI6.js";
21
+ import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-BK_wp3eK.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
- import { p as WhereResult } from "./permdock-CHU1LZGq.js";
1
+ import { p as WhereResult } from "./permdock-NJ4-pCZy.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-DuM3k5Ao.js";
3
+ import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-CRWqx8qf.js";
4
4
  import { r as RelationsMapping, t as GraphSql } from "./graph-sql-Ds3nbevr.js";
5
5
  type MembershipTable = {
6
6
  readonly table: string;
@@ -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-DkHIGPoY.js";
3
+ import { a as resolve } from "./manifest-DbJC_rXj.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-Cs6iDebE.js");
13
+ const { runConfig } = await import("./config-report-Kb-mYv9F.js");
14
14
  return runConfig({
15
15
  cwd: ctx.cwd,
16
16
  config: ctx.config,
@@ -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-Co-w8Eg2.js";
4
- import { t as DOCS_BASE } from "./manifest-DkHIGPoY.js";
4
+ import { t as DOCS_BASE } from "./manifest-DbJC_rXj.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";
@@ -1,5 +1,5 @@
1
1
  import { n as packageManagerOf } from "./peer-D77JpXe-.js";
2
- import { c as readSupabaseConfig } from "./supabase-schemas-DA28GP4N.js";
2
+ import { c as readSupabaseConfig } from "./supabase-schemas-DOc3cNnf.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-DuM3k5Ao.js";
2
- import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-BliKrfmP.js";
3
- import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
4
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
1
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
2
+ import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-C35fh_2K.js";
3
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
4
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
5
5
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
6
6
  type ConvexContextLike = {
7
7
  readonly auth?: {
@@ -1,7 +1,7 @@
1
1
  import { n as tenantScope, t as actorFrom } from "../adapter-context-lHq_i_77.js";
2
2
  import { n as PermDockValidationError } from "../validation-error-CgDOA6VS.js";
3
- import { u as withApp } from "../permdock-DZmr2kJw.js";
4
- import { n as resolveOrNull, t as buildInstance } from "../build-instance-CZg_Bf45.js";
3
+ import { u as withApp } from "../permdock-CbavFN6u.js";
4
+ import { n as resolveOrNull, t as buildInstance } from "../build-instance-BGpABVbM.js";
5
5
  import { t as compact } from "../compact-C4LFuqbW.js";
6
6
  import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
7
7
  // src/convex/create.ts
@@ -1,10 +1,10 @@
1
1
  import { t as fromSnapshot } from "./from-snapshot-DZ4D2sLa.js";
2
2
  import { c as listPermissions } from "./permission-registry-DstT40VS.js";
3
- import { t as getPermDock } from "./permdock-DZmr2kJw.js";
3
+ import { t as getPermDock } from "./permdock-CbavFN6u.js";
4
4
  import { C as membershipsClaim } from "./evaluate-DNz6wMYv.js";
5
5
  import { d as scopeList } from "./scopes-B-KX9EI8.js";
6
6
  import { c as quoteSqlTable, n as defaultSqlCommand, o as quoteSqlIdent, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
7
- import { A as memoryCustomRoleSource } from "./src-CYKqpYUM.js";
7
+ import { A as memoryCustomRoleSource } from "./src-10d_jun2.js";
8
8
  import { n as parseSnapshot } from "./snapshot-Dzi4LR6n.js";
9
9
  import "./budget-BH81q2cj.js";
10
10
  // src/testing/policy-matrix.ts
@@ -1,5 +1,5 @@
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-CHU1LZGq.js";
1
+ import { D as Policy, Dr as Membership, Sr as CustomRole, ir as Decision } from "./policy-types-CRWqx8qf.js";
2
+ import { o as PermDockOptions, p as WhereResult } from "./permdock-NJ4-pCZy.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,10 +1,10 @@
1
- import { u as withApp } from "./permdock-DZmr2kJw.js";
1
+ import { u as withApp } from "./permdock-CbavFN6u.js";
2
2
  import { t as compact } from "./compact-C4LFuqbW.js";
3
3
  import { c as deniedFor } from "./may-use-ikNCnNgZ.js";
4
4
  import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
5
5
  import { t as instanceOptions } from "./instance-options-CLErhA76.js";
6
6
  import { t as composeWraps } from "./wrap-CsfsaJhd.js";
7
- import { n as createAgentKernel } from "./kernel-CzzmzwLg.js";
7
+ import { n as createAgentKernel } from "./kernel-yI0nUyuX.js";
8
8
  // src/agent/create.ts
9
9
  function modelRow(modelId) {
10
10
  return { id: modelId };
@@ -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-DuM3k5Ao.js";
2
- import { a as PermDock } from "./permdock-CHU1LZGq.js";
3
- import { m as ApprovalStore } from "./types-BGN3coSe.js";
4
- import { t as InstanceOptions } from "./instance-options-D-SLCp4I.js";
1
+ import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, wr as Delegation } from "./policy-types-CRWqx8qf.js";
2
+ import { a as PermDock } from "./permdock-NJ4-pCZy.js";
3
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
4
+ import { t as InstanceOptions } from "./instance-options-CUNLusL6.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-B4Ge6LOd.js";
9
- import { o as OtelWrap } from "./types-B23A72BG.js";
10
- import { t as DeniedText } from "./denied-text-DgNqDAPH.js";
8
+ import { n as PermDockWrap } from "./wrap-CPvBX9lm.js";
9
+ import { o as OtelWrap } from "./types-CN3Tk7bb.js";
10
+ import { t as DeniedText } from "./denied-text-u4OC-MYV.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-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-CHU1LZGq.js";
1
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
2
+ import { a as AutomationSource } from "./automation-DdarCGcn.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-CRWqx8qf.js";
4
+ import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-NJ4-pCZy.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-CCRYQNj0.js";
7
- import { n as ApprovalWaiter } from "./waiter-DdwtUSzB.js";
6
+ import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-BIRal-vH.js";
7
+ import { n as ApprovalWaiter } from "./waiter-CyF-YowB.js";
8
8
  type WorkflowPermDockOptions = PermDockOptions & {
9
9
  /** Signs the run tickets `start` mints. */
10
10
  readonly signer: TokenSigner;
@@ -1,5 +1,5 @@
1
1
  import { n as tenantScope, t as actorFrom } from "./adapter-context-lHq_i_77.js";
2
- import { n as resolveOrNull } from "./build-instance-CZg_Bf45.js";
2
+ import { n as resolveOrNull } from "./build-instance-BGpABVbM.js";
3
3
  import { c as listPermissions } from "./permission-registry-DstT40VS.js";
4
4
  import { t as compact } from "./compact-C4LFuqbW.js";
5
5
  import { t as LOAD_FAILED } from "./decision-hHv4UZgy.js";
@@ -7,9 +7,9 @@ import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
7
7
  import { n as problemDetails } from "./problem-details-EJHcvYCz.js";
8
8
  import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-BZB7zPC7.js";
9
9
  import { f as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-DPEAu_jM.js";
10
- import { i as challengeScope, u as withApp } from "./permdock-DZmr2kJw.js";
10
+ import { i as challengeScope, u as withApp } from "./permdock-CbavFN6u.js";
11
11
  import { t as deferredSink } from "./deferred-sink-BZahJ8sO.js";
12
- import { n as requestContext, t as buildReportingInstance } from "./request-context-LvIolknK.js";
12
+ import { n as requestContext, t as buildReportingInstance } from "./request-context-C9FFFpuH.js";
13
13
  import { n as decideSet, r as permissionList } from "./decide-set-CgNcE6pP.js";
14
14
  import { n as resourceRef } from "./resource-ref-BiQtFK-I.js";
15
15
  import { r as hasCredentials } from "./http-C9jDw_bZ.js";
@@ -1,9 +1,9 @@
1
1
  import { n as ApprovalErrorCode } from "./errors-KngVdJT9.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";
2
+ import { m as ApprovalStore, p as ApprovalStatus } from "./types-BdghnYGo.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-CRWqx8qf.js";
4
4
  import { t as Operation } from "./operations-DaEoGpMV.js";
5
- import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-CHU1LZGq.js";
6
- import { t as ApprovalPrompt } from "./approval-prompt-BKxaKtby.js";
5
+ import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-NJ4-pCZy.js";
6
+ import { t as ApprovalPrompt } from "./approval-prompt-DCC4jp2s.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,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-DuM3k5Ao.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-CRWqx8qf.js";
2
2
  import { E as PermissionTree } from "./vocabulary-DHfKPIC5.js";
3
- import { v as PrincipalSource } from "./permdock-CHU1LZGq.js";
3
+ import { v as PrincipalSource } from "./permdock-NJ4-pCZy.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>`. */
@@ -6,7 +6,7 @@ import { t as beforeFirst } from "./text-D704xHVl.js";
6
6
  import { C as tenantTypeOf } from "./subject-B7p94Y0s.js";
7
7
  import { a as quoteIdent, c as quoteTable, i as qualified, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
8
8
  import { t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
9
- import { B as rolesTableScope, P as currentKeyExpr } from "./interactive-only-CylKSukS.js";
9
+ import { B as rolesTableScope, P as currentKeyExpr } from "./interactive-only-ad2JJYk8.js";
10
10
  // src/cli/rls/custom-role-rebuild.ts
11
11
  const PREFIX = "PermDock CLI";
12
12
  /** A column of the roles-table row `r`. */
@@ -1,10 +1,10 @@
1
- import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
- import { r as ApiKeySubjectOptions } from "./credentials-DtSnydoD.js";
1
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
2
+ import { r as ApiKeySubjectOptions } from "./credentials-e872ACwg.js";
3
3
  import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
4
- import { t as InstanceOptions } from "./instance-options-D-SLCp4I.js";
5
- import { a as PermDock, o as PermDockOptions } from "./permdock-CHU1LZGq.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";
4
+ import { t as InstanceOptions } from "./instance-options-CUNLusL6.js";
5
+ import { a as PermDock, o as PermDockOptions } from "./permdock-NJ4-pCZy.js";
6
+ import { n as SubjectCache, s as VersionCache } from "./subject-cache-1EtpGx3y.js";
7
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-CRWqx8qf.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
@@ -1,5 +1,5 @@
1
1
  import { i as memoryApprovalStore } from "./store-n3yEN7dt.js";
2
- import { c as APP, t as getPermDock } from "./permdock-DZmr2kJw.js";
2
+ import { c as APP, t as getPermDock } from "./permdock-CbavFN6u.js";
3
3
  import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
4
4
  import { t as instanceOptions } from "./instance-options-CLErhA76.js";
5
5
  import { n as memoryLimitStore, t as limits } from "./limits-DpTxX6N4.js";
@@ -1,5 +1,5 @@
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-CT4VKXU-.js";
1
+ import { Sn as DeliveryFailureCause, bn as DeliveryChannel, wn as EmailCategory } from "../policy-types-CRWqx8qf.js";
2
+ import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-DCC4jp2s.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-C2GmBHtC.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-D9DsY164.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-DuM3k5Ao.js";
1
+ import { ir as Decision } from "./policy-types-CRWqx8qf.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-DuM3k5Ao.js";
1
+ import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-CRWqx8qf.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";
@@ -21,7 +21,7 @@ const diff = defineLeaf({
21
21
  }
22
22
  },
23
23
  async run(ctx, { flags, args }) {
24
- return (await import("./diff-BABnQ-z0.js")).runDiff({
24
+ return (await import("./diff-Sxca4_5q.js")).runDiff({
25
25
  cwd: ctx.cwd,
26
26
  config: ctx.config,
27
27
  sources: [args["before"], args["after"]].filter((value) => value !== void 0),
@@ -3,8 +3,8 @@ import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
3
3
  import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
4
4
  import { g as secondsOf } from "./time-r0CKBm57.js";
5
5
  import { n as findPermission } from "./permission-registry-DstT40VS.js";
6
- import { t as getPermDock } from "./permdock-DZmr2kJw.js";
7
- import { A as memoryCustomRoleSource } from "./src-CYKqpYUM.js";
6
+ import { t as getPermDock } from "./permdock-CbavFN6u.js";
7
+ import { A as memoryCustomRoleSource } from "./src-10d_jun2.js";
8
8
  import { t as buildCatalog } from "./catalog-doc-BX97oFAn.js";
9
9
  import { f as usageResult, i as configError } from "./errors-DgLOqc6j.js";
10
10
  import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
@@ -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-Chio5Col.js");
14
+ const { DOCTOR_CHECKS } = await import("./doctor-XSdrG1SZ.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-Chio5Col.js")).runDoctor({
49
+ return (await import("./doctor-XSdrG1SZ.js")).runDoctor({
50
50
  cwd: ctx.cwd,
51
51
  config: ctx.config,
52
52
  only: flags.only,