permdock 0.20.1 → 0.22.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 (359) hide show
  1. package/README.md +2 -1
  2. package/dist/a2a/index.d.ts +5 -5
  3. package/dist/a2a/index.js +5 -4
  4. package/dist/{adoption-scan-BTG9Noyy.js → adoption-scan-_bHLMnVQ.js} +1 -1
  5. package/dist/agent/index.d.ts +2 -2
  6. package/dist/agent/index.js +1 -1
  7. package/dist/ai-sdk/index.d.ts +4 -4
  8. package/dist/ai-sdk/index.js +3 -3
  9. package/dist/app/index.d.ts +85 -0
  10. package/dist/app/index.js +91 -0
  11. package/dist/app-DIvM65Mv.js +24 -0
  12. package/dist/{approval-policies-CKlByf5o.d.ts → approval-policies-UnDSxT__.d.ts} +2 -2
  13. package/dist/{approval-prompt-CQFiO1KE.d.ts → approval-prompt-2hTqo6IM.d.ts} +2 -2
  14. package/dist/approvals/index.d.ts +3 -3
  15. package/dist/approvals/index.js +3 -3
  16. package/dist/{approvals-CuXILe52.js → approvals-B_sn4Wrn.js} +6 -6
  17. package/dist/{arazzo-CDXfX4u0.js → arazzo-BXD-VJU_.js} +1 -1
  18. package/dist/{arazzo-D4mKdaWI.js → arazzo-Ct0PGblq.js} +3 -3
  19. package/dist/astro/index.d.ts +6 -6
  20. package/dist/astro/index.js +2 -2
  21. package/dist/{audience-BUonniPx.js → audience-5Xx1hdIv.js} +1 -1
  22. package/dist/{auth-j3Eu-j4h.js → auth-BxXHxWRy.js} +1 -1
  23. package/dist/authzen/index.d.ts +5 -5
  24. package/dist/authzen/index.js +4 -4
  25. package/dist/{automation-CpOk7Tlu.d.ts → automation-B20_8UoT.d.ts} +3 -3
  26. package/dist/{automation-x3KEUusw.js → automation-BueW05db.js} +2 -2
  27. package/dist/better-auth/index.d.ts +2 -2
  28. package/dist/better-auth/index.js +1 -1
  29. package/dist/better-supabase/index.d.ts +113 -56
  30. package/dist/better-supabase/index.js +200 -62
  31. package/dist/better-supabase-DF8f8oly.js +194 -0
  32. package/dist/{bind-gwEbe9hL.js → bind-B4Z0U2Gr.js} +5 -5
  33. package/dist/{bind-CW7nsZ86.d.ts → bind-CnOMjazH.d.ts} +7 -7
  34. package/dist/{build-instance-DaBdCRiz.js → build-instance-B0vsViF5.js} +3 -25
  35. package/dist/{capability-zN6T9fxe.js → capability-CenWwTMR.js} +1 -1
  36. package/dist/{capability-v2xZB7us.d.ts → capability-YkRMUAsF.d.ts} +2 -2
  37. package/dist/{casbin-COUi09Ti.js → casbin-D5evU3lX.js} +1 -1
  38. package/dist/{casbin-BXlRcCdU.js → casbin-imBS3UIf.js} +1 -1
  39. package/dist/catalog/index.d.ts +5 -5
  40. package/dist/catalog/index.js +5 -5
  41. package/dist/catalog-C462QC3A.js +1 -0
  42. package/dist/{catalog-DjDc87R2.js → catalog-CoyKnU5c.js} +1 -1
  43. package/dist/{catalog-s0waIrfY.js → catalog-Y4CjN8NA.js} +4 -4
  44. package/dist/{catalog-operations-BD22drQf.js → catalog-operations-Do1eD-Rt.js} +1 -1
  45. package/dist/{challenge-DbkpCx_v.js → challenge-B__LcNve.js} +3 -3
  46. package/dist/chat/index.d.ts +1 -1
  47. package/dist/chat/index.js +3 -2
  48. package/dist/chat-sdk/index.d.ts +3 -3
  49. package/dist/claude-agent/index.d.ts +3 -3
  50. package/dist/claude-agent/index.js +2 -2
  51. package/dist/clerk/index.d.ts +3 -3
  52. package/dist/cli/bin.js +1 -1
  53. package/dist/cli/index.d.ts +8 -7
  54. package/dist/cli/index.js +3 -3
  55. package/dist/cloud/index.d.ts +8 -8
  56. package/dist/cloud/index.js +3 -3
  57. package/dist/{cloud-BW7JKfrF.js → cloud-DWCeStPH.js} +2 -2
  58. package/dist/{codemod-6CBQaT0x.js → codemod-B7QKJ_ak.js} +2 -2
  59. package/dist/{codemod-CR9EQBVd.js → codemod-BaPmaCYQ.js} +13 -6
  60. package/dist/{collect-DN_x7hvV.js → collect-Cr71JA7z.js} +8 -7
  61. package/dist/{collect-DMQ6Sxr6.js → collect-ScSG05VJ.js} +2 -2
  62. package/dist/collect-W9i7REKT.js +1 -0
  63. package/dist/compile/index.d.ts +1 -1
  64. package/dist/compile/index.js +1 -1
  65. package/dist/{compile-B_oJqmIg.js → compile-Cvru58id.js} +2 -2
  66. package/dist/{compile-DZftFfXc.d.ts → compile-DC-BrhH1.d.ts} +3 -3
  67. package/dist/{completion-CYRlOJzv.js → completion-DOUMyCwa.js} +1 -1
  68. package/dist/{delegation-aK4T_5WU.js → condition-evaluate-bVVRSdzq.js} +159 -159
  69. package/dist/{config-6iLK155o.js → config-DRp-E8Ly.js} +1 -1
  70. package/dist/{config-D2oXUwos.js → config-DyNanTjZ.js} +10 -8
  71. package/dist/{config-report-BLroaWCe.js → config-report-Bh_nLdAE.js} +2 -2
  72. package/dist/{config-shape-D9paLhEX.js → config-shape-C4zqzG2K.js} +9 -2
  73. package/dist/{context-YhyXyqBI.js → context-Cem4QafV.js} +2 -2
  74. package/dist/convex/index.d.ts +5 -5
  75. package/dist/convex/index.js +2 -2
  76. package/dist/{core-BwVkrpsi.js → core-CUjhfz0W.js} +6 -6
  77. package/dist/{core-BOeGWbcR.d.ts → core-D2JNg5jA.d.ts} +3 -3
  78. package/dist/coverage-D8jBJdgD.d.ts +114 -0
  79. package/dist/coverage-Dh2W_DmF.js +211 -0
  80. package/dist/{create-BezeYFcT.d.ts → create-B2tdOygC.d.ts} +7 -7
  81. package/dist/{create-C0R8omeF.js → create-BJ2_8NDO.js} +5 -5
  82. package/dist/{create-DDUFG1ul.js → create-BsL5lCWR.js} +10 -8
  83. package/dist/{create-DYSYYiLr.d.ts → create-CPDSbK1a.d.ts} +5 -5
  84. package/dist/{create-DMCC5ZOi.d.ts → create-oMCcZV4X.d.ts} +9 -9
  85. package/dist/{credential-B3Hj4puZ.js → credential-Bap3HClV.js} +4 -4
  86. package/dist/{server-D0PW6ZCw.js → credentials-BXV0oz56.js} +3 -146
  87. package/dist/credentials-DPX140fN.d.ts +125 -0
  88. package/dist/delivery/index.d.ts +4 -4
  89. package/dist/delivery/index.js +1 -1
  90. package/dist/{denied-text-De8cw3MW.d.ts → denied-text-BXQkWU7d.d.ts} +2 -2
  91. package/dist/{describe-DibQM6g-.d.ts → describe-DVobr5FX.d.ts} +2 -2
  92. package/dist/{diff-Bd1-VCe5.js → diff-BR9JArxz.js} +6 -6
  93. package/dist/{diff-DXRNcjpg.js → diff-Jc_kbDz-.js} +1 -1
  94. package/dist/{doctor-CJcS0Mrq.js → doctor-BBMW5ZT_.js} +310 -36
  95. package/dist/{doctor-DYTgibLC.js → doctor-DhqSiPkq.js} +3 -3
  96. package/dist/drizzle/index.d.ts +3 -3
  97. package/dist/drizzle/index.js +1 -1
  98. package/dist/elysia/index.d.ts +5 -5
  99. package/dist/elysia/index.js +3 -3
  100. package/dist/{errors-OTE9u4Wk.d.ts → errors-D_JIQJYb.d.ts} +1 -1
  101. package/dist/{evaluate-Dcq_U2TV.js → evaluate-B5yZHmts.js} +16 -16
  102. package/dist/{evaluations-CNMVJVD6.js → evaluations-BzTDWO4m.js} +57 -57
  103. package/dist/{evaluations-BgxEfPL7.d.ts → evaluations-DQYfh4Jh.d.ts} +3 -3
  104. package/dist/eve/index.d.ts +5 -5
  105. package/dist/eve/index.js +3 -3
  106. package/dist/express/index.d.ts +5 -5
  107. package/dist/express/index.js +3 -3
  108. package/dist/fastify/index.d.ts +5 -5
  109. package/dist/fastify/index.js +3 -3
  110. package/dist/{fetch-adapter-DCQ4pZxf.d.ts → fetch-adapter-DxqsIXSO.d.ts} +4 -4
  111. package/dist/{fetch-adapter-acq4dPX3.js → fetch-adapter-MoYZ-vF5.js} +5 -4
  112. package/dist/{fields-D_TfExiI.js → fields-CVyOk-f1.js} +2 -2
  113. package/dist/{fixtures-Cemqurt8.js → fixtures-BVZc7OCF.js} +1 -1
  114. package/dist/{from-snapshot-DHnb8Fh4.js → from-snapshot-oR_N97dM.js} +346 -14
  115. package/dist/{gen-gv_WHBIG.js → gen-DXXoFjyf.js} +1 -1
  116. package/dist/{gen-CH50v9VI.js → gen-WdycZ_-b.js} +5 -5
  117. package/dist/{grantee-conditions-DX4K_gGI.js → grantee-conditions-Dzprappv.js} +1 -1
  118. package/dist/{grantee-match-BP-k4vRJ.js → grantee-match-8J2y60MF.js} +3 -3
  119. package/dist/h3/index.d.ts +4 -4
  120. package/dist/h3/index.js +3 -3
  121. package/dist/{helpers-D-MXwkOF.js → helpers-DzBIfL1N.js} +25 -25
  122. package/dist/hono/index.d.ts +5 -5
  123. package/dist/hono/index.js +3 -3
  124. package/dist/{hosted-C2Pmhy2x.js → hosted-C5I2TSXm.js} +4 -4
  125. package/dist/{hosted-yhyAuQkL.d.ts → hosted-DXq1plaP.d.ts} +1 -1
  126. package/dist/{http-DhMWeB_h.js → http-dptLQzPP.js} +1 -1
  127. package/dist/{expiry-6XByK0dm.js → ids-DzhJaCUj.js} +23 -23
  128. package/dist/{import-BlwuuZkr.js → import-BE5sDazm.js} +2 -2
  129. package/dist/{import-C2ExjVvv.js → import-CvXswHDy.js} +2 -2
  130. package/dist/index-BcS8c_2S.d.ts +101 -0
  131. package/dist/{index--AwSBzJC.d.ts → index-BdZpqhJK.d.ts} +2 -2
  132. package/dist/{index-CLbGOPBr.d.ts → index-C-R8lBPb.d.ts} +3 -3
  133. package/dist/{index-CruReRkB.d.ts → index-C_8uxAlv.d.ts} +5 -5
  134. package/dist/{index-D7xGi1LS.d.ts → index-Cjfa1Uwr.d.ts} +22 -40
  135. package/dist/{index-Bt37QovT.d.ts → index-iIsqXFVu.d.ts} +6 -6
  136. package/dist/index.d.ts +19 -20
  137. package/dist/index.js +25 -24
  138. package/dist/{init-CalppFAI.js → init-B_S8Xdz1.js} +4 -4
  139. package/dist/{init-B62H9Kyx.js → init-CqGHcvyR.js} +2 -2
  140. package/dist/{instance-options-VPsNQsTH.d.ts → instance-options-C6gEDOts.d.ts} +1 -1
  141. package/dist/instance-options-URVwqpMW.js +24 -0
  142. package/dist/{instance-snapshot-SX8zH_1t.js → instance-snapshot-D_dGTq--.js} +10 -10
  143. package/dist/jwt/index.d.ts +4 -4
  144. package/dist/jwt/index.js +2 -2
  145. package/dist/{kernel-_QEUOSU0.js → kernel-NmxiWII2.js} +8 -8
  146. package/dist/kysely/index.d.ts +3 -3
  147. package/dist/kysely/index.js +1 -1
  148. package/dist/limits-CAhpRrhk.js +167 -0
  149. package/dist/{load-BaEamml-.js → load-C4p4VgwR.js} +2 -2
  150. package/dist/load-DiBUJx77.js +1 -0
  151. package/dist/{login-dDb_8muO.js → login-CzwlsBEO.js} +4 -4
  152. package/dist/{login-MxQV1BLh.js → login-DoLxv1s5.js} +3 -3
  153. package/dist/{manifest-DvDzxhy6.js → manifest-BAf7cgRx.js} +35 -35
  154. package/dist/{map-claims-PQwHynxV.js → map-claims-CAa_bQt9.js} +1 -1
  155. package/dist/{map-error-EOhahOVA.js → map-error-p4ROJ_26.js} +1 -1
  156. package/dist/mcp/index.d.ts +9 -9
  157. package/dist/mcp/index.js +9 -8
  158. package/dist/{migrate-CkLHdwuH.js → migrate-DVsxeE0y.js} +1 -1
  159. package/dist/{module-values-BYuNtdK5.js → module-values-BLiVlO1X.js} +3 -3
  160. package/dist/nest/index.d.ts +5 -5
  161. package/dist/nest/index.js +3 -3
  162. package/dist/next/index.d.ts +46 -17
  163. package/dist/next/index.js +58 -23
  164. package/dist/next/plugin.d.ts +1 -1
  165. package/dist/next/plugin.js +1 -1
  166. package/dist/node/index.d.ts +5 -5
  167. package/dist/node/index.js +2 -2
  168. package/dist/openai/index.d.ts +5 -5
  169. package/dist/openai/index.js +3 -3
  170. package/dist/openapi/index.d.ts +5 -59
  171. package/dist/openapi/index.js +3 -2
  172. package/dist/{openapi-BOsx0xn9.js → openapi-Cc-aS9xC.js} +6 -135
  173. package/dist/{openapi-BkGtE5kX.js → openapi-DroBcLJZ.js} +2 -2
  174. package/dist/{openapi-DKePsnln.js → openapi-EmvKwuWj.js} +4 -4
  175. package/dist/{operations-Ci_rT6Uo.d.ts → operations-BMPx7HyO.d.ts} +1 -1
  176. package/dist/optional-8TKc-0j4.js +47 -0
  177. package/dist/orpc/index.d.ts +7 -7
  178. package/dist/orpc/index.js +4 -4
  179. package/dist/otel/index.d.ts +3 -3
  180. package/dist/otel/index.js +1 -1
  181. package/dist/{output-B2h-2g3F.js → output-CYgfpT6o.js} +1 -1
  182. package/dist/{ownership-MGHa5vfX.js → ownership-adPAsUwY.js} +15 -13
  183. package/dist/{parse-CXTT7hBq.js → parse-CORUNcCo.js} +1 -1
  184. package/dist/{parse-local-manifest-CE4tgFsj.d.ts → parse-local-manifest-BaCqsqwC.d.ts} +1 -1
  185. package/dist/pdp/index.d.ts +3 -3
  186. package/dist/pdp/index.js +4 -3
  187. package/dist/{permdock-C1DN_7a-.js → permdock-B5LyNVgn.js} +71 -34
  188. package/dist/{permdock-D4F2p5J8.d.ts → permdock-BaB-KQqn.d.ts} +51 -9
  189. package/dist/{permissions-8N2yFsUM.js → permissions-COpRGKt7.js} +1 -1
  190. package/dist/{permissions-Bx6UI8n1.d.ts → permissions-DriWkV7q.d.ts} +1 -2
  191. package/dist/{policy-from-catalog-CUNlpgz0.js → policy-from-catalog-Cy103lsm.js} +8 -8
  192. package/dist/{policy-types-BI9C5Sp5.d.ts → policy-types-rNfz7t0M.d.ts} +9 -3
  193. package/dist/{policy-CaAME-Rh.js → policy-wGzbAPQF.js} +7 -7
  194. package/dist/{policy-Dh9WVSVz.d.ts → policy-x8RBKW8d.d.ts} +2 -2
  195. package/dist/{postgrest-CWCCbaxm.d.ts → postgrest-Cn0Res25.d.ts} +9 -21
  196. package/dist/powersync-BdoR7nwS.js +1 -0
  197. package/dist/{powersync-Deim9O47.js → powersync-BeI0VmEK.js} +2 -2
  198. package/dist/{powersync-CB8RwcB4.js → powersync-Dpa5AnnN.js} +11 -11
  199. package/dist/preset/index.js +1 -1
  200. package/dist/{preset-pPrVyGU5.js → preset-Bn5Z54cH.js} +5 -6
  201. package/dist/prisma/index.d.ts +2 -2
  202. package/dist/prisma/index.js +1 -1
  203. package/dist/{protected-action-ua0cx5cW.d.ts → protected-action-C4aj1KjO.d.ts} +6 -7
  204. package/dist/{protected-action-CD1HXwQK.js → protected-action-E7Sdt_Dt.js} +1 -1
  205. package/dist/{provider-D_hgjZRa.d.ts → provider-B-1DlOGM.d.ts} +1 -1
  206. package/dist/{provider-qESIf_C0.js → provider-DKO9KHua.js} +2 -2
  207. package/dist/{provider-store-BTHGJH9j.js → provider-store-D4PU1my_.js} +2 -2
  208. package/dist/{pull-BxqVL4Es.js → pull-3tkn25ll.js} +5 -5
  209. package/dist/pull-D90HqWNP.js +1 -0
  210. package/dist/{push-D2SsRW0U.js → push-dMyKdlEm.js} +6 -6
  211. package/dist/{pushed-policy-BERO0x9O.js → pushed-policy-Bi5-il4C.js} +2 -2
  212. package/dist/{pushed-policy-P0hgyLBh.d.ts → pushed-policy-P55cJNx5.d.ts} +1 -1
  213. package/dist/react/index.d.ts +6 -6
  214. package/dist/react/index.js +3 -3
  215. package/dist/react/provider-client.d.ts +1 -1
  216. package/dist/react/provider-client.js +1 -1
  217. package/dist/react-native/index.d.ts +9 -9
  218. package/dist/react-native/index.js +7 -7
  219. package/dist/{relation-walk-DK_gkgL7.js → relation-walk-BDTaTKTM.js} +1 -1
  220. package/dist/{relations-BxvRvDHK.js → relations-CMsJ1ARY.js} +1 -1
  221. package/dist/{replay-DYXI4gRN.d.ts → replay-DKhFvt0L.d.ts} +1 -1
  222. package/dist/{request-context-BPTi68z5.js → request-context-5gl_oxO1.js} +2 -2
  223. package/dist/resend/index.d.ts +4 -4
  224. package/dist/resend/index.js +2 -2
  225. package/dist/{resolve-names-BZQZRnMH.js → resolve-names-BnGJU88N.js} +4 -4
  226. package/dist/{rls-DpoJ5gCg.js → rls-DIYSRnDZ.js} +1 -1
  227. package/dist/{rls-OPorg_2G.js → rls-qrehUPf_.js} +45 -18
  228. package/dist/{role-builder-C5AgaC1x.js → role-builder-boQiUvfo.js} +3 -3
  229. package/dist/{rpc-D2LnFELm.d.ts → rpc-BqRiVpbP.d.ts} +2 -2
  230. package/dist/{rpc-DdkbQVlT.js → rpc-Dhi55Whd.js} +2 -2
  231. package/dist/run-elFdnSZx.js +1 -0
  232. package/dist/{run-YCpANf1B.js → run-oNqBe0gc.js} +3 -3
  233. package/dist/{run-ticket-CjvXr6wj.js → run-ticket-Ddxt9OuU.js} +2 -2
  234. package/dist/{run-ticket-94DOS9Cd.d.ts → run-ticket-Dulj4RQk.d.ts} +2 -2
  235. package/dist/{saas-BEXnrH9H.js → saas-DABv6vjy.js} +6 -5
  236. package/dist/{scan-COvn7ZjN.js → scan-BYXqcgON.js} +1 -1
  237. package/dist/{schema-BfSDo7Xj.js → schema-Wf-SvlHG.js} +1 -1
  238. package/dist/scim/index.d.ts +1 -1
  239. package/dist/scim/index.js +1 -1
  240. package/dist/{scopes-BSdYaGHs.js → scopes-gdH__vDZ.js} +1 -1
  241. package/dist/server/index.d.ts +11 -10
  242. package/dist/server/index.js +7 -6
  243. package/dist/server-CKjFooaJ.js +147 -0
  244. package/dist/{server-types-ChzXWU4Y.d.ts → server-types--_Hann81.d.ts} +10 -9
  245. package/dist/{shared-sW3VYchq.js → shared-DfaIWvIJ.js} +11 -2
  246. package/dist/{sink-RwmP7ZHs.d.ts → sink-Cs6z34AX.d.ts} +4 -4
  247. package/dist/{skills-N2Hd8KN8.js → skills-417bOj4o.js} +1 -1
  248. package/dist/{skills-Ce4C2dq1.js → skills-B9U465B7.js} +2 -2
  249. package/dist/{snapshot-DHPih65J.js → snapshot-C2j96x97.js} +4 -4
  250. package/dist/{snapshot-cache-MPinwwgZ.d.ts → snapshot-cache-Cc7VNabe.d.ts} +1 -1
  251. package/dist/solid/index.d.ts +6 -7
  252. package/dist/solid/index.js +2 -2
  253. package/dist/solid-start/index.d.ts +6 -6
  254. package/dist/solid-start/index.js +3 -3
  255. package/dist/{sources-sgQlMfmz.d.ts → sources-BfTza0zT.d.ts} +1 -1
  256. package/dist/{src-B8SQNsvw.js → src-BG9YJM3Q.js} +97 -247
  257. package/dist/ssf/index.d.ts +3 -3
  258. package/dist/ssf/index.js +3 -3
  259. package/dist/{standard-webhooks-CFZIYtBF.d.ts → standard-webhooks-CJBgfl7y.d.ts} +2 -2
  260. package/dist/{store-CSOsXd5s.js → store-BpKH-pLm.js} +2 -2
  261. package/dist/{store-Dpg_fSNQ.d.ts → store-DSyjHD5-.d.ts} +5 -5
  262. package/dist/{store-options-CDvoX52-.js → store-options-CXv6BHH6.js} +5 -6
  263. package/dist/{stores-PpYVQ5yF.js → stores-BuqAHjp_.js} +1 -1
  264. package/dist/{stores-C2A6KsxE.d.ts → stores-C6-7TPTV.d.ts} +6 -7
  265. package/dist/{postgrest-BrjrckDG.js → subject-BqFwS6l3.js} +214 -319
  266. package/dist/subject-cache-BT1fGuea.js +193 -0
  267. package/dist/subject-cache-d_Z4KAnm.d.ts +144 -0
  268. package/dist/supabase/index.d.ts +6 -5
  269. package/dist/supabase/index.js +3 -2
  270. package/dist/supabase/middleware.d.ts +6 -6
  271. package/dist/supabase/middleware.js +6 -6
  272. package/dist/{supabase-zL7PC3RG.js → supabase-D0J99yqL.js} +2 -2
  273. package/dist/{supabase-CVZuytCC.js → supabase-DnazO6W4.js} +3 -3
  274. package/dist/{supabase-hook-BCSwK5x-.js → supabase-hook-Bh5syR9N.js} +174 -62
  275. package/dist/supabase-hook-CVAenq-w.js +1 -0
  276. package/dist/{supautils-7UES0i4a.js → supautils-ChXR-4Or.js} +302 -43
  277. package/dist/{support-session-BsmPCbz8.js → support-session-BGeEYDSq.js} +2 -2
  278. package/dist/svelte/index.d.ts +5 -5
  279. package/dist/svelte/index.js +3 -3
  280. package/dist/svelte/runtime.d.ts +3 -3
  281. package/dist/svelte/runtime.js +1 -1
  282. package/dist/svelte/source.d.ts +5 -5
  283. package/dist/svelte/source.js +2 -2
  284. package/dist/sveltekit/index.d.ts +6 -6
  285. package/dist/sveltekit/index.js +2 -2
  286. package/dist/{tables-DSX_Ma_n.js → tables-CbEOy2Ma.js} +137 -55
  287. package/dist/tanstack-start/index.d.ts +6 -6
  288. package/dist/tanstack-start/index.js +2 -2
  289. package/dist/{tenancy-DvOHHk3-.js → tenancy-BlxY5T0q.js} +2 -2
  290. package/dist/terminal/index.d.ts +6 -6
  291. package/dist/terminal/index.js +6 -6
  292. package/dist/testing/core.d.ts +1 -1
  293. package/dist/testing/core.js +1 -1
  294. package/dist/testing/fixtures/index.d.ts +35 -2
  295. package/dist/testing/fixtures/index.js +39 -2
  296. package/dist/testing/index.d.ts +41 -25
  297. package/dist/testing/index.js +114 -26
  298. package/dist/testing/saas/index.d.ts +5 -5
  299. package/dist/testing/saas/index.js +2 -2
  300. package/dist/testing/saas/permissions.d.ts +1 -1
  301. package/dist/testing/saas/permissions.js +1 -1
  302. package/dist/trpc/index.d.ts +6 -6
  303. package/dist/trpc/index.js +4 -4
  304. package/dist/{type-helpers-BjOLGVy1.d.ts → type-helpers-iXJEIDe7.d.ts} +3 -4
  305. package/dist/{types-p8mhWTcR.d.ts → types-B9F0EZAF.d.ts} +3 -3
  306. package/dist/{types-DZwEOsK1.d.ts → types-BSNZMp5b.d.ts} +1 -1
  307. package/dist/{types-DnzRZjEu.d.ts → types-BpxdxaRD.d.ts} +5 -5
  308. package/dist/{types-C5p2hoBR.d.ts → types-CD1qmxdx.d.ts} +4 -4
  309. package/dist/{types-D1NjjwI4.d.ts → types-CS1DI_Ke.d.ts} +40 -9
  310. package/dist/{types-CMclYgSk.d.ts → types-C_a44wSr.d.ts} +3 -3
  311. package/dist/{types-DBVSljAx.d.ts → types-Cq2rvv-C.d.ts} +3 -3
  312. package/dist/{types--_lpWUGV.d.ts → types-CuDXvyIT.d.ts} +5 -5
  313. package/dist/{types-7Vlz1Wi2.d.ts → types-DAyp592k.d.ts} +2 -2
  314. package/dist/{types-Drs3OOAy.d.ts → types-NikV1pND.d.ts} +4 -4
  315. package/dist/{types-BzxA2OAD.d.ts → types-ZfjQB0KC.d.ts} +2 -2
  316. package/dist/{types-D8JVDWOr.d.ts → types-_pi9kxS2.d.ts} +2 -2
  317. package/dist/unplugin/index.d.ts +1 -1
  318. package/dist/unplugin/index.js +1 -1
  319. package/dist/{usage-CUnw73Y-.js → usage-0wsl83uw.js} +10 -10
  320. package/dist/{usage-BcAqmjkj.js → usage-Bl-BkXEq.js} +1 -1
  321. package/dist/usage-CmyGbo4e.js +1 -0
  322. package/dist/{validation-error-DkOK9zUE.d.ts → validation-error-DLAYFlkr.d.ts} +1 -1
  323. package/dist/{verify-V08pirDB.js → verify-BSLotSa0.js} +41 -24
  324. package/dist/version-sources-BC3hf2ME.js +34 -0
  325. package/dist/{permission-types-CAY-GU7e.d.ts → vocabulary-DeZvUaTw.d.ts} +69 -1
  326. package/dist/vue/index.d.ts +6 -7
  327. package/dist/vue/index.js +2 -2
  328. package/dist/{waiter-BjVI_Byg.d.ts → waiter-cbK1CBhT.d.ts} +2 -2
  329. package/dist/{watch-Dz2LNM1R.js → watch-BigZ260i.js} +2 -2
  330. package/dist/watch-CHURMgrv.js +1 -0
  331. package/dist/webmcp/index.d.ts +2 -2
  332. package/dist/{who-can-CZeAwQZD.js → who-can-CjfMP9a4.js} +8 -8
  333. package/dist/workflow/index.d.ts +3 -3
  334. package/dist/workflow/index.js +6 -5
  335. package/dist/workflow-sdk/index.d.ts +5 -5
  336. package/dist/{wrap-CE5lxje7.d.ts → wrap-B-k2qHJx.d.ts} +2 -2
  337. package/package.json +16 -4
  338. package/skills/permdock-wire/references/presets-and-recipes.md +2 -2
  339. package/dist/better-supabase-ayun1IKE.js +0 -122
  340. package/dist/catalog-BTPySmbp.js +0 -1
  341. package/dist/collect-eSTXOZDC.js +0 -1
  342. package/dist/index-B_I6N8Ju.d.ts +0 -222
  343. package/dist/load-CjnlPxpL.js +0 -1
  344. package/dist/powersync-Cs1E04s6.js +0 -1
  345. package/dist/pull-BLT25Y5C.js +0 -1
  346. package/dist/run-CW0QsyA9.js +0 -1
  347. package/dist/supabase-hook-7XxWGHQF.js +0 -1
  348. package/dist/usage-BdIS9NfN.js +0 -1
  349. package/dist/version-cache-q5cpaDSt.d.ts +0 -57
  350. package/dist/vocabulary-DEJ5j4mR.d.ts +0 -70
  351. package/dist/watch-CS69ftMP.js +0 -1
  352. package/dist/where-scope-BAyOsPQW.js +0 -332
  353. package/dist/{approval-normalize-hlfO9BJv.js → approval-normalize-DNLW0zOM.js} +1 -1
  354. package/dist/{body-C9JbIoqb.js → body-B3ylkmmE.js} +1 -1
  355. package/dist/{catalog-doc-nrgfbh8I.js → catalog-doc-Zi0jRpyH.js} +2 -2
  356. package/dist/{device-BwbJNmb2.js → device-BkSynWdg.js} +1 -1
  357. package/dist/{prompt-BYc6drYW.js → prompt-D1Gj1W4Y.js} +1 -1
  358. package/dist/{scim-C30QBBoF.js → scim-BG6uPUeW.js} +1 -1
  359. package/dist/{wrap-C5PWzgkq.js → wrap-BKU5Arsu.js} +1 -1
@@ -0,0 +1 @@
1
+ export { t as run } from "./run-oNqBe0gc.js";
@@ -1,13 +1,13 @@
1
1
  import { i as dateAt } from "./time-nR1JesoH.js";
2
2
  import { a as describeError, l as problemOf, n as CliError, r as cliProblem, s as kindOfCode } from "./errors-BhRkoNS7.js";
3
3
  import { s as cliVersion } from "./version-DMQ0dnN5.js";
4
- import { a as resolveCwd, i as readConfig } from "./config-D2oXUwos.js";
4
+ import { a as resolveCwd, i as readConfig } from "./config-DyNanTjZ.js";
5
5
  import { t as beforeFirst } from "./text-BMFRfBqc.js";
6
6
  import { a as GLOBAL_FLAGS, i as suggestion, n as parseFlags, r as parseLeaf } from "./args-iafbHiXn.js";
7
7
  import { r as progressReporter, t as redact } from "./credentials-dkycUsY3.js";
8
- import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-DvDzxhy6.js";
8
+ import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-BAf7cgRx.js";
9
9
  import { t as createStyle } from "./style-Ds11Hmk4.js";
10
- import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-B2h-2g3F.js";
10
+ import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-CYgfpT6o.js";
11
11
  import { stripVTControlCharacters } from "node:util";
12
12
  import { existsSync, statSync } from "node:fs";
13
13
  import { createHash } from "node:crypto";
@@ -1,10 +1,10 @@
1
1
  import { t as compact } from "./compact-CAf557ZB.js";
2
2
  import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
3
  import { a as ownRecord, n as isForbiddenKey } from "./paths-CUvURzHp.js";
4
- import { a as isId } from "./expiry-6XByK0dm.js";
5
4
  import { o as epochSeconds, p as nowSeconds } from "./time-nR1JesoH.js";
6
- import { t as anonymousSubject } from "./subject-C7RddW0G.js";
5
+ import { r as isId } from "./ids-DzhJaCUj.js";
7
6
  import { n as toWireDelegation, t as fromWireDelegation } from "./wire-delegation-Cv3W2eaM.js";
7
+ import { t as anonymousSubject } from "./subject-C7RddW0G.js";
8
8
  //#region src/server/run-ticket.ts
9
9
  const RUN_TICKET_TYP = "vnd.permdock.run+jwt";
10
10
  /**
@@ -1,5 +1,5 @@
1
- import { _t as TokenSigner, dr as AuthorizationDetail, gt as TokenFailureCause, hr as Delegation, lr as Actor, qt as Instant, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
2
- import { _ as PrincipalSource } from "./permdock-D4F2p5J8.js";
1
+ import { _t as TokenSigner, dr as AuthorizationDetail, gt as TokenFailureCause, hr as Delegation, lr as Actor, qt as Instant, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "./policy-types-rNfz7t0M.js";
2
+ import { _ as PrincipalSource } from "./permdock-BaB-KQqn.js";
3
3
  //#region src/server/run-ticket.d.ts
4
4
  /**
5
5
  * What started the run: a saved automation, a background job, or a caller's own
@@ -1,12 +1,13 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { i as principal } from "./refs-C8BKxc_e.js";
3
- import { a as deny, n as role, r as allow } from "./role-builder-C5AgaC1x.js";
4
- import { A as memoryCustomRoleSource, C as limits, S as memoryRelationSource, w as memoryLimitStore } from "./src-B8SQNsvw.js";
5
- import { h as secondsAt } from "./time-nR1JesoH.js";
3
+ import { a as deny, n as role, r as allow } from "./role-builder-boQiUvfo.js";
4
+ import { D as memoryCustomRoleSource, x as memoryRelationSource } from "./src-BG9YJM3Q.js";
6
5
  import { l as relation, n as anyone } from "./grantee-Dke-9rd1.js";
7
- import { r as definePolicy } from "./policy-CaAME-Rh.js";
6
+ import { h as secondsAt } from "./time-nR1JesoH.js";
7
+ import { r as definePolicy } from "./policy-wGzbAPQF.js";
8
+ import { n as memoryLimitStore, t as limits } from "./limits-CAhpRrhk.js";
8
9
  import { s as quoteSqlLiteral } from "./sql-0WjxIp9g.js";
9
- import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-8N2yFsUM.js";
10
+ import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-COpRGKt7.js";
10
11
  //#region src/testing/saas/policy.ts
11
12
  function isSubject(user) {
12
13
  return user !== null && "context" in user && "principal" in user;
@@ -16,7 +16,7 @@ const scan = defineLeaf({
16
16
  }
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- const { runAdoptionScan } = await import("./adoption-scan-BTG9Noyy.js");
19
+ const { runAdoptionScan } = await import("./adoption-scan-_bHLMnVQ.js");
20
20
  return runAdoptionScan({
21
21
  cwd: ctx.cwd,
22
22
  srcPath: flags.src.length > 0 ? flags.src : ctx.config.collect?.srcPath ?? ["src"],
@@ -1,7 +1,7 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { l as packageRoot } from "./version-DMQ0dnN5.js";
3
3
  import { t as DRAFT_PINS } from "./pins-nqarl3oE.js";
4
- import { a as nonEmptyOr } from "./output-B2h-2g3F.js";
4
+ import { a as nonEmptyOr } from "./output-CYgfpT6o.js";
5
5
  import { t as require__2020 } from "./2020-CJbO8Bvz.js";
6
6
  import { readFileSync } from "node:fs";
7
7
  import { join } from "node:path";
@@ -1,3 +1,3 @@
1
1
  import { t as SqlQuery } from "../sql-B80DFdpG.js";
2
- import { A as ScimFilter, C as DirectoryUser, D as PATCH_SCHEMA, E as LIST_SCHEMA, F as ScimTokenOptions, I as USER_SCHEMA, L as isDirectoryNotFoundError, M as ScimPage, N as ScimPageResult, O as ROLES_EXTENSION, P as ScimPatchOp, R as isDirectoryUniquenessError, S as DirectoryUniquenessError, T as GROUP_SCHEMA, _ as DirectoryChange, a as normalizePatchOps, b as DirectoryNotFoundError, c as filterSupported, d as resourceTypes, f as schemas, g as APP_DATA_EXTENSION, h as sha256Hex, i as directoryMembershipSource, j as ScimHandlerOptions, k as SCIM_CONTENT_TYPE, l as matchFilter, m as authenticateScim, n as postgresDirectoryStore, o as tenantFromPath, p as serviceProviderConfig, r as memoryDirectoryStore, s as scimHandler, t as PostgresDirectoryStoreOptions, u as parseScimFilter, v as DirectoryGroup, w as ERROR_SCHEMA, x as DirectoryStore, y as DirectoryMembershipSourceOptions } from "../index-CLbGOPBr.js";
2
+ import { A as ScimFilter, C as DirectoryUser, D as PATCH_SCHEMA, E as LIST_SCHEMA, F as ScimTokenOptions, I as USER_SCHEMA, L as isDirectoryNotFoundError, M as ScimPage, N as ScimPageResult, O as ROLES_EXTENSION, P as ScimPatchOp, R as isDirectoryUniquenessError, S as DirectoryUniquenessError, T as GROUP_SCHEMA, _ as DirectoryChange, a as normalizePatchOps, b as DirectoryNotFoundError, c as filterSupported, d as resourceTypes, f as schemas, g as APP_DATA_EXTENSION, h as sha256Hex, i as directoryMembershipSource, j as ScimHandlerOptions, k as SCIM_CONTENT_TYPE, l as matchFilter, m as authenticateScim, n as postgresDirectoryStore, o as tenantFromPath, p as serviceProviderConfig, r as memoryDirectoryStore, s as scimHandler, t as PostgresDirectoryStoreOptions, u as parseScimFilter, v as DirectoryGroup, w as ERROR_SCHEMA, x as DirectoryStore, y as DirectoryMembershipSourceOptions } from "../index-C-R8lBPb.js";
3
3
  export { APP_DATA_EXTENSION, type DirectoryChange, type DirectoryGroup, type DirectoryMembershipSourceOptions, DirectoryNotFoundError, type DirectoryStore, DirectoryUniquenessError, type DirectoryUser, ERROR_SCHEMA, GROUP_SCHEMA, LIST_SCHEMA, PATCH_SCHEMA, type PostgresDirectoryStoreOptions, ROLES_EXTENSION, SCIM_CONTENT_TYPE, type ScimFilter, type ScimHandlerOptions, type ScimPage, type ScimPageResult, type ScimPatchOp, type ScimTokenOptions, type SqlQuery, USER_SCHEMA, authenticateScim, directoryMembershipSource, filterSupported, isDirectoryNotFoundError, isDirectoryUniquenessError, matchFilter, memoryDirectoryStore, normalizePatchOps, parseScimFilter, postgresDirectoryStore, resourceTypes, schemas, scimHandler, serviceProviderConfig, sha256Hex, tenantFromPath };
@@ -1,3 +1,3 @@
1
- import { a as resourceTypes, c as authenticateScim, i as normalizePatchOps, l as sha256Hex, n as scimHandler, o as schemas, r as tenantFromPath, s as serviceProviderConfig, t as directoryMembershipSource } from "../scim-C30QBBoF.js";
1
+ import { a as resourceTypes, c as authenticateScim, i as normalizePatchOps, l as sha256Hex, n as scimHandler, o as schemas, r as tenantFromPath, s as serviceProviderConfig, t as directoryMembershipSource } from "../scim-BG6uPUeW.js";
2
2
  import { _ as SCIM_CONTENT_TYPE, a as memoryDirectoryStore, b as isDirectoryUniquenessError, c as parseScimFilter, d as DirectoryUniquenessError, f as ERROR_SCHEMA, g as ROLES_EXTENSION, h as PATCH_SCHEMA, i as postgresDirectoryStore, l as APP_DATA_EXTENSION, m as LIST_SCHEMA, o as filterSupported, p as GROUP_SCHEMA, s as matchFilter, u as DirectoryNotFoundError, v as USER_SCHEMA, y as isDirectoryNotFoundError } from "../postgres-store-DcyrPS-r.js";
3
3
  export { APP_DATA_EXTENSION, DirectoryNotFoundError, DirectoryUniquenessError, ERROR_SCHEMA, GROUP_SCHEMA, LIST_SCHEMA, PATCH_SCHEMA, ROLES_EXTENSION, SCIM_CONTENT_TYPE, USER_SCHEMA, authenticateScim, directoryMembershipSource, filterSupported, isDirectoryNotFoundError, isDirectoryUniquenessError, matchFilter, memoryDirectoryStore, normalizePatchOps, parseScimFilter, postgresDirectoryStore, resourceTypes, schemas, scimHandler, serviceProviderConfig, sha256Hex, tenantFromPath };
@@ -1,8 +1,8 @@
1
1
  import { r as isRecord } from "./compact-CAf557ZB.js";
2
2
  import { t as freezeCopy } from "./freeze-jjan0lCv.js";
3
3
  import { n as isForbiddenKey } from "./paths-CUvURzHp.js";
4
- import { i as idText, n as expirySeconds } from "./expiry-6XByK0dm.js";
5
4
  import { i as readAppData } from "./app-data-UNNm07jV.js";
5
+ import { n as idText, o as expirySeconds } from "./ids-DzhJaCUj.js";
6
6
  //#region src/core/scopes.ts
7
7
  const RESERVED = /* @__PURE__ */ new Set(["global", "resource"]);
8
8
  const NAME = /^[a-z][a-z0-9_]*$/u;
@@ -1,13 +1,14 @@
1
- import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-DkOK9zUE.js";
2
- import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-OTE9u4Wk.js";
1
+ import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-DLAYFlkr.js";
2
+ import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-D_JIQJYb.js";
3
3
  import { t as RequestContext } from "../request-context-C2_1lchh.js";
4
+ import { a as StoredCredential, c as generateFeedKey, d as parseApiKey, f as parseFeedKey, i as MemoryCredentialStore, l as hashApiKey, n as ApiKeyParts, o as apiKeyVerifier, p as subjectFromApiKey, r as ApiKeySubjectOptions, s as generateApiKey, t as ApiKeyFailureCause, u as memoryCredentialStore } from "../credentials-DPX140fN.js";
4
5
  import { i as memoryRevocationFeed, n as RevocationFeed, t as RevocationEvent } from "../revocations-BaUXHM1N.js";
5
- import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types-ChzXWU4Y.js";
6
- import { i as evaluationsHandler } from "../evaluations-BgxEfPL7.js";
7
- import { C as subjectFromApiKey, E as createPermDock, S as parseFeedKey, T as problemFromError, _ as generateApiKey, a as SupportSessionContext, b as memoryCredentialStore, c as SupportSessionSubjectOptions, d as ApiKeyFailureCause, f as ApiKeyParts, g as apiKeyVerifier, h as StoredCredential, i as wwwAuthenticate, l as signSupportSession, m as MemoryCredentialStore, n as problemResponse, o as SupportSessionFailureCause, p as ApiKeySubjectOptions, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession, v as generateFeedKey, w as ProblemFromErrorOptions, x as parseApiKey, y as hashApiKey } from "../index-B_I6N8Ju.js";
8
- import { l as ReplayStore } from "../types-DBVSljAx.js";
9
- import { a as WebhookInput, c as WebhookMessage, d as WebhookSigningKey, f as WebhookVerifier, h as webhookVerifier, i as WebhookHeaders, l as WebhookSigner, m as webhookSigner, n as WebhookAlgorithm, o as WebhookJwk, p as WebhookVerifierOptions, r as WebhookFailureCause, s as WebhookJwks, t as VerifiedWebhookMessage, u as WebhookSignerOptions } from "../standard-webhooks-CFZIYtBF.js";
10
- import { t as memoryReplayStore } from "../replay-DYXI4gRN.js";
11
- import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-MPinwwgZ.js";
12
- import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-94DOS9Cd.js";
6
+ import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types--_Hann81.js";
7
+ import { i as evaluationsHandler } from "../evaluations-DQYfh4Jh.js";
8
+ import { a as SupportSessionContext, c as SupportSessionSubjectOptions, d as ProblemFromErrorOptions, f as problemFromError, i as wwwAuthenticate, l as signSupportSession, n as problemResponse, o as SupportSessionFailureCause, p as createPermDock, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession } from "../index-BcS8c_2S.js";
9
+ import { l as ReplayStore } from "../types-Cq2rvv-C.js";
10
+ import { a as WebhookInput, c as WebhookMessage, d as WebhookSigningKey, f as WebhookVerifier, h as webhookVerifier, i as WebhookHeaders, l as WebhookSigner, m as webhookSigner, n as WebhookAlgorithm, o as WebhookJwk, p as WebhookVerifierOptions, r as WebhookFailureCause, s as WebhookJwks, t as VerifiedWebhookMessage, u as WebhookSignerOptions } from "../standard-webhooks-CJBgfl7y.js";
11
+ import { t as memoryReplayStore } from "../replay-DKhFvt0L.js";
12
+ import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-Cc7VNabe.js";
13
+ import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-Dulj4RQk.js";
13
14
  export { type ApiKeyFailureCause, type ApiKeyParts, type ApiKeySubjectOptions, type ApprovalHint, type CacheLifeForOptions, type Connection, type ConnectionData, type ConnectionOptions, type DeniedResponse, type DeniedResponseEvent, type DiscoverViaSignatureAgentOptions, type Guard, InvalidSignatureError, type MemoryCredentialStore, type OpenApiHooks, type OperationScopes, PROBLEM_BASE, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, type ProblemFromErrorOptions, type ProtectOptions, RUN_TICKET_CLAIMS, type ReplayStore, type RequestContext, type RevocationEvent, type RevocationFeed, type RunActClaim, type RunAutomation, type RunBinding, type RunContext, type RunKind, type RunPrincipal, type RunResource, type RunTicket, type RunTicketAutomations, type RunTicketFailureCause, type RunTicketInput, type RunTicketOptions, type RunTicketSubjectOptions, type ScopeGuard, type ServerPermDock, type ServerPermDockOptions, type SnapshotHeaders, type SnapshotHeadersOptions, type SnapshotQuery, type StoredCredential, type SupportSessionContext, type SupportSessionFailureCause, type SupportSessionSource, type SupportSessionSubjectOptions, type TenantOption, type TenantScope, type VerifiedWebhookMessage, type WebBotAuthJwk, type WebBotAuthKeyLookup, type WebBotAuthKeys, type WebBotAuthOptions, type WebBotAuthVerifier, type WebhookAlgorithm, type WebhookFailureCause, type WebhookHeaders, type WebhookInput, type WebhookJwk, type WebhookJwks, type WebhookMessage, type WebhookSigner, type WebhookSignerOptions, type WebhookSigningKey, type WebhookVerifier, type WebhookVerifierOptions, apiKeyVerifier, cacheLifeFor, createPermDock, discoverViaSignatureAgent, evaluationsHandler, generateApiKey, generateFeedKey, hashApiKey, invalidSignatureProblem, invalidSignatureResponse, memoryCredentialStore, memoryReplayStore, memoryRevocationFeed, parseApiKey, parseFeedKey, parseRunTicket, problemFromDecision, problemFromError, problemResponse, signRunTicket, signSupportSession, snapshotHeaders, snapshotKey, snapshotTag, subjectFromApiKey, subjectFromRunTicket, subjectFromSupportSession, tenantScope, validationProblem, webBotAuthVerifier, webhookSigner, webhookVerifier, wwwAuthenticate };
@@ -1,14 +1,15 @@
1
1
  import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-error-CYg2kJEw.js";
2
2
  import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockApprovalRequiredError } from "../errors-ynga1EQy.js";
3
3
  import { t as memoryRevocationFeed } from "../revocations-Bhr0aMIC.js";
4
+ import { n as tenantScope } from "../adapter-context-OHikyRqV.js";
4
5
  import { c as problemFromDecision, f as validationProblem, l as problemResponse, p as wwwAuthenticate } from "../problem-BWP1l86g.js";
6
+ import { t as createPermDock } from "../create-BsL5lCWR.js";
7
+ import { f as InvalidSignatureError, g as webBotAuthVerifier, h as invalidSignatureResponse, m as invalidSignatureProblem, o as evaluationsHandler, p as discoverViaSignatureAgent } from "../evaluations-BzTDWO4m.js";
8
+ import { a as memoryCredentialStore, c as subjectFromApiKey, i as hashApiKey, n as generateApiKey, o as parseApiKey, r as generateFeedKey, s as parseFeedKey, t as apiKeyVerifier } from "../credentials-BXV0oz56.js";
9
+ import { t as problemFromError } from "../map-error-p4ROJ_26.js";
5
10
  import { t as memoryReplayStore } from "../replay-BU09ad4L.js";
6
11
  import { i as snapshotTag, n as snapshotHeaders, r as snapshotKey, t as cacheLifeFor } from "../snapshot-cache-B66h7FBK.js";
7
- import { d as invalidSignatureProblem, f as invalidSignatureResponse, l as InvalidSignatureError, o as evaluationsHandler, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
8
- import { n as tenantScope } from "../adapter-context-OHikyRqV.js";
9
- import { t as createPermDock } from "../create-DDUFG1ul.js";
10
- import { a as generateFeedKey, c as parseApiKey, i as generateApiKey, l as parseFeedKey, n as subjectFromSupportSession, o as hashApiKey, r as apiKeyVerifier, s as memoryCredentialStore, t as signSupportSession, u as subjectFromApiKey } from "../server-D0PW6ZCw.js";
11
- import { i as subjectFromRunTicket, n as parseRunTicket, r as signRunTicket, t as RUN_TICKET_CLAIMS } from "../run-ticket-CjvXr6wj.js";
12
- import { t as problemFromError } from "../map-error-EOhahOVA.js";
12
+ import { i as subjectFromRunTicket, n as parseRunTicket, r as signRunTicket, t as RUN_TICKET_CLAIMS } from "../run-ticket-Ddxt9OuU.js";
13
+ import { n as subjectFromSupportSession, t as signSupportSession } from "../server-CKjFooaJ.js";
13
14
  import { n as webhookVerifier, t as webhookSigner } from "../standard-webhooks-D67a3nzk.js";
14
15
  export { InvalidSignatureError, PROBLEM_BASE, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, RUN_TICKET_CLAIMS, apiKeyVerifier, cacheLifeFor, createPermDock, discoverViaSignatureAgent, evaluationsHandler, generateApiKey, generateFeedKey, hashApiKey, invalidSignatureProblem, invalidSignatureResponse, memoryCredentialStore, memoryReplayStore, memoryRevocationFeed, parseApiKey, parseFeedKey, parseRunTicket, problemFromDecision, problemFromError, problemResponse, signRunTicket, signSupportSession, snapshotHeaders, snapshotKey, snapshotTag, subjectFromApiKey, subjectFromRunTicket, subjectFromSupportSession, tenantScope, validationProblem, webBotAuthVerifier, webhookSigner, webhookVerifier, wwwAuthenticate };
@@ -0,0 +1,147 @@
1
+ import { t as compact } from "./compact-CAf557ZB.js";
2
+ import { a as ownRecord } from "./paths-CUvURzHp.js";
3
+ import { m as annotationsFor, n as findPermission } from "./permission-registry-B8tYxPIt.js";
4
+ import { g as secondsOf, m as rfc3339, o as epochSeconds } from "./time-nR1JesoH.js";
5
+ import { n as parseSupportSession } from "./support-session-BGeEYDSq.js";
6
+ import { t as anonymousSubject } from "./subject-C7RddW0G.js";
7
+ //#region src/server/support-session.ts
8
+ const SUPPORT_SESSION_TYP = "vnd.permdock.support-session+jwt";
9
+ /**
10
+ * Signs a granted `SupportSession` as a `vnd.permdock.support-session+jwt`
11
+ * (`sub` the viewed principal, `act` the support actor, `jti` the session id)
12
+ * that expires with the session. Throws a `TypeError` for a record
13
+ * `parseSupportSession` refuses.
14
+ */
15
+ function signSupportSession(session, signer, options = {}) {
16
+ const parsed = parseSupportSession(session);
17
+ if (parsed === void 0) throw new TypeError("PermDock: invalid support session");
18
+ return signer.sign(compact({
19
+ v: 1,
20
+ sub: parsed.principal,
21
+ act: {
22
+ sub: parsed.actor,
23
+ kind: "support"
24
+ },
25
+ tenant: parsed.tenant,
26
+ reason: parsed.reason,
27
+ permissions: parsed.permissions,
28
+ approved_by: parsed.approvedBy,
29
+ reference: parsed.reference
30
+ }), compact({
31
+ typ: SUPPORT_SESSION_TYP,
32
+ audience: options.audience,
33
+ expiresAt: secondsOf(parsed.expiresAt),
34
+ issuedAt: secondsOf(parsed.startedAt),
35
+ jti: parsed.id
36
+ }));
37
+ }
38
+ function sessionOf(claims) {
39
+ const record = ownRecord(claims);
40
+ const act = ownRecord(record?.["act"]);
41
+ const { iat, exp } = record ?? {};
42
+ if (record === void 0 || act === void 0 || act["kind"] !== "support" || act["act"] !== void 0 || typeof iat !== "number" || typeof exp !== "number" || !Number.isSafeInteger(iat) || !Number.isSafeInteger(exp)) return;
43
+ return parseSupportSession({
44
+ v: record["v"],
45
+ id: record["jti"],
46
+ principal: record["sub"],
47
+ actor: act["sub"],
48
+ tenant: record["tenant"],
49
+ reason: record["reason"],
50
+ permissions: record["permissions"],
51
+ startedAt: rfc3339(iat),
52
+ expiresAt: rfc3339(exp),
53
+ approvedBy: record["approved_by"],
54
+ reference: record["reference"]
55
+ });
56
+ }
57
+ async function load(principals, id, tenant) {
58
+ try {
59
+ const loaded = await principals.principal(id, { tenant });
60
+ const record = ownRecord(loaded);
61
+ if (record === void 0 || record["id"] !== id) return;
62
+ return loaded;
63
+ } catch {
64
+ return;
65
+ }
66
+ }
67
+ async function ended(sessions, id) {
68
+ if (sessions === void 0) return false;
69
+ try {
70
+ const live = ownRecord(await sessions.session(id));
71
+ return live === void 0 || live["id"] !== id || live["ended"] === true;
72
+ } catch {
73
+ return true;
74
+ }
75
+ }
76
+ /**
77
+ * Resolves a `vnd.permdock.support-session+jwt` into the subject each request
78
+ * of the session acts as: the viewed principal loaded live, a `support` actor,
79
+ * the session's permissions as the delegation and `context.supportSession`. The
80
+ * actor must still exist. Every failure is the anonymous subject, never a
81
+ * throw.
82
+ */
83
+ async function subjectFromSupportSession(token, options) {
84
+ if (typeof token !== "string" || token.length === 0) return anonymousSubject();
85
+ const deny = (cause) => {
86
+ try {
87
+ options.onAuth?.(compact({
88
+ reason: "invalid-token",
89
+ cause,
90
+ source: "support-session",
91
+ typ: SUPPORT_SESSION_TYP,
92
+ issuer: options.issuer,
93
+ requestId: options.requestId
94
+ }));
95
+ } catch {}
96
+ return anonymousSubject();
97
+ };
98
+ let session;
99
+ try {
100
+ const verified = await options.verifier.verify(token, compact({
101
+ typ: SUPPORT_SESSION_TYP,
102
+ audience: options.audience,
103
+ issuer: options.issuer,
104
+ clockTolerance: options.clockTolerance
105
+ }));
106
+ if (!verified.ok) return deny(verified.cause);
107
+ if (verified.header.typ?.toLowerCase().replace(/^application\//u, "") !== SUPPORT_SESSION_TYP) return deny("wrong-token-type");
108
+ session = sessionOf(verified.claims);
109
+ } catch {
110
+ return deny("malformed");
111
+ }
112
+ if (session === void 0) return deny("invalid-claims");
113
+ if ((secondsOf(session.expiresAt) ?? 0) <= epochSeconds()) return deny("expired");
114
+ if (await ended(options.sessions, session.id)) return deny("session-ended");
115
+ if (await load(options.principals, session.actor, session.tenant) === void 0) return deny("actor-unavailable");
116
+ const principal = await load(options.principals, session.principal, session.tenant);
117
+ if (principal === void 0) return deny("principal-unavailable");
118
+ const scopes = [];
119
+ let readOnly = true;
120
+ for (const key of session.permissions) {
121
+ const leaf = findPermission(options.permissions, key);
122
+ if (leaf === void 0) return deny("invalid-claims");
123
+ scopes.push(leaf.scope);
124
+ readOnly &&= annotationsFor(leaf).readOnlyHint;
125
+ }
126
+ return Object.freeze(compact({
127
+ principal: Object.freeze({
128
+ ...principal,
129
+ tenant: session.tenant
130
+ }),
131
+ actor: Object.freeze(compact({
132
+ id: session.actor,
133
+ kind: "support",
134
+ readOnly: readOnly || void 0
135
+ })),
136
+ delegation: Object.freeze({ scopes }),
137
+ context: Object.freeze({ supportSession: Object.freeze(compact({
138
+ id: session.id,
139
+ reason: session.reason,
140
+ approvedBy: session.approvedBy,
141
+ reference: session.reference
142
+ })) }),
143
+ expiresAt: secondsOf(session.expiresAt)
144
+ }));
145
+ }
146
+ //#endregion
147
+ export { subjectFromSupportSession as n, signSupportSession as t };
@@ -1,14 +1,14 @@
1
- import { N as PolicyVocabulary, Q as Intent, Yn as Decision, _r as JsonWebKeyLike, an as SnapshotTenants, en as Snapshot, lr as Actor, qt as Instant, xr as Subject } from "./policy-types-BI9C5Sp5.js";
2
- import { u as Permission } from "./permission-types-CAY-GU7e.js";
3
- import { a as PermDock, u as SnapshotOptions } from "./permdock-D4F2p5J8.js";
4
- import { m as ApprovalStore } from "./types-BzxA2OAD.js";
5
- import { a as ProblemDetails, t as ApprovalHint } from "./errors-OTE9u4Wk.js";
6
- import { t as InstanceOptions } from "./instance-options-VPsNQsTH.js";
1
+ import { N as PolicyVocabulary, Q as Intent, Yn as Decision, _r as JsonWebKeyLike, an as SnapshotTenants, en as Snapshot, lr as Actor, qt as Instant, xr as Subject } from "./policy-types-rNfz7t0M.js";
2
+ import { w as Permission } from "./vocabulary-DeZvUaTw.js";
3
+ import { a as PermDock, u as SnapshotOptions } from "./permdock-BaB-KQqn.js";
4
+ import { m as ApprovalStore } from "./types-ZfjQB0KC.js";
5
+ import { a as ProblemDetails, t as ApprovalHint } from "./errors-D_JIQJYb.js";
6
+ import { t as InstanceOptions } from "./instance-options-C6gEDOts.js";
7
7
  import { t as RequestContext } from "./request-context-C2_1lchh.js";
8
- import { n as PermDockWrap } from "./wrap-CE5lxje7.js";
8
+ import { n as PermDockWrap } from "./wrap-B-k2qHJx.js";
9
9
  import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
10
- import { r as PdpFactory } from "./types-CMclYgSk.js";
11
- import { i as evaluationsHandler } from "./evaluations-BgxEfPL7.js";
10
+ import { r as PdpFactory } from "./types-C_a44wSr.js";
11
+ import { i as evaluationsHandler } from "./evaluations-DQYfh4Jh.js";
12
12
  //#region src/server/connection.d.ts
13
13
  type ConnectionData<T> = T | (() => T | null | undefined | Promise<T | null | undefined>);
14
14
  type ConnectionOptions<T = unknown> = {
@@ -283,6 +283,7 @@ type SnapshotQuery = {
283
283
  readonly tenant?: string;
284
284
  readonly include?: SnapshotOptions["include"];
285
285
  readonly tenants?: SnapshotTenants;
286
+ readonly omitAssignable?: SnapshotOptions["omitAssignable"];
286
287
  };
287
288
  /**
288
289
  * What `createPermDock` from `permdock/server` returns. Every member takes an
@@ -3,7 +3,7 @@ import { n as isForbiddenKey } from "./paths-CUvURzHp.js";
3
3
  import { t as byCodePoint } from "./compare-DTfyUunF.js";
4
4
  import { i as configError } from "./errors-BhRkoNS7.js";
5
5
  import { a as quoteQualifiedTable, c as quoteSqlTable, o as quoteSqlIdent, s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
6
- import { t as byScope } from "./compile-B_oJqmIg.js";
6
+ import { t as byScope } from "./compile-Cvru58id.js";
7
7
  import "./sources-C4vkzZJV.js";
8
8
  //#region src/cli/sql/columns.ts
9
9
  /**
@@ -80,6 +80,15 @@ function scopeTypeOf(ctx, name) {
80
80
  return declared === void 0 ? tenantTypeOf(ctx) : sqlType(declared);
81
81
  }
82
82
  /**
83
+ * Postgres type of a resource's id in the row helpers: `rls.idTypes` by
84
+ * resource, then its `"*"` default, then `uuid` on Supabase and `text`
85
+ * elsewhere.
86
+ */
87
+ function idTypeOf(ctx, resource) {
88
+ const types = ctx.idTypes;
89
+ return sqlType((types !== void 0 && Object.hasOwn(types, resource) ? types[resource] : types?.["*"]) ?? (ctx.dialect === "supabase" ? "uuid" : "text"));
90
+ }
91
+ /**
83
92
  * The tenant type `rls.scopeTypes` gives the first scope, else `uuid`: the type
84
93
  * the tenant claim and the custom-role tenant arguments are cast to.
85
94
  */
@@ -342,4 +351,4 @@ function allowEntry(ctx) {
342
351
  return ctx.customRoles?.levels === true ? "permission || coalesce('@' || c.level, '')" : "permission";
343
352
  }
344
353
  //#endregion
345
- export { quoteQualified as A, parseMembershipsFlag as C, qualified as D, helperSchema as E, firstScopeType as F, scopeTypeOf as I, sqlType as L, textArrayLiteral as M, arrayColumnsOf as N, quoteIdent as O, columnTypesOf as P, tenantTypeOf as R, CLAIM as S, declaredArray as T, subjectClaimJsonSql as _, customRolesOn as a, tenantClaimSql as b, SESSION_LIVE_HELPER as c, keyTenantSql as d, kindFilterSql as f, sessionLiveHelperSql as g, roleKindSql as h, allowEntry as i, quoteTable as j, quoteLiteral as k, USER_ID_HELPER as l, memberVia as m, GLOBAL_ROLES as n, rootName as o, liveSessionSql as p, HELPERS as r, signedIn as s, CUSTOM_ROLES as t, globalKindFilterSql as u, subjectClaimSql as v, CLI as w, userIdHelperSql as x, subjectIdSql as y };
354
+ export { quoteQualified as A, parseMembershipsFlag as C, qualified as D, helperSchema as E, firstScopeType as F, idTypeOf as I, scopeTypeOf as L, textArrayLiteral as M, arrayColumnsOf as N, quoteIdent as O, columnTypesOf as P, sqlType as R, CLAIM as S, declaredArray as T, subjectClaimJsonSql as _, customRolesOn as a, tenantClaimSql as b, SESSION_LIVE_HELPER as c, keyTenantSql as d, kindFilterSql as f, sessionLiveHelperSql as g, roleKindSql as h, allowEntry as i, quoteTable as j, quoteLiteral as k, USER_ID_HELPER as l, memberVia as m, GLOBAL_ROLES as n, rootName as o, liveSessionSql as p, HELPERS as r, signedIn as s, CUSTOM_ROLES as t, globalKindFilterSql as u, subjectClaimSql as v, CLI as w, userIdHelperSql as x, subjectIdSql as y, tenantTypeOf as z };
@@ -1,7 +1,7 @@
1
- import { Mt as Credential, Tt as SupportSession, X as DecisionSink, _n as SinkEvent, _t as TokenSigner, cn as AutomationEvent, gn as MembershipEvent, ln as CredentialEvent, on as AccessEvent } from "./policy-types-BI9C5Sp5.js";
2
- import { M as AppData } from "./permission-types-CAY-GU7e.js";
3
- import { u as OperationRisk } from "./operations-Ci_rT6Uo.js";
4
- import { t as Automation } from "./automation-CpOk7Tlu.js";
1
+ import { Mt as Credential, Tt as SupportSession, X as DecisionSink, _n as SinkEvent, _t as TokenSigner, cn as AutomationEvent, gn as MembershipEvent, ln as CredentialEvent, on as AccessEvent } from "./policy-types-rNfz7t0M.js";
2
+ import { K as AppData } from "./vocabulary-DeZvUaTw.js";
3
+ import { u as OperationRisk } from "./operations-BMPx7HyO.js";
4
+ import { t as Automation } from "./automation-B20_8UoT.js";
5
5
  //#region src/core/sink.d.ts
6
6
  /**
7
7
  * The closed list of CloudEvents `type` values, `com.permdock.<family>` or
@@ -2,7 +2,7 @@ import { t as byCodePoint } from "./compare-DTfyUunF.js";
2
2
  import { i as readJsonFile } from "./files-BSjrtIHw.js";
3
3
  import { l as packageRoot } from "./version-DMQ0dnN5.js";
4
4
  import { t as didYouMean } from "./args-iafbHiXn.js";
5
- import { a as nonEmptyOr } from "./output-B2h-2g3F.js";
5
+ import { a as nonEmptyOr } from "./output-CYgfpT6o.js";
6
6
  import { cpSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, writeFileSync } from "node:fs";
7
7
  import { basename, dirname, join, relative, resolve } from "node:path";
8
8
  import { pathToFileURL } from "node:url";
@@ -1,7 +1,7 @@
1
1
  import { t as defineLeaf } from "./command-L8EstFNm.js";
2
2
  import { t as checkFlag } from "./flags-BlmpmXoY.js";
3
- import { r as pick, t as CANCELLED } from "./prompt-BYc6drYW.js";
4
- import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-N2Hd8KN8.js";
3
+ import { r as pick, t as CANCELLED } from "./prompt-D1Gj1W4Y.js";
4
+ import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-417bOj4o.js";
5
5
  //#region src/cli/commands/skills.ts
6
6
  const forFlag = { for: {
7
7
  type: "string",
@@ -2,11 +2,11 @@ import { t as compact } from "./compact-CAf557ZB.js";
2
2
  import { n as freezeDeep } from "./freeze-jjan0lCv.js";
3
3
  import { n as isForbiddenKey } from "./paths-CUvURzHp.js";
4
4
  import { a as resolveConditionRef, l as isConditionRef } from "./refs-C8BKxc_e.js";
5
- import { l as isRfc3339, m as rfc3339, p as nowSeconds } from "./time-nR1JesoH.js";
6
- import { d as scopeList } from "./scopes-BSdYaGHs.js";
7
- import { _ as listPlans, v as listRoles } from "./grantee-Dke-9rd1.js";
8
5
  import { i as wireValidity } from "./validity-Buc7w8E9.js";
9
- import { m as tenantsOf } from "./tenancy-DvOHHk3-.js";
6
+ import { _ as listPlans, v as listRoles } from "./grantee-Dke-9rd1.js";
7
+ import { l as isRfc3339, m as rfc3339, p as nowSeconds } from "./time-nR1JesoH.js";
8
+ import { d as scopeList } from "./scopes-gdH__vDZ.js";
9
+ import { m as tenantsOf } from "./tenancy-BlxY5T0q.js";
10
10
  import { n as toWireDelegation } from "./wire-delegation-Cv3W2eaM.js";
11
11
  //#region src/conditions/bind.ts
12
12
  function isPrimitive(value) {
@@ -1,4 +1,4 @@
1
- import { en as Snapshot, qt as Instant } from "./policy-types-BI9C5Sp5.js";
1
+ import { en as Snapshot, qt as Instant } from "./policy-types-rNfz7t0M.js";
2
2
  //#region src/core/snapshot-cache.d.ts
3
3
  type CacheLifeForOptions = {
4
4
  /**
@@ -1,11 +1,10 @@
1
- import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, tr as GrantedDecision, vr as Membership, vt as TokenVerifier } from "../policy-types-BI9C5Sp5.js";
2
- import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { r as Role } from "../vocabulary-DEJ5j4mR.js";
4
- import { d as UncheckedData, s as RowData } from "../permdock-D4F2p5J8.js";
5
- import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
6
- import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DibQM6g-.js";
1
+ import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, tr as GrantedDecision, vr as Membership, vt as TokenVerifier } from "../policy-types-rNfz7t0M.js";
2
+ import { r as Role, w as Permission } from "../vocabulary-DeZvUaTw.js";
3
+ import { d as UncheckedData, s as RowData } from "../permdock-BaB-KQqn.js";
4
+ import { c as requiredPlans } from "../errors-D_JIQJYb.js";
5
+ import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DVobr5FX.js";
7
6
  import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
8
- import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-Dpg_fSNQ.js";
7
+ import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-DSyjHD5-.js";
9
8
  import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
10
9
  import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
11
10
  import { Accessor, Accessor as Accessor$1, JSX } from "solid-js";
@@ -4,8 +4,8 @@ import { n as describe } from "../describe-BZAlPHxT.js";
4
4
  import { n as boundaryFallback, t as boundaryDigest } from "../boundary-BV3O1eud.js";
5
5
  import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "../protected-action-OpOxtTsN.js";
6
6
  import { a as livePermDock, c as rolesView, d as subjectView, f as tenantView, i as gateView, l as scopedTenant, n as describeWith, o as permissionSet, r as filterResult, s as protectedView, t as approvalHandle, u as slotContent } from "../views-MWmJ6Y4P.js";
7
- import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-CDvoX52-.js";
8
- import { n as switchTenant, t as providerStore } from "../provider-store-BTHGJH9j.js";
7
+ import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-CXv6BHH6.js";
8
+ import { n as switchTenant, t as providerStore } from "../provider-store-D4PU1my_.js";
9
9
  import { ErrorBoundary, createComponent, createComputed, createContext, createMemo, createSignal, getOwner, on, onCleanup, useContext } from "solid-js";
10
10
  //#region src/solid/context.ts
11
11
  const PermDockContext = createContext(void 0);
@@ -1,9 +1,9 @@
1
- import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
2
- import { u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
4
- import { a as PermDock } from "../permdock-D4F2p5J8.js";
5
- 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-ChzXWU4Y.js";
6
- import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-DCQ4pZxf.js";
1
+ import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-rNfz7t0M.js";
2
+ import { w as Permission } from "../vocabulary-DeZvUaTw.js";
3
+ import { a as OperationInput, t as Operation } from "../operations-BMPx7HyO.js";
4
+ import { a as PermDock } from "../permdock-BaB-KQqn.js";
5
+ 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--_Hann81.js";
6
+ import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-DxqsIXSO.js";
7
7
  import { APIEvent, FetchEvent } from "@solidjs/start/server";
8
8
  //#region src/solid-start/create.d.ts
9
9
  /** The h3 event under every SolidStart request; `subject` and `scope` read it. */
@@ -1,6 +1,6 @@
1
- import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
2
- import { i as decorate } from "../bind-gwEbe9hL.js";
3
- import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-acq4dPX3.js";
1
+ import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-BzTDWO4m.js";
2
+ import { i as decorate } from "../bind-B4Z0U2Gr.js";
3
+ import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-MoYZ-vF5.js";
4
4
  //#region src/solid-start/create.ts
5
5
  /**
6
6
  * `event.locals`. Its type, `App.RequestEventLocals`, is declared by
@@ -1,4 +1,4 @@
1
- import { it as MembershipSource, sn as AuthEvent, yr as Principal } from "./policy-types-BI9C5Sp5.js";
1
+ import { it as MembershipSource, sn as AuthEvent, yr as Principal } from "./policy-types-rNfz7t0M.js";
2
2
  import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
3
3
  import { t as ClientNames } from "./clients-C_NOET3z.js";
4
4
  import { c as SupabaseManifestMembership } from "./manifest-B5yF3CIq.js";