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,7 +1,7 @@
1
- import { D as Policy, Or as Principal, br as AuthorizationDetail } from "../policy-types-DuM3k5Ao.js";
2
- import { m as ApprovalStore } from "../types-BGN3coSe.js";
3
- import { a as ProblemDetails } from "../errors-BliKrfmP.js";
4
- import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
1
+ import { D as Policy, Or as Principal, br as AuthorizationDetail } from "../policy-types-CRWqx8qf.js";
2
+ import { m as ApprovalStore } from "../types-BdghnYGo.js";
3
+ import { a as ProblemDetails } from "../errors-C35fh_2K.js";
4
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
5
5
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
6
6
  type A2aAuth = {
7
7
  readonly clientId?: string;
package/dist/a2a/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as createAgentKernel } from "../kernel-CzzmzwLg.js";
2
- import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-DZmr2kJw.js";
1
+ import { n as createAgentKernel } from "../kernel-yI0nUyuX.js";
2
+ import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-CbavFN6u.js";
3
3
  import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
4
4
  import { t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as delegationFrom } from "../delegation-input-7Y5Rlja7.js";
@@ -1,4 +1,4 @@
1
- import { t as DOCS_BASE } from "./manifest-DkHIGPoY.js";
1
+ import { t as DOCS_BASE } from "./manifest-DbJC_rXj.js";
2
2
  import { r as listSourceFiles } from "./files-DAR51W3J.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { relative } from "node:path";
@@ -1,3 +1,3 @@
1
- import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-D12I1Vkl.js";
2
- import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
1
+ import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-BTthKNP0.js";
2
+ import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-u4OC-MYV.js";
3
3
  export { type AgentAdapterOptions, type AgentPermDock, type AgentPermDockOptions, type DecideToolOptions, type DeniedText, type DeniedTextEvent, type GatewayOptions, type ModelMap, type OperationVerdict, type StepUp, type ToolBinding, type ToolMap, createPermDock };
@@ -1 +1 @@
1
- export { n as createPermDock } from "../create-bbjS7tCW.js";
1
+ export { n as createPermDock } from "../create-BICq9l-p.js";
@@ -1,7 +1,7 @@
1
- import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-D12I1Vkl.js";
1
+ import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-BTthKNP0.js";
2
2
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
3
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
4
- import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
3
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
4
+ import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-u4OC-MYV.js";
5
5
  type AiSdkContext = {
6
6
  readonly runtimeContext?: unknown;
7
7
  readonly permdockApproval?: string;
@@ -1,6 +1,6 @@
1
- import { t as agentRuntime } from "../create-bbjS7tCW.js";
2
- import { r as stepUpText, t as approvalTokenOf } from "../kernel-CzzmzwLg.js";
3
- import { u as withApp } from "../permdock-DZmr2kJw.js";
1
+ import { t as agentRuntime } from "../create-BICq9l-p.js";
2
+ import { r as stepUpText, t as approvalTokenOf } from "../kernel-yI0nUyuX.js";
3
+ import { u as withApp } from "../permdock-CbavFN6u.js";
4
4
  import { t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
6
6
  // src/ai-sdk/create.ts
@@ -1,2 +1,2 @@
1
- import { a as AppOptions, i as definePermDock, n as PermDockDefinition, o as AppProfile, r as PermDockQuery, t as PermDockApp } from "../define-permdock-ZR0w-Loy.js";
1
+ import { a as AppOptions, i as definePermDock, n as PermDockDefinition, o as AppProfile, r as PermDockQuery, t as PermDockApp } from "../define-permdock-8YZPaa9x.js";
2
2
  export { type AppOptions, type AppProfile, type PermDockApp, type PermDockDefinition, type PermDockQuery, definePermDock };
package/dist/app/index.js CHANGED
@@ -1 +1 @@
1
- export { t as definePermDock } from "../define-permdock-Dazve5lw.js";
1
+ export { t as definePermDock } from "../define-permdock-B0q7Rg9b.js";
@@ -1,4 +1,4 @@
1
- import { u as ApprovalRequest } from "./types-BGN3coSe.js";
1
+ import { u as ApprovalRequest } from "./types-BdghnYGo.js";
2
2
  import { s as OperationMeta, t as Operation } from "./operations-DaEoGpMV.js";
3
3
  /**
4
4
  * What an email or chat prompt shows an approver, wire format v1. It carries no
@@ -1,6 +1,6 @@
1
- import { _ as DEFAULT_APPROVAL_TTL, a as ApprovalDelegationSource, b as escalationOpenAt, c as ApprovalListQuery, d as ApprovalResumeFailureCause, f as ApprovalSignature, g as ApprovalVerdict, h as ApprovalSubjectSummary, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, n as ApprovalApprovers, o as ApprovalInspectResult, p as ApprovalStatus, r as ApprovalCancelMeta, s as ApprovalListFilter, t as APPROVAL_HEADER, u as ApprovalRequest, v as approvalQuorum, y as approverRelationKey } from "../types-BGN3coSe.js";
1
+ import { _ as DEFAULT_APPROVAL_TTL, a as ApprovalDelegationSource, b as escalationOpenAt, c as ApprovalListQuery, d as ApprovalResumeFailureCause, f as ApprovalSignature, g as ApprovalVerdict, h as ApprovalSubjectSummary, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, n as ApprovalApprovers, o as ApprovalInspectResult, p as ApprovalStatus, r as ApprovalCancelMeta, s as ApprovalListFilter, t as APPROVAL_HEADER, u as ApprovalRequest, v as approvalQuorum, y as approverRelationKey } from "../types-BdghnYGo.js";
2
2
  import { n as ApprovalErrorCode, r as isApprovalError, t as ApprovalError } from "../errors-KngVdJT9.js";
3
- import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, o as AccessReviewItemStatus, r as AccessReviewItem, s as AccessReviewStatus, t as AccessReview } from "../types-CKwI6AT4.js";
4
- import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-DY1aJ-K1.js";
3
+ import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, o as AccessReviewItemStatus, r as AccessReviewItem, s as AccessReviewStatus, t as AccessReview } from "../types-CzAFVtMz.js";
4
+ import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-p5y3whIg.js";
5
5
  import { t as approvalFingerprint } from "../token-BgswTQzt.js";
6
6
  export { APPROVAL_HEADER, APPROVAL_REQUEST_SCHEMA, type AccessReview, type AccessReviewDecision, AccessReviewError, type AccessReviewErrorCode, type AccessReviewHolder, type AccessReviewItem, type AccessReviewItemPage, type AccessReviewItemQuery, type AccessReviewItemStatus, type AccessReviewOptions, type AccessReviewStatus, type AccessReviewStore, type AccessReviewVerdict, type AccessReviewsHandlerOptions, type ApprovalApprovers, type ApprovalCancelMeta, type ApprovalCursorPosition, type ApprovalDelegation, type ApprovalDelegationMatch, type ApprovalDelegationSource, ApprovalError, type ApprovalErrorCode, type ApprovalInspectResult, type ApprovalListFilter, type ApprovalListQuery, type ApprovalPage, type ApprovalRequest, type ApprovalResumeFailureCause, type ApprovalSignature, type ApprovalSignatureClaims, type ApprovalSignatureEntry, type ApprovalStatus, type ApprovalStore, type ApprovalSubjectSummary, type ApprovalVerdict, type ApprovalView, type ApprovalsHandlerOptions, type ApproverDirectory, type ApproverRelationsOptions, DEFAULT_APPROVAL_TTL, type IdempotencyRecord, type IdempotencyStore, type IdempotentCall, type IdempotentResponse, type MatchDelegationOptions, type MemoryAccessReviewStore, type MemoryApprovalStore, type SignApprovalOptions, type StartAccessReviewInput, accessReviewerEligible, accessReviewsHandler, applyApprovalVerdict, approvalEntityTag, approvalFingerprint, approvalPageSize, approvalQuorum, approvalSignatureClaims, approvalView, approvalsHandler, approverPermissions, approverRelationKey, approverRelations, assertApprover, cancelApprovals, consumeApproval, decideAccessReviewItem, decodeApprovalCursor, encodeApprovalCursor, escalationOpenAt, idempotencyRecord, idempotencyRecordKey, inspectApproval, isAccessReviewError, isApprovalError, listAllApprovals, matchDelegation, matchesIdempotencyRecord, memoryAccessReviewStore, memoryApprovalDelegationSource, memoryApprovalStore, memoryIdempotencyStore, pageAccessReviewItems, pageApprovals, parseApprovalDelegation, parseApprovalRequest, readApprovalHeader, requestApproval, resolveApproval, resumeDecision, resumeFromHeader, signApproval, startAccessReview, storedApprovalToken, summarizeSubject, vouchApproval };
@@ -21,7 +21,7 @@ const check = defineLeaf({
21
21
  ...permissionsFlag
22
22
  },
23
23
  async run(ctx, { flags }) {
24
- return (await import("./arazzo-rYG2UY9k.js")).runArazzo({
24
+ return (await import("./arazzo-CyENGJ-M.js")).runArazzo({
25
25
  cwd: ctx.cwd,
26
26
  config: ctx.config,
27
27
  doc: given(flags.doc),
@@ -1,6 +1,6 @@
1
- import { y as arazzoFindings } from "./src-CYKqpYUM.js";
1
+ import { y as arazzoFindings } from "./src-10d_jun2.js";
2
2
  import { d as missingInput } from "./errors-DgLOqc6j.js";
3
- import { t as DOCS_BASE } from "./manifest-DkHIGPoY.js";
3
+ import { t as DOCS_BASE } from "./manifest-DbJC_rXj.js";
4
4
  import { t as ARAZZO_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
5
5
  import { i as readJsonFile } from "./files-DAR51W3J.js";
6
6
  import { a as loadModule, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
@@ -1,9 +1,9 @@
1
- import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
1
+ import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CaKNUxdc.js";
2
2
  import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
3
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
3
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
4
4
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
5
- import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
6
- import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CdaSVKrt.js";
5
+ import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-CRWqx8qf.js";
6
+ import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CQSxXotl.js";
7
7
  import { APIContext, MiddlewareHandler } from "astro";
8
8
  type AstroPermDockOptions<TUser = unknown> = FetchAdapterOptions<APIContext, TUser>;
9
9
  /** What the adapter sets on `context.locals`. */
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
2
+ import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
3
3
  // src/astro/create.ts
4
4
  const route = {
5
5
  context: (context) => context,
@@ -1,9 +1,9 @@
1
- import { m as ApprovalStore } from "../types-BGN3coSe.js";
2
- import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
3
- import { p as WhereResult } from "../permdock-CHU1LZGq.js";
4
- import { D as Policy, Or as Principal, vr as Actor, wr as Delegation } from "../policy-types-DuM3k5Ao.js";
5
- import { a as ProblemDetails } from "../errors-BliKrfmP.js";
6
- import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-BYoj5ci6.js";
1
+ import { m as ApprovalStore } from "../types-BdghnYGo.js";
2
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
3
+ import { p as WhereResult } from "../permdock-NJ4-pCZy.js";
4
+ import { D as Policy, Or as Principal, vr as Actor, wr as Delegation } from "../policy-types-CRWqx8qf.js";
5
+ import { a as ProblemDetails } from "../errors-C35fh_2K.js";
6
+ import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-BiZYgET4.js";
7
7
  type AuthzenEntity = {
8
8
  readonly type?: unknown;
9
9
  readonly id?: unknown;
@@ -1,4 +1,4 @@
1
- import { n as resolveOrNull, t as buildInstance } from "../build-instance-CZg_Bf45.js";
1
+ import { n as resolveOrNull, t as buildInstance } from "../build-instance-BGpABVbM.js";
2
2
  import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
3
3
  import { r as ownGet } from "../paths-CeS_gpHf.js";
4
4
  import { a as getResource, c as listPermissions } from "../permission-registry-DstT40VS.js";
@@ -1,4 +1,4 @@
1
- import { Kt as InstanceHandle, ar as Denial, qt as Instant } from "./policy-types-DuM3k5Ao.js";
1
+ import { Kt as InstanceHandle, ar as Denial, qt as Instant } from "./policy-types-CRWqx8qf.js";
2
2
  import { t as Operation } from "./operations-DaEoGpMV.js";
3
3
  import { w as Permission } from "./vocabulary-DHfKPIC5.js";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Ar as Subject, F as RoleBinding, Or as Principal, X as DecisionSink, q as CustomRoleSource } from "../policy-types-DuM3k5Ao.js";
1
+ import { Ar as Subject, F as RoleBinding, Or as Principal, X as DecisionSink, q as CustomRoleSource } from "../policy-types-CRWqx8qf.js";
2
2
  import { E as PermissionTree } from "../vocabulary-DHfKPIC5.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  type BetterAuthPrincipal = Principal & {
@@ -1,21 +1,21 @@
1
- import { c as AccessReviewStore } from "../types-CKwI6AT4.js";
2
- import { D as InstanceCache, F as PermissionState, P as PermissionCheck, a as PermDock, g as PrincipalIdentity, o as PermDockOptions, u as SnapshotOptions, v as PrincipalSource, z as ApprovalPolicySource } from "../permdock-CHU1LZGq.js";
3
- import { Ar as Subject, D as Policy, G as CredentialVerifier, In as ApproverInput, N as PolicyVocabulary, Or as Principal, Q as Intent, Tt as SupportSession, cr as DeniedDecision, gn as AuthEvent, it as MembershipSource, jt as ApiKeyPrincipal, qt as Instant, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
4
- import { n as PostgrestSourcesOptions, r as SupabaseRpcCaller } from "../postgrest-B1bTbVE4.js";
5
- import { m as ApprovalStore } from "../types-BGN3coSe.js";
1
+ import { c as AccessReviewStore } from "../types-CzAFVtMz.js";
2
+ import { D as InstanceCache, F as PermissionState, P as PermissionCheck, a as PermDock, g as PrincipalIdentity, o as PermDockOptions, u as SnapshotOptions, v as PrincipalSource, z as ApprovalPolicySource } from "../permdock-NJ4-pCZy.js";
3
+ import { Ar as Subject, D as Policy, G as CredentialVerifier, In as ApproverInput, N as PolicyVocabulary, Or as Principal, Q as Intent, Tt as SupportSession, cr as DeniedDecision, gn as AuthEvent, it as MembershipSource, jt as ApiKeyPrincipal, qt as Instant, rn as Snapshot } from "../policy-types-CRWqx8qf.js";
4
+ import { n as PostgrestSourcesOptions, r as SupabaseRpcCaller } from "../postgrest-BGYDQhG1.js";
5
+ import { m as ApprovalStore } from "../types-BdghnYGo.js";
6
6
  import { i as OperationEffect } from "../operations-DaEoGpMV.js";
7
7
  import { E as PermissionTree, w as Permission } from "../vocabulary-DHfKPIC5.js";
8
- import { n as Warmable } from "../warm-znYuJoUZ.js";
9
- import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
10
- import { n as SubjectCache, s as VersionCache } from "../subject-cache-Bn4oJY_R.js";
11
- import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-Dp6FQ8np.js";
8
+ import { n as Warmable } from "../warm-BYF-zxiy.js";
9
+ import { t as InstanceOptions } from "../instance-options-CUNLusL6.js";
10
+ import { n as SubjectCache, s as VersionCache } from "../subject-cache-1EtpGx3y.js";
11
+ import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-CD1OiqqK.js";
12
12
  import { i as SupabaseManifest } from "../manifest-BwhZ1s5b.js";
13
- import { r as PermissionKeyOf } from "../type-helpers-CsWH9z8p.js";
13
+ import { r as PermissionKeyOf } from "../type-helpers-DTlfU9zX.js";
14
14
  import { t as SqlQuery } from "../sql-BYYNi1lu.js";
15
- import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-ZR0w-Loy.js";
16
- import { t as SupabaseClaimsClient } from "../client-subject-YAGMzRa-.js";
15
+ import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-8YZPaa9x.js";
16
+ import { t as SupabaseClaimsClient } from "../client-subject-DSF0IYGW.js";
17
17
  import { a as CatalogDocument } from "../types-CbJ5mxXv.js";
18
- import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BW-vAxJi.js";
18
+ import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-CsiHf7K3.js";
19
19
  import { AccessBucketPolicy, AccessTopicPolicy, AuthorizationHooks, AuthorizationProvider, AuthorizationRequest, Authorizer, BlockTables, CredentialProvider, SupportAuthorize, SupportAuthorizeInput, ToolDecision, ToolRef } from "better-supabase/contract";
20
20
  import { AuthSession, DelegationRef } from "better-supabase/server";
21
21
  import { EntitlementClaimOptions } from "better-supabase/blocks/entitlements";
@@ -3,7 +3,7 @@ import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
3
3
  import { o as flattenGrantee } from "../grantee-BSCdpIF3.js";
4
4
  import { c as listPermissions, n as findPermission, o as isPermission } from "../permission-registry-DstT40VS.js";
5
5
  import { i as dateAt, m as rfc3339, p as nowSeconds, u as isoAt } from "../time-r0CKBm57.js";
6
- import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-CAmmdVAL.js";
6
+ import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-C9-dU-SZ.js";
7
7
  import { s as ApprovalError } from "../types-DFZKovb3.js";
8
8
  import { t as parseApprovalRequest } from "../parse-request-IEEzVFM8.js";
9
9
  import { t as applyApprovalVerdict } from "../store-n3yEN7dt.js";
@@ -16,11 +16,11 @@ import { a as flattenApprovers, i as approverManagerKey, r as approverLeaves } f
16
16
  import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
17
17
  import { r as sha256Digest } from "../sha256-DFsnyVPo.js";
18
18
  import { r as expandGrants } from "../snapshot-compact-BWMLnIXK.js";
19
- import { s as scopesReaching, t as getPermDock } from "../permdock-DZmr2kJw.js";
19
+ import { s as scopesReaching, t as getPermDock } from "../permdock-CbavFN6u.js";
20
20
  import { d as scopeList } from "../scopes-B-KX9EI8.js";
21
21
  import { n as holdsActiveTenant, t as OTHER_TRUNCATED_CLAIMS } from "../share-key-claims-CZGAeVqa.js";
22
22
  import { i as snapshotTag } from "../snapshot-cache-DTTEfmxv.js";
23
- import { n as warmUp } from "../warm-XyQ-2nUR.js";
23
+ import { n as warmUp } from "../warm-BOrs0-_j.js";
24
24
  import { r as isSubject, t as anonymousSubject } from "../subject-DkxY-AhF.js";
25
25
  import { r as credentialSubject, s as parseCredential } from "../credential-D9in5keC.js";
26
26
  import { s as subjectFromSupabaseSession, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
@@ -28,13 +28,13 @@ import { n as parseSupabaseManifest } from "../manifest-teSfgeqF.js";
28
28
  import { t as loadPrincipal } from "../principal-source-BIcukkB3.js";
29
29
  import { n as subscribersFor } from "../audience-B6DQ5wQu.js";
30
30
  import { t as decideSupportSession } from "../support-session-DpzcGTuV.js";
31
- import { r as widenedKeys, t as authorizationProvider } from "../provider-BfKUBNyV.js";
31
+ import { r as widenedKeys, t as authorizationProvider } from "../provider-hQFC3b98.js";
32
32
  import { n as parseApprovalHeader } from "../approval-header-BvszJE3l.js";
33
33
  import { i as qualifySqlTable, l as sqlIdent } from "../sql-T4GaBh9X.js";
34
34
  import { o as junctionMembershipSource } from "../sources-C6Id63F8.js";
35
35
  import { t as parseCatalog } from "../parse-CUqZ_lLC.js";
36
36
  import { n as policyRowConditionKeys } from "../row-conditions-BjARoFLU.js";
37
- import { t as definePermDock$1 } from "../define-permdock-Dazve5lw.js";
37
+ import { t as definePermDock$1 } from "../define-permdock-B0q7Rg9b.js";
38
38
  import { i as linkPolicyViolation, n as capabilityOf, r as capabilitySubject } from "../capability-oxfxybFR.js";
39
39
  import { r as isId, t as idList } from "../ids-0QDIxtxL.js";
40
40
  import { AsyncResult, dbError } from "better-supabase";
@@ -1,9 +1,9 @@
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 { t as instanceOptions } from "./instance-options-CLErhA76.js";
4
4
  import { t as composeWraps } from "./wrap-CsfsaJhd.js";
5
5
  import { n as tenantScope } from "./adapter-context-lHq_i_77.js";
6
- import { t as createPermDock } from "./create-D6B06lb8.js";
6
+ import { t as createPermDock } from "./create-Dapy8DIK.js";
7
7
  import { h as invalidSignatureResponse } from "./evaluations-DPEAu_jM.js";
8
8
  // src/server/bind.ts
9
9
  /**
@@ -1,11 +1,11 @@
1
- import { m as ApprovalStore } from "./types-BGN3coSe.js";
2
- import { t as InstanceOptions } from "./instance-options-D-SLCp4I.js";
3
- import { Ar as Subject, Q as Intent } from "./policy-types-DuM3k5Ao.js";
4
- import { n as PermDockWrap } from "./wrap-B4Ge6LOd.js";
5
- import { o as OtelWrap } from "./types-B23A72BG.js";
6
- import { r as PdpFactory } from "./types-C8sDUhaF.js";
1
+ import { m as ApprovalStore } from "./types-BdghnYGo.js";
2
+ import { t as InstanceOptions } from "./instance-options-CUNLusL6.js";
3
+ import { Ar as Subject, Q as Intent } from "./policy-types-CRWqx8qf.js";
4
+ import { n as PermDockWrap } from "./wrap-CPvBX9lm.js";
5
+ import { o as OtelWrap } from "./types-CN3Tk7bb.js";
6
+ import { r as PdpFactory } from "./types-Jxy_Ko7f.js";
7
7
  import { t as RequestContext } from "./request-context-E3-ps-H_.js";
8
- import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-C_Lnc8Ec.js";
8
+ import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-CaKNUxdc.js";
9
9
  /**
10
10
  * The options of every framework adapter; `TContext` is what its callbacks
11
11
  * receive.
@@ -5,7 +5,7 @@ import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
5
5
  import { a as rel } from "./files-DAR51W3J.js";
6
6
  import { a as readConfig } from "./config-Dan6vcvj.js";
7
7
  import { c as requirePolicy } from "./load-m7jmit3y.js";
8
- import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-CsJkduIb.js";
8
+ import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-DoZibca6.js";
9
9
  import { a as parseSqlFile, u as removeStatements } from "./ast-Dnm2TOHN.js";
10
10
  import { n as loadBsbSql, r as schemaSqlFiles, t as bsbSqlMissing } from "./bsb-access-Bcw6GrQm.js";
11
11
  import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
@@ -1,8 +1,8 @@
1
1
  import { d as scopeList } from "./scopes-B-KX9EI8.js";
2
2
  import { n as supabaseMembershipsBudget } from "./budget-BH81q2cj.js";
3
- import { t as claimsSize } from "./claims-size-BUhCWS88.js";
4
- import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-CJ53OOen.js";
5
- import { t as bundleSize } from "./bundle-size-BjdmlKWJ.js";
3
+ import { t as claimsSize } from "./claims-size-ZiUJBn0r.js";
4
+ import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-CpdksnSr.js";
5
+ import { t as bundleSize } from "./bundle-size-Pgm7BB5m.js";
6
6
  // src/cli/budgets/budgets.ts
7
7
  /**
8
8
  * Memberships of the probe subject when `budgets.snapshot.memberships` is
@@ -1,6 +1,6 @@
1
1
  import { t as compact } from "./compact-C4LFuqbW.js";
2
2
  import { t as instanceOptions } from "./instance-options-CLErhA76.js";
3
- import { t as getPermDock } from "./permdock-DZmr2kJw.js";
3
+ import { t as getPermDock } from "./permdock-CbavFN6u.js";
4
4
  // src/core/build-instance.ts
5
5
  /**
6
6
  * `resolve()`, or `null` when it throws: a subject or delegation that cannot be
@@ -0,0 +1 @@
1
+ export { n as runBundleSize } from "./bundle-size-Pgm7BB5m.js";
@@ -1,5 +1,5 @@
1
- import { p as clientBundle } from "./permdock-DZmr2kJw.js";
2
- import { n as measurePart } from "./snapshot-size-CJ53OOen.js";
1
+ import { p as clientBundle } from "./permdock-CbavFN6u.js";
2
+ import { n as measurePart } from "./snapshot-size-CpdksnSr.js";
3
3
  // src/cli/budgets/bundle-size.ts
4
4
  /**
5
5
  * The size of `clientBundle(policy)` as JSON, per role and per shared part. The
@@ -1,4 +1,4 @@
1
- import { Or as Principal, _t as TokenSigner, qt as Instant } from "./policy-types-DuM3k5Ao.js";
1
+ import { Or as Principal, _t as TokenSigner, qt as Instant } from "./policy-types-CRWqx8qf.js";
2
2
  import { E as PermissionTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
3
3
  /**
4
4
  * Who may redeem a capability: anyone holding it, any signed-in principal, one
@@ -16,7 +16,7 @@ const casbinImport = defineLeaf({
16
16
  ...outFlag
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- const { runCasbinImport } = await import("./casbin-Cz8BGXHW.js");
19
+ const { runCasbinImport } = await import("./casbin-ILRPO6t9.js");
20
20
  return runCasbinImport({
21
21
  cwd: ctx.cwd,
22
22
  model: given(flags.model),
@@ -1,5 +1,5 @@
1
1
  import { t as applyFiles } from "./files-DuV7wRim.js";
2
- import { o as nonEmptyOr } from "./output-DNbj0_Yi.js";
2
+ import { o as nonEmptyOr } from "./output-DZS9QWHI.js";
3
3
  import { n as isIdentifier, t as emitPolicyModule } from "./policy-module-Bp4HvsRg.js";
4
4
  import { existsSync, readFileSync } from "node:fs";
5
5
  import { resolve } from "node:path";
@@ -1,8 +1,8 @@
1
- import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-DZgmEG4b.js";
2
- import { D as Policy, Or as Principal, s as ApprovalRequirement } from "../policy-types-DuM3k5Ao.js";
3
- import { a as CatalogFinding, i as CatalogEventData } from "../sink-CoMI_OVw.js";
1
+ import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-Cl7q35D-.js";
2
+ import { D as Policy, Or as Principal, s as ApprovalRequirement } from "../policy-types-CRWqx8qf.js";
3
+ import { a as CatalogFinding, i as CatalogEventData } from "../sink-CCirKrLv.js";
4
4
  import { a as CatalogDocument, c as CatalogOperation, d as CatalogRole, f as CatalogScope, h as CatalogValidity, i as CatalogDelegation, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, o as CatalogGrant, p as CatalogSupportAccess, r as CatalogBreakGlass, s as CatalogOAuthScope, t as CatalogActivation, u as CatalogResource } from "../types-CbJ5mxXv.js";
5
- import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-C65TbLtU.js";
5
+ import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-B2AXpqRr.js";
6
6
  import { StandardSchemaV1 } from "@standard-schema/spec";
7
7
  /**
8
8
  * The hosted grants of `document` that `policy` no longer accepts, as drift
@@ -1,2 +1,2 @@
1
- import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-BfTbYrts.js";
1
+ import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-Y6DnNpuP.js";
2
2
  export { type ChatAction, type ChatActionResult, type ChatAuthor, type ChatCommand, type ChatCommandContext, type ChatCommandResult, type ChatPermDock, type ChatPermDockOptions, type ChatPrincipal, type SubjectFromChatOptions, createPermDock, isChatAuthor, subjectFromChat };
@@ -1,6 +1,6 @@
1
1
  import { c as isApprovalError } from "../types-DFZKovb3.js";
2
2
  import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-COh0lLc1.js";
3
- import { t as getPermDock, u as withApp } from "../permdock-DZmr2kJw.js";
3
+ import { t as getPermDock, u as withApp } from "../permdock-CbavFN6u.js";
4
4
  import { t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
6
6
  import { f as nowMillis } from "../time-r0CKBm57.js";
@@ -1,6 +1,6 @@
1
- import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-BfTbYrts.js";
2
- import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-BKxaKtby.js";
3
- import { n as ChatTransport } from "../types-D3GI2B9O.js";
1
+ import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-Y6DnNpuP.js";
2
+ import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-DCC4jp2s.js";
3
+ import { n as ChatTransport } from "../types-C2GmBHtC.js";
4
4
  import { ActionEvent, Author, CardElement } from "chat";
5
5
  type ChatSdkAuthorOptions = {
6
6
  /**
@@ -0,0 +1 @@
1
+ export { n as runClaimsSize } from "./claims-size-ZiUJBn0r.js";
@@ -11,6 +11,29 @@ import { a as quoteIdent } from "./quote-LNaBdCGA.js";
11
11
  * into chunks of 3,180 bytes.
12
12
  */
13
13
  const TOKEN_CHARS_BUDGET = 4096;
14
+ /** `@supabase/ssr` splits a session cookie into chunks of this many characters. */
15
+ const COOKIE_CHUNK_CHARS = 3180;
16
+ /**
17
+ * The session JSON besides the access token with `tokens-only` cookies:
18
+ * `token_type`, `expires_in`, `expires_at` and the refresh token, measured on a
19
+ * Supabase session.
20
+ */
21
+ const SESSION_FIELDS_BYTES = 134;
22
+ /** The `base64-` prefix `@supabase/ssr` writes before an encoded session. */
23
+ const COOKIE_PREFIX_CHARS = 7;
24
+ /**
25
+ * The characters of a `tokens-only` session cookie that holds a token of
26
+ * `tokenLength` characters. The cookie base64-encodes the whole session again,
27
+ * so the claims, already base64url in the token, are encoded twice: one byte of
28
+ * claims costs about 1.78 characters of cookie.
29
+ */
30
+ function sessionCookieChars(tokenLength) {
31
+ return COOKIE_PREFIX_CHARS + Math.ceil((tokenLength + SESSION_FIELDS_BYTES) / 3) * 4;
32
+ }
33
+ /** The cookie chunks a token of `tokenLength` characters needs. */
34
+ function cookieChunks(tokenLength) {
35
+ return Math.ceil(sessionCookieChars(tokenLength) / COOKIE_CHUNK_CHARS);
36
+ }
14
37
  /**
15
38
  * Claims every Supabase access token carries beside the hook's, sized for an
16
39
  * OAuth sign-in: a long email, the `user_metadata` a social provider writes
@@ -132,13 +155,21 @@ async function pd110(project, events) {
132
155
  });
133
156
  if (project.config.rls?.authorize !== "jwt" && isRecord(minted) && minted["memberships_truncated"] === true && readMemberships(minted["memberships"]).memberships.length > 0) overBudget.push(label);
134
157
  const length = tokenChars(minted);
158
+ const chunks = cookieChunks(length);
135
159
  if (length > 4096) findings.push({
136
160
  code: "PD110",
137
161
  severity: "warning",
138
162
  target: label,
139
- message: `the access token for ${label} is ${String(length)} characters, over ${String(TOKEN_CHARS_BUDGET)}`,
163
+ message: `the access token for ${label} is ${String(length)} characters, over ${String(TOKEN_CHARS_BUDGET)}, and its session cookie needs ${String(chunks)} chunks`,
140
164
  fix: "lower supabase.hook.budget, drop hook.claims entries, or hold fewer custom roles; the active tenant stays in the token"
141
165
  });
166
+ else if (chunks > 1) findings.push({
167
+ code: "PD110",
168
+ severity: "warning",
169
+ target: label,
170
+ message: `the session cookie for ${label} is ${String(sessionCookieChars(length))} characters with tokens-only cookies, so @supabase/ssr splits it into ${String(chunks)} chunks of ${String(COOKIE_CHUNK_CHARS)}: the claims are base64-encoded twice, once in the ${String(length)}-character token and again in the cookie`,
171
+ fix: "set supabase.hook.membershipsClaim to false and seed the subject from a bootstrap, or lower supabase.hook.budget and drop hook.claims entries until the token is under about 2,240 characters"
172
+ });
142
173
  } catch (error) {
143
174
  findings.push({
144
175
  code: "PD110",
@@ -195,8 +226,11 @@ function claimsSize(input) {
195
226
  const fits = fitting(entryBytes, input.budget);
196
227
  const kept = Math.min(fits, input.memberships);
197
228
  const claim = `[${entries.join(",")}]`;
198
- const keptClaims = entries.slice(0, kept).map((text) => {
199
- return JSON.parse(text);
229
+ const token = tokenChars({
230
+ memberships: entries.slice(0, kept).map((text) => {
231
+ return JSON.parse(text);
232
+ }),
233
+ ...kept < input.memberships ? { memberships_truncated: true } : {}
200
234
  });
201
235
  return {
202
236
  memberships: input.memberships,
@@ -209,10 +243,9 @@ function claimsSize(input) {
209
243
  fits,
210
244
  compactClaimBytes: compactBytes(entries),
211
245
  compactFits: compactFitting(entries, input.budget),
212
- tokenChars: tokenChars({
213
- memberships: keptClaims,
214
- ...kept < input.memberships ? { memberships_truncated: true } : {}
215
- })
246
+ tokenChars: token,
247
+ cookieChars: sessionCookieChars(token),
248
+ cookieChunks: cookieChunks(token)
216
249
  };
217
250
  }
218
251
  function runClaimsSize(input) {
@@ -224,7 +257,8 @@ function runClaimsSize(input) {
224
257
  `${String(report.memberships)} memberships of ${String(report.rolesPerMembership)} role(s): ${String(report.entryBytes)} bytes per entry, ${String(report.claimBytes)} bytes in all`,
225
258
  report.truncated ? `the ${String(report.budget)} byte budget keeps ${String(report.kept)} and sets memberships_truncated; at most ${String(report.fits)} fit` : `all fit the ${String(report.budget)} byte budget (at most ${String(report.fits)})`,
226
259
  `compact claim: ${String(report.compactClaimBytes)} bytes in all; at most ${String(report.compactFits)} fit`,
227
- `compact token with the Supabase base claims: ${String(report.tokenChars)} characters`
260
+ `compact token with the Supabase base claims: ${String(report.tokenChars)} characters`,
261
+ `tokens-only session cookie: ${String(report.cookieChars)} characters in ${String(report.cookieChunks)} chunk(s) of ${String(COOKIE_CHUNK_CHARS)}`
228
262
  ];
229
263
  return {
230
264
  code: 0,
@@ -1,6 +1,6 @@
1
- import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-D12I1Vkl.js";
2
- import { a as PermDock } from "../permdock-CHU1LZGq.js";
3
- import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
1
+ import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-BTthKNP0.js";
2
+ import { a as PermDock } from "../permdock-NJ4-pCZy.js";
3
+ import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-CRWqx8qf.js";
4
4
  /** Structural `McpServerProvenance` from `@anthropic-ai/claude-agent-sdk`. */
5
5
  type ClaudeMcpServer = {
6
6
  readonly name: string;
@@ -1,5 +1,5 @@
1
- import { t as agentRuntime } from "../create-bbjS7tCW.js";
2
- import { u as withApp } from "../permdock-DZmr2kJw.js";
1
+ import { t as agentRuntime } from "../create-BICq9l-p.js";
2
+ import { u as withApp } from "../permdock-CbavFN6u.js";
3
3
  import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
4
4
  // src/claude-agent/create.ts
5
5
  const MCP_PREFIX = "mcp__";
@@ -1,7 +1,7 @@
1
- import { Ar as Subject, Or as Principal, q as CustomRoleSource } from "../policy-types-DuM3k5Ao.js";
1
+ import { Ar as Subject, Or as Principal, q as CustomRoleSource } from "../policy-types-CRWqx8qf.js";
2
2
  import { t as ClaimsMap } from "../claims-map-CLKQWxJG.js";
3
3
  import { w as Permission } from "../vocabulary-DHfKPIC5.js";
4
- import { s as RemotePdpCache } from "../types-C8sDUhaF.js";
4
+ import { s as RemotePdpCache } from "../types-Jxy_Ko7f.js";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  type ClerkPrincipal = Principal & {
7
7
  readonly clerkPermissions?: readonly string[];
package/dist/cli/bin.js CHANGED
@@ -11,7 +11,7 @@ if (argv.length === 1 && (argv[0] === "--version" || argv[0] === "-v")) {
11
11
  const [{ isCi }, { trapSignals }, { run }, { streamHasColors }] = await Promise.all([
12
12
  import("../env-hbYumkRp.js"),
13
13
  import("../signals-a1NxAP0X.js"),
14
- import("../run-PpoUQXDc.js"),
14
+ import("../run-DqqVLgh_.js"),
15
15
  import("../style-Crf-90o6.js")
16
16
  ]);
17
17
  const signals = trapSignals();
@@ -1,7 +1,7 @@
1
1
  import { r as isRecord } from "../../compact-C4LFuqbW.js";
2
2
  import { a as describeError } from "../../errors-DgLOqc6j.js";
3
3
  import { a as readConfig } from "../../config-Dan6vcvj.js";
4
- import { t as executeGenerate } from "../../execute-B_yY9xWV.js";
4
+ import { t as executeGenerate } from "../../execute-DgCH7kEE.js";
5
5
  import { resolve } from "node:path";
6
6
  import { parentPort, workerData } from "node:worker_threads";
7
7
  // src/cli/generate/watch-worker.ts
@@ -1,11 +1,11 @@
1
- import { _ as RlsApiKeys, a as PermDockConfig, c as RlsConfig, d as RlsMembershipTable, f as RlsMemberships, g as RlsTarget, h as RlsSuspension, i as GenKind, l as RlsDialect, m as RlsSuspendedScope, n as CollectConfig, p as RlsSuspendedMembership, r as GenConfig, s as RlsActiveRow, t as CatalogConfig, u as RlsFunctionMapping } from "../types-config-DYRoZ8Iw.js";
1
+ import { _ as RlsApiKeys, a as PermDockConfig, c as RlsConfig, d as RlsMembershipTable, f as RlsMemberships, g as RlsTarget, h as RlsSuspension, i as GenKind, l as RlsDialect, m as RlsSuspendedScope, n as CollectConfig, p as RlsSuspendedMembership, r as GenConfig, s as RlsActiveRow, t as CatalogConfig, u as RlsFunctionMapping } from "../types-config-B3eAej9-.js";
2
2
  import { o as OperationMap } from "../operations-DaEoGpMV.js";
3
3
  import { E as PermissionTree } from "../vocabulary-DHfKPIC5.js";
4
- import { D as Policy } from "../policy-types-DuM3k5Ao.js";
5
- import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-CsWH9z8p.js";
6
- import { i as PolicyModel, n as PluginTask, r as definePlugin, t as PermDockPlugin } from "../plugin-DDPXES4k.js";
7
- import { r as RunResult, t as CliIo } from "../types-run-CeCrWO0v.js";
8
- import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-C65TbLtU.js";
4
+ import { D as Policy } from "../policy-types-CRWqx8qf.js";
5
+ import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-DTlfU9zX.js";
6
+ import { i as PolicyModel, n as PluginTask, r as definePlugin, t as PermDockPlugin } from "../plugin-YAJ25tft.js";
7
+ import { r as RunResult, t as CliIo } from "../types-run-sP7yLp61.js";
8
+ import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-B2AXpqRr.js";
9
9
  import { a as CatalogDocument, d as CatalogRole, f as CatalogScope, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, p as CatalogSupportAccess, r as CatalogBreakGlass, t as CatalogActivation, u as CatalogResource } from "../types-CbJ5mxXv.js";
10
10
  /**
11
11
  * The absolute path `permdock collect` writes the catalog to: `collect.out`,
package/dist/cli/index.js CHANGED
@@ -2,7 +2,7 @@ import { t as catalogPath } from "../catalog-path-bG0XxHMu.js";
2
2
  import { n as defineConfig } from "../config-Dan6vcvj.js";
3
3
  import { t as definePlugin } from "../plugin-MQVfUBUS.js";
4
4
  import { c as parseGrantsMarker, l as parseHookMarker } from "../markers-C-kThnKN.js";
5
- import { t as run } from "../run-CJhz8BHw.js";
5
+ import { t as run } from "../run-dwwtRWj6.js";
6
6
  import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-dm_hFstN.js";
7
7
  // src/cli/token-schemas.ts
8
8
  const ID = {