permdock 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/a2a/index.js +4 -4
- package/dist/{adoption-scan-CNoE5yBA.js → adoption-scan-8F9VSQrK.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.d.ts +28 -10
- package/dist/app/index.js +69 -46
- package/dist/{app-DIvM65Mv.js → app-J9PE1LNm.js} +1 -1
- package/dist/{approval-policies-D7moEfTM.d.ts → approval-policies-BiXMlYBu.d.ts} +1 -1
- package/dist/{approval-prompt-DtfKSH-8.d.ts → approval-prompt-j5PTItiy.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-4rMFOHbu.js → arazzo-BUVqRmaJ.js} +1 -1
- package/dist/{arazzo-rsYPFgga.js → arazzo-CWmM8pWw.js} +2 -2
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +1 -1
- package/dist/{audience-N2BqOvES.js → audience-DLoopY4q.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +1 -1
- package/dist/{automation-CrGcfIZn.d.ts → automation-_iGeP54L.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +31 -19
- package/dist/better-supabase/index.js +26 -18
- package/dist/{bind-N5jf6kjk.d.ts → bind-CTj4dHc1.d.ts} +7 -7
- package/dist/{bind-Cx10JuJ-.js → bind-LQ6zbARV.js} +2 -2
- package/dist/{build-instance-BDGzsGcn.js → build-instance-Bq8wkJ4i.js} +1 -1
- package/dist/{capability-mLbd3KZ0.d.ts → capability-DqCyFGip.d.ts} +1 -1
- package/dist/{casbin-Dg5N0Gfa.js → casbin-DIvUMac7.js} +1 -1
- package/dist/{casbin-CjUT-wqV.js → casbin-qpG_ZphP.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/catalog/index.js +4 -4
- package/dist/{catalog-BJu0A15r.js → catalog-B1MAmRQI.js} +2 -2
- package/dist/catalog-BCVIH7kq.js +1 -0
- package/dist/{catalog-CgA6-DQA.js → catalog-CaZoXBD8.js} +1 -1
- package/dist/{challenge-DVw1SrH9.js → challenge-DKJpP-5P.js} +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +2 -2
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.d.ts +4 -4
- package/dist/cli/index.js +3 -3
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-Blw4AaQv.js → cloud-CXgE1qpa.js} +2 -2
- package/dist/{codemod-ByRUKVp-.js → codemod-BJ0Kgv9b.js} +2 -2
- package/dist/{codemod-BFFXaS-S.js → codemod-DjgVx3RQ.js} +1 -1
- package/dist/{collect-D3ToPa6Z.js → collect-BG-SXFQv.js} +1 -1
- package/dist/{collect-COqPRz6O.js → collect-CxPJRjoc.js} +2 -2
- package/dist/collect-ZLgHgujd.js +1 -0
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DSwZUJmL.d.ts → compile-Dh9pW_Co.d.ts} +2 -2
- package/dist/{completion-BW53byZN.js → completion-DUHSRdoQ.js} +1 -1
- package/dist/{config-B0qti4jI.js → config-CgA_Z5Ts.js} +1 -1
- package/dist/{config-DyNanTjZ.js → config-DC7aiuhP.js} +2 -2
- package/dist/{config-report-DgMqeeK6.js → config-report-B31MnuKf.js} +2 -2
- package/dist/{config-shape-C4zqzG2K.js → config-shape-ChhsuGSV.js} +2 -1
- package/dist/{context-KrAhRY22.js → context-BXM0MDB0.js} +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +2 -2
- package/dist/{core-DMQsq2Gv.js → core-BTJlqWsv.js} +5 -5
- package/dist/{core-KsoqXWhf.d.ts → core-BhZEo5Le.d.ts} +2 -2
- package/dist/{coverage-D8jBJdgD.d.ts → coverage-BuGlwUms.d.ts} +30 -9
- package/dist/{coverage-Dh2W_DmF.js → coverage-CGu_Kovx.js} +114 -64
- package/dist/{create-goT32QIN.d.ts → create--q7-j0hX.d.ts} +6 -6
- package/dist/{create-ChK8bpCK.d.ts → create-C5IQw_-i.d.ts} +7 -7
- package/dist/{create-DGFv7Dje.d.ts → create-CYj0cjTu.d.ts} +4 -4
- package/dist/{create-BRr7Gu7N.js → create-D7D94oNh.js} +4 -4
- package/dist/{create-bYkJ4-tg.js → create-DaddhCIg.js} +3 -3
- package/dist/{credentials-UwTE2wCW.js → credentials-BZU7Twpt.js} +1 -1
- package/dist/{credentials-fqa_Xzzh.d.ts → credentials-Bq-Xa7Vq.d.ts} +2 -2
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-BTMxIn5W.d.ts → denied-text-B6s29jcf.d.ts} +1 -1
- package/dist/{describe-CazEjtOH.d.ts → describe-DwcoWMLB.d.ts} +1 -1
- package/dist/{diff-DLcsCeVo.js → diff-BnYHpRSI.js} +3 -3
- package/dist/{diff-BkuW_5dK.js → diff-H75YU6Q-.js} +1 -1
- package/dist/{doctor-oD08zL1e.js → doctor-Dvt1_ROJ.js} +68 -32
- package/dist/{doctor-Jk2Ifezw.js → doctor-JLouRSQt.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +1 -1
- package/dist/{errors-CXxQwtbZ.d.ts → errors-D_SnqcRn.d.ts} +1 -1
- package/dist/{evaluate-_JdlbJ32.js → evaluate-BQ2nWOki.js} +2 -2
- package/dist/{evaluations-DcUW5VkX.d.ts → evaluations-BVtY66lF.d.ts} +3 -3
- package/dist/evaluator-CDl2YUd_.js +2 -0
- package/dist/{evaluator-eager-DvmrpdZt.js → evaluator-eager-CULtQ8t6.js} +1 -1
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +2 -2
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-eQ-mdk8n.d.ts → fetch-adapter-BJ76IZZg.d.ts} +2 -2
- package/dist/{fetch-adapter-CAA3VJMX.js → fetch-adapter-CXeBg4CH.js} +1 -1
- package/dist/{fields-B17OWcPx.js → fields-D9PIYlJy.js} +13 -7
- package/dist/{from-snapshot-CdGYjHUg.js → from-snapshot-FdVXG_QZ.js} +20 -14
- package/dist/{gen-BwcwwLok.js → gen-D17P8vo0.js} +2 -2
- package/dist/{gen-D4ulqsYR.js → gen-YA3SK59O.js} +1 -1
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +1 -1
- package/dist/{hosted-cPDyrlsQ.js → hosted-CQW_YNx7.js} +1 -1
- package/dist/{hosted-BUCpV8-u.d.ts → hosted-D5StFpKa.d.ts} +1 -1
- package/dist/{import-BsrnU4BF.js → import-B8zbuskR.js} +3 -16
- package/dist/{import-B2jgnNS0.js → import-BYYXmHvP.js} +1 -1
- package/dist/{index-DD2FBFdm.d.ts → index-B1-tE0Kx.d.ts} +14 -7
- package/dist/{index-DQCBzEhO.d.ts → index-BwSEp_O5.d.ts} +4 -4
- package/dist/{index-CvKGALWb.d.ts → index-CB_eM-qx.d.ts} +4 -4
- package/dist/{index-BXS29UnX.d.ts → index-CvcE9mYP.d.ts} +1 -1
- package/dist/{index-DYAJ9JX1.d.ts → index-D7sMtTf6.d.ts} +4 -4
- package/dist/{index-CxA-ygwc.d.ts → index-d7f0hNss.d.ts} +2 -2
- package/dist/index.d.ts +17 -17
- package/dist/index.js +13 -13
- package/dist/{init-Baq0yYfu.js → init-BdgWNuc3.js} +1 -1
- package/dist/{init-Cik6ITgM.js → init-DKRhYiGW.js} +3 -3
- package/dist/{instance-options-BDHB3qBG.d.ts → instance-options-DhQVCuhT.d.ts} +1 -1
- package/dist/{instance-snapshot-LPNBG9np.js → instance-snapshot-DyG_5ASl.js} +5 -5
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-BY3rVRs2.js → kernel-D9AxUqmz.js} +5 -5
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-CUboKh0f.js → login-DEvccJwP.js} +3 -3
- package/dist/{login-CcBS1xkU.js → login-IIUDSAYW.js} +1 -1
- package/dist/{manifest-CIlVL-QT.js → manifest-CZ-GmsOL.js} +35 -35
- package/dist/{may-use-D0_wNcgB.js → may-use-WDhFPqGG.js} +5 -6
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +3 -3
- package/dist/{membership-filter-CfLdP_F9.js → membership-filter-BWnfRQzo.js} +1 -1
- package/dist/{module-values-BLiVlO1X.js → module-values-CdaVwrab.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +10 -10
- package/dist/next/index.js +2 -2
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.js +1 -1
- package/dist/oauth-security-X7Em8DbH.js +26 -0
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +4 -4
- package/dist/openapi/index.js +1 -1
- package/dist/{openapi-DobvXTF6.js → openapi-BFUnL8Yi.js} +2 -2
- package/dist/{openapi-DglIpD53.js → openapi-DcjyfR1g.js} +2 -2
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-B81GJ6u6.js → output-LDciF_4t.js} +1 -1
- package/dist/{ownership-B7Ea-hUY.js → ownership-DvK6INyx.js} +1 -1
- package/dist/{parse-local-manifest-DzZOzDsK.d.ts → parse-local-manifest-w_ksIkB9.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-HfTF99xX.js → permdock-B3zE16To.js} +14 -18
- package/dist/{permdock-vD3mwLSm.d.ts → permdock-DV3opaI3.d.ts} +3 -3
- package/dist/{permissions-CGYZqYsY.js → permissions-D-M48hW-.js} +1 -1
- package/dist/{policy-B_cqFLHu.d.ts → policy-DIHfTqm6.d.ts} +1 -1
- package/dist/{policy-from-catalog-lKL280I8.js → policy-from-catalog-Z0hvSffr.js} +3 -3
- package/dist/{policy-types-CCBrL7me.d.ts → policy-types-DU389Elz.d.ts} +30 -3
- package/dist/{postgrest-5WOO47Ud.d.ts → postgrest-3dE9SGx9.d.ts} +2 -2
- package/dist/{powersync-BUUqJfH2.js → powersync-B5YjtUGd.js} +6 -6
- package/dist/powersync-BgUsk2Nf.js +1 -0
- package/dist/{powersync-B6f4l8C1.js → powersync-Dx7odzyw.js} +2 -2
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-DGuJNiMA.d.ts → protected-action-CjSUoPGx.d.ts} +5 -5
- package/dist/{protected-action-BWvZjjyt.js → protected-action-D41o5LvP.js} +1 -1
- package/dist/{provider-B085HEOf.js → provider-Bzzux0TR.js} +2 -2
- package/dist/{provider-yIM04TwN.d.ts → provider-D1jsNJ85.d.ts} +1 -1
- package/dist/{provider-store-BLd4UEmg.js → provider-store-tIAwP4aW.js} +3 -3
- package/dist/{provider-with-DobrMx1N.js → provider-with-Do28DhxP.js} +2 -2
- package/dist/{pull-4Yi8zYeU.js → pull-Pde1lapF.js} +2 -2
- package/dist/pull-a4RpDxk8.js +1 -0
- package/dist/{push-Dv1nfFPr.js → push-sJ5dy46a.js} +2 -2
- package/dist/{pushed-policy-B2ZSpnRY.d.ts → pushed-policy-Db651nih.d.ts} +1 -1
- package/dist/{pushed-policy-DJoyBZsd.js → pushed-policy-UZyQinrL.js} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/lazy.d.ts +5 -5
- package/dist/react/lazy.js +4 -4
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +7 -7
- package/dist/{replay-CsErjiHt.d.ts → replay-BpmpY2ev.d.ts} +1 -1
- package/dist/{request-context-B_L4ev8L.js → request-context-dyCY4V1t.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-SGcLjtFc.js → resolve-names-D5_kABup.js} +2 -2
- package/dist/{rls-hmwRIS3-.js → rls-BI687j8q.js} +13 -13
- package/dist/{rls-Df9NEWD3.js → rls-CKLHLcRl.js} +1 -1
- package/dist/{rpc-DFtputZ1.js → rpc-BdFGYcWm.js} +1 -1
- package/dist/{rpc-D3St8vPO.d.ts → rpc-DKRQobOX.d.ts} +1 -1
- package/dist/run-B4heHtD1.js +1 -0
- package/dist/{run-BXmJIjRA.js → run-BG2kPruh.js} +3 -3
- package/dist/{run-ticket-zfABczfh.d.ts → run-ticket-o4RxoaEN.d.ts} +2 -2
- package/dist/{saas-DIThcxbn.js → saas-D9maBt0q.js} +3 -3
- package/dist/{scan-BrTSlc_5.js → scan-BvTBo9-D.js} +1 -1
- package/dist/{schema-UOeI_LTB.js → schema-grK6TTBH.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/server/index.js +2 -2
- package/dist/{server-types-CtJSDhOv.d.ts → server-types-C4q8_8MM.d.ts} +8 -8
- package/dist/{sink-BskpqwLl.d.ts → sink-C3KDccl9.d.ts} +2 -2
- package/dist/{skills-BTVeFptV.js → skills-DzNdLezx.js} +1 -1
- package/dist/{skills-CAgWKbDR.js → skills-nPLVGtGH.js} +1 -1
- package/dist/{snapshot-BcHYtUIg.js → snapshot-D0VOanxQ.js} +7 -0
- package/dist/{snapshot-cache-BnXMcJbK.d.ts → snapshot-cache-C1mN0pXe.d.ts} +2 -2
- package/dist/snapshot-compact-CUtXsx6i.js +75 -0
- package/dist/{snapshot-empty-BoPBFoB8.js → snapshot-empty-F7d5BRlc.js} +1 -0
- package/dist/{snapshot-evaluate-CwYVSUgO.js → snapshot-evaluate-C3ZA35O_.js} +1 -1
- package/dist/{snapshot-reads-DOsTYC82.js → snapshot-reads-CNNmp1cK.js} +2 -2
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/{sources-DhCtO9G8.d.ts → sources-2virTxHt.d.ts} +1 -1
- package/dist/{src-BZKQe1lr.js → src-ieIv22BA.js} +11 -7
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-kQDkIPj3.d.ts → standard-webhooks-B2g_yWK8.d.ts} +2 -2
- package/dist/{store-core-CDabEiO9.d.ts → store-core-BI-9ZU-5.d.ts} +4 -4
- package/dist/{store-options-COLWAd1K.js → store-options-BYKNX_JG.js} +8 -6
- package/dist/{stores-DYxx75fk.js → stores-DtM8pt8o.js} +1 -1
- package/dist/{stores-Mw_VAJ3B.d.ts → stores-DwGfIcmq.d.ts} +5 -5
- package/dist/{subject-cache-DrJGnRiV.d.ts → subject-cache-TY2tw-k9.d.ts} +1 -1
- package/dist/{subject-BqFwS6l3.js → subject-jG6o8eKo.js} +1 -1
- package/dist/supabase/index.d.ts +6 -6
- package/dist/supabase/index.js +2 -2
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-BDr-fIHp.js → supabase-BlAqmxD8.js} +1 -1
- package/dist/{supabase-Bt8rb-ah.js → supabase-dk1kB9bJ.js} +2 -2
- package/dist/supabase-hook-Bu5gkzix.js +1 -0
- package/dist/{supabase-hook-Cb3UZpGC.js → supabase-hook-Cf9zKz8T.js} +5 -5
- package/dist/{supautils-CuR9rPsi.js → supautils-BREOPaHY.js} +7 -7
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +3 -3
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/runtime.js +1 -1
- package/dist/svelte/source.d.ts +5 -5
- package/dist/svelte/source.js +2 -2
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +1 -1
- package/dist/{tables-Bl_ozD0k.js → tables-DnNACfAr.js} +2 -1
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +1 -1
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +6 -5
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +3 -3
- package/dist/testing/fixtures/index.js +2 -2
- package/dist/testing/index.d.ts +32 -25
- package/dist/testing/index.js +25 -16
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +5 -5
- package/dist/trpc/index.js +2 -2
- package/dist/{type-helpers-fQdBvtU0.d.ts → type-helpers-tDoGEIsd.d.ts} +1 -1
- package/dist/{types-B_s1oQaF.d.ts → types-61f3KMtI.d.ts} +6 -1
- package/dist/{types-CdXM6qPc.d.ts → types-BDgMzK1i.d.ts} +2 -2
- package/dist/{types-DyA4Loy4.d.ts → types-BIvkpVoc.d.ts} +3 -3
- package/dist/{types-CXUwgZ3d.d.ts → types-BWjNPQkS.d.ts} +2 -2
- package/dist/{types-CErg7ft6.d.ts → types-Bq4AU68k.d.ts} +3 -3
- package/dist/{types-ChYCRn7Y.d.ts → types-BsqLNNvG.d.ts} +1 -1
- package/dist/{types-Cc68_zqR.d.ts → types-CH67RMvL.d.ts} +2 -2
- package/dist/{types-BSGrzDPi.d.ts → types-DEDocm4c.d.ts} +4 -4
- package/dist/{types-DDlaFDM3.d.ts → types-DQQkzF97.d.ts} +4 -4
- package/dist/{types-DM0o1YyJ.d.ts → types-DdeivUBP.d.ts} +4 -4
- package/dist/{types-CAp7UGiB.d.ts → types-X40XNxRP.d.ts} +1 -1
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-B6sQwycY.js → usage-BkDU1dYf.js} +4 -4
- package/dist/{usage-CNkKk27O.js → usage-DNj42KHA.js} +1 -1
- package/dist/usage-DrB_tDNk.js +1 -0
- package/dist/{validation-error-BE8bpmhR.d.ts → validation-error-CV0nV6_L.d.ts} +1 -1
- package/dist/{verify-OtU4yCzg.js → verify-Boehaks6.js} +10 -10
- package/dist/{version-sources-BZ7V6Z8Z.js → version-sources-BRb9ZteH.js} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-LdnPaBJE.d.ts → waiter-BophA4BT.d.ts} +2 -2
- package/dist/{watch-CR2ZIT_5.js → watch-CJKYQYNb.js} +2 -2
- package/dist/watch-Cv-xvI6e.js +1 -0
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +9 -1
- package/dist/{who-can-DcrHB6ya.js → who-can-Yh9WdiwK.js} +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +2 -2
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-CVBPIuEs.d.ts → wrap-Bq9fHwuT.d.ts} +2 -2
- package/package.json +1 -1
- package/schemas/snapshot-v1.json +208 -52
- package/skills/permdock-wire/references/adapters.md +4 -2
- package/dist/catalog-DqYnQz8U.js +0 -1
- package/dist/collect-CjFczu8a.js +0 -1
- package/dist/evaluator-mHAoYEkk.js +0 -2
- package/dist/powersync-D12Q6Chj.js +0 -1
- package/dist/pull-Dr6Bq5Jo.js +0 -1
- package/dist/run-DnzrDgU-.js +0 -1
- package/dist/supabase-hook-D1pwHu87.js +0 -1
- package/dist/usage-Cem1FOeJ.js +0 -1
- package/dist/watch-B8F7Wgdy.js +0 -1
- package/dist/{catalog-doc-BoSOQRXT.js → catalog-doc-DnQDviXY.js} +1 -1
- package/dist/{credential-DrVrRL7z.js → credential-BMsbcaeP.js} +1 -1
- package/dist/{policy-BovcTojN.js → policy-DnNOTENd.js} +1 -1
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Ct as WhereCompiler, D as Policy, G as CredentialVerifier, X as DecisionSink, Y as DecisionProvider, Z as EntitlementSource, _t as TokenSigner,
|
|
1
|
+
import { Ct as WhereCompiler, D as Policy, G as CredentialVerifier, Sr as Subject, X as DecisionSink, Y as DecisionProvider, Z as EntitlementSource, _t as TokenSigner, br as Principal, ct as RelationSource, en as Snapshot, fn as DeliveryChannel, it as MembershipSource, lt as SettingsSource, mt as SubjectResolver, nt as LimitStore, q as CustomRoleSource, ut as SnapshotSource, vt as TokenVerifier, yr as Membership } from "../policy-types-DU389Elz.js";
|
|
2
2
|
import { A as ResourceInit, C as InferPermissionTree, r as Role, w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { st as LegacyCheck } from "../index-
|
|
4
|
-
import { i as ApprovalPolicySource } from "../approval-policies-
|
|
5
|
-
import { T as InstanceCache, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, u as SnapshotOptions, x as Limits } from "../permdock-
|
|
6
|
-
import { s as PolicySource } from "../hosted-
|
|
7
|
-
import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types-
|
|
8
|
-
import { a as ProblemDetails } from "../errors-
|
|
9
|
-
import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-
|
|
10
|
-
import { l as VersionStore, n as SubjectCache, s as VersionCache } from "../subject-cache-
|
|
11
|
-
import { c as AccessReviewStore } from "../types-
|
|
12
|
-
import { R as IdempotencyStore } from "../index-
|
|
3
|
+
import { st as LegacyCheck } from "../index-B1-tE0Kx.js";
|
|
4
|
+
import { i as ApprovalPolicySource } from "../approval-policies-BiXMlYBu.js";
|
|
5
|
+
import { T as InstanceCache, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, u as SnapshotOptions, x as Limits } from "../permdock-DV3opaI3.js";
|
|
6
|
+
import { s as PolicySource } from "../hosted-D5StFpKa.js";
|
|
7
|
+
import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types-X40XNxRP.js";
|
|
8
|
+
import { a as ProblemDetails } from "../errors-D_SnqcRn.js";
|
|
9
|
+
import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-C5IQw_-i.js";
|
|
10
|
+
import { l as VersionStore, n as SubjectCache, s as VersionCache } from "../subject-cache-TY2tw-k9.js";
|
|
11
|
+
import { c as AccessReviewStore } from "../types-BsqLNNvG.js";
|
|
12
|
+
import { R as IdempotencyStore } from "../index-D7sMtTf6.js";
|
|
13
13
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
14
|
-
import { s as SupportSessionSource } from "../index-
|
|
14
|
+
import { s as SupportSessionSource } from "../index-CB_eM-qx.js";
|
|
15
15
|
import { r as SupabaseHookManifest } from "../manifest-C6eFl3Vo.js";
|
|
16
16
|
import { t as supabaseMembershipsBudget } from "../budget-CNLsV2SL.js";
|
|
17
|
-
import { a as AutomationSource, t as Automation } from "../automation-
|
|
18
|
-
import { c as DeliveryTransport, g as TransportMessages } from "../types-
|
|
19
|
-
import { t as CloudApproverOptions } from "../types-
|
|
20
|
-
import { n as ApprovalWaiter } from "../waiter-
|
|
21
|
-
import { g as SetQueue, l as ReplayStore } from "../types-
|
|
22
|
-
import {
|
|
23
|
-
import { r as SnapshotStorage } from "../types-
|
|
24
|
-
import { x as DirectoryStore } from "../index-
|
|
25
|
-
import { S as SsfStreamStore } from "../index-
|
|
26
|
-
import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-
|
|
17
|
+
import { a as AutomationSource, t as Automation } from "../automation-_iGeP54L.js";
|
|
18
|
+
import { c as DeliveryTransport, g as TransportMessages } from "../types-BIvkpVoc.js";
|
|
19
|
+
import { t as CloudApproverOptions } from "../types-DQQkzF97.js";
|
|
20
|
+
import { n as ApprovalWaiter } from "../waiter-BophA4BT.js";
|
|
21
|
+
import { g as SetQueue, l as ReplayStore } from "../types-BDgMzK1i.js";
|
|
22
|
+
import { l as OperationLookup, n as OperationCoverageOptions } from "../coverage-BuGlwUms.js";
|
|
23
|
+
import { r as SnapshotStorage } from "../types-DdeivUBP.js";
|
|
24
|
+
import { x as DirectoryStore } from "../index-CvcE9mYP.js";
|
|
25
|
+
import { S as SsfStreamStore } from "../index-d7f0hNss.js";
|
|
26
|
+
import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-BhZEo5Le.js";
|
|
27
27
|
import { a as SaasProject } from "../permissions-DriWkV7q.js";
|
|
28
|
-
import { n as saasPolicy } from "../policy-
|
|
28
|
+
import { n as saasPolicy } from "../policy-DIHfTqm6.js";
|
|
29
29
|
import { expectTypeOf } from "vitest";
|
|
30
30
|
//#region src/testing/describe-policy.d.ts
|
|
31
31
|
/** `policyMatrix` under Vitest: one test per cell, plus the exhaustive check. */
|
|
@@ -61,7 +61,7 @@ export declare function testClientParity(policy: Policy, cases: readonly ClientP
|
|
|
61
61
|
* operation. An undeclared tenant operation is denied by a gate, so this
|
|
62
62
|
* catches a route added without a permission before it ships.
|
|
63
63
|
*/
|
|
64
|
-
export declare function testOperationCoverage(operations:
|
|
64
|
+
export declare function testOperationCoverage(operations: OperationLookup, document: unknown, options: OperationCoverageOptions): void;
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/testing/legacy-parity.d.ts
|
|
67
67
|
type LegacyParityCase = {
|
|
@@ -874,6 +874,13 @@ export declare const jwtFixtureJwks: {
|
|
|
874
874
|
readonly kid: "2026-09";
|
|
875
875
|
readonly alg: "Ed25519";
|
|
876
876
|
readonly use: "sig";
|
|
877
|
+
}, {
|
|
878
|
+
readonly crv: "Ed25519";
|
|
879
|
+
readonly x: "K4wc28_NZxGO55tDlmYh44al2NJYcqbSSYpnCAXv-AE";
|
|
880
|
+
readonly kty: "OKP";
|
|
881
|
+
readonly kid: "2026-11";
|
|
882
|
+
readonly alg: "Ed25519";
|
|
883
|
+
readonly use: "sig";
|
|
877
884
|
}];
|
|
878
885
|
};
|
|
879
886
|
export declare const jwtFixtureIssuer: "https://login.example.com";
|
|
@@ -885,7 +892,7 @@ export declare const jwtFixtureTokens: {
|
|
|
885
892
|
readonly wrongIss: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6ImF0K2p3dCJ9.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2V2aWwuZXhhbXBsZS5jb20iLCJhdWQiOiJodHRwczovL2FwaS5leGFtcGxlLmNvbSIsImlhdCI6MTcwMDAwMDAwMCwiZXhwIjoyMDAwMDAwMDAwfQ.tIcLHLa9JLtKz1gqjRGdr5DFbUzRDs5KsoPsJCxspvbBcsFfRFG2G0XJnd1h4QHyZ_5B4OhY3W_jIIsnOPD9Bg";
|
|
886
893
|
readonly unknownKid: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoibm9wZSIsInR5cCI6ImF0K2p3dCJ9.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2xvZ2luLmV4YW1wbGUuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20iLCJpYXQiOjE3MDAwMDAwMDAsImV4cCI6MjAwMDAwMDAwMH0.walgG5GvpCVBnkMtkdw-epi5c93JqfvAM_N4EWR9Tqhiw_cnzITnlQyoVfihECmV1fqtFrhwM1RCIRJvd38zAQ";
|
|
887
894
|
readonly none: "eyJhbGciOiJub25lIn0.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2xvZ2luLmV4YW1wbGUuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20iLCJleHAiOjIwMDAwMDAwMDAsImlhdCI6MTcwMDAwMDAwMH0.";
|
|
888
|
-
readonly snapshot: "
|
|
895
|
+
readonly snapshot: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0xMSIsInR5cCI6InZuZC5wZXJtZG9jay5zbmFwc2hvdCtqd3QifQ.eyJzbmFwc2hvdCI6eyJ2IjoxLCJzdWJqZWN0Ijp7InByaW5jaXBhbCI6eyJpZCI6InVfMSIsInJvbGVzIjpbIm1lbWJlciJdfSwiY29udGV4dCI6e319LCJyb2xlcyI6WyJtZW1iZXIiXSwiY29uZGl0aW9ucyI6W10sImdyYW50cyI6W10sInRlbmFudHMiOltdfSwic3ViIjoidV8xIiwiaWF0IjoxNzAwMDAwMDAwLCJqdGkiOiJzbmFwX2ZpeHR1cmUiLCJpc3MiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBwLmV4YW1wbGUuY29tIiwiZXhwIjoyMDAwMDAwMDAwfQ.83SDZDDagBIWx910sX5pr5x36CqfesyeaFdy_x0xfHOyvS5JEEzpC19r5ohGWBxNkoUedygY_bWO9QOP0UiDBQ";
|
|
889
896
|
readonly approval: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6InZuZC5wZXJtZG9jay5hcHByb3ZhbCtqd3QifQ.eyJzdWIiOiJ1XzEiLCJ0b2tlbiI6InNoYS0yNTY6NDdERVFwajhIQlNhLV9USW1XLTVKQ2V1UWVSa201Tk1wSldaRzNoU3VGVSIsInJlc29sdmVkX2J5IjoidV8yIiwiYXBwcm92YWxzIjpbeyJieSI6InVfMiIsImF0IjoiMjAyMy0xMS0xNFQyMjoxMzoyMFoifV0sImF1dGhvcml6YXRpb25fZGV0YWlscyI6W3sidHlwZSI6InBvc3QiLCJhY3Rpb25zIjpbImRlbGV0ZSJdLCJpZGVudGlmaWVyIjoiNDIifV0sImlhdCI6MTcwMDAwMDAwMCwianRpIjoiYXByX2ZpeHR1cmUiLCJpc3MiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBwLmV4YW1wbGUuY29tIiwiZXhwIjoyMDAwMDAwMDAwfQ.Q76F3tDT2FrEnxD9TjdLfEayJEyyGUWHu6bTCCl5Flegcl9-o370agNVhcV03Khfidm-lK7gPg05ZiYcpCfyBQ";
|
|
890
897
|
readonly decisions: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6InZuZC5wZXJtZG9jay5ldmlkZW5jZStqd3QifQ.eyJldmVudHMiOltdLCJpYXQiOjE3MDAwMDAwMDAsImp0aSI6ImRlY19maXh0dXJlIiwiaXNzIjoiaHR0cHM6Ly9hcHAuZXhhbXBsZS5jb20iLCJhdWQiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImV4cCI6MjAwMDAwMDAwMH0.oGiFmCEFWUAEBtLO3F_rnGMSKBhb9rIxng4YLwRbBTA3fudrbJMcJD2BhNH99cjcBa1xCmADfdOnTc-Ltq-kAA";
|
|
891
898
|
};
|
package/dist/testing/index.js
CHANGED
|
@@ -2,46 +2,46 @@ import { r as isRecord } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { n as freezeDeep } from "../freeze-jjan0lCv.js";
|
|
3
3
|
import { i as principal } from "../refs-C8BKxc_e.js";
|
|
4
4
|
import { n as role, r as allow } from "../role-builder-BXdhhQcB.js";
|
|
5
|
-
import { D as memoryCustomRoleSource, d as snapshotFor, w as approvalPoliciesFor } from "../src-
|
|
5
|
+
import { D as memoryCustomRoleSource, d as snapshotFor, w as approvalPoliciesFor } from "../src-ieIv22BA.js";
|
|
6
6
|
import { v as resource } from "../permission-registry-B8tYxPIt.js";
|
|
7
7
|
import { a as authenticated } from "../grantee-OG4klcNr.js";
|
|
8
8
|
import { d as isoNow, f as nowMillis, p as nowSeconds, u as isoAt } from "../time-nR1JesoH.js";
|
|
9
9
|
import { d as scopeList, o as normalizeMemberships } from "../scopes-gdH__vDZ.js";
|
|
10
10
|
import { s as evaluateCondition } from "../delegation-CrdqnesZ.js";
|
|
11
|
-
import { n as parseSnapshot } from "../snapshot-
|
|
12
|
-
import { t as getPermDock } from "../permdock-
|
|
11
|
+
import { n as parseSnapshot } from "../snapshot-D0VOanxQ.js";
|
|
12
|
+
import { t as getPermDock } from "../permdock-B3zE16To.js";
|
|
13
13
|
import { t as memoryRevocationFeed } from "../revocations-Bhr0aMIC.js";
|
|
14
14
|
import { n as loadPrincipalByIdentity, t as loadPrincipal } from "../principal-source-C6N60GtM.js";
|
|
15
15
|
import { r as parseAutomation } from "../automation-BueW05db.js";
|
|
16
16
|
import { t as byCodePoint } from "../compare-DTfyUunF.js";
|
|
17
|
-
import { r as definePolicy } from "../policy-
|
|
18
|
-
import { c as mergeHostedGrants, l as parsePolicyDocument } from "../hosted-
|
|
17
|
+
import { r as definePolicy } from "../policy-DnNOTENd.js";
|
|
18
|
+
import { c as mergeHostedGrants, l as parsePolicyDocument } from "../hosted-CQW_YNx7.js";
|
|
19
19
|
import { i as rootMembershipId } from "../subject-C7RddW0G.js";
|
|
20
|
-
import { T as validateCustomRole } from "../evaluate-
|
|
20
|
+
import { T as validateCustomRole } from "../evaluate-BQ2nWOki.js";
|
|
21
21
|
import { n as memoryLimitStore, t as limits } from "../limits-CAhpRrhk.js";
|
|
22
|
-
import { t as fromSnapshot } from "../from-snapshot-
|
|
22
|
+
import { t as fromSnapshot } from "../from-snapshot-FdVXG_QZ.js";
|
|
23
23
|
import { t as definePermissions } from "../permissions-BaoLxy66.js";
|
|
24
24
|
import { t as catalogFingerprint } from "../catalog-fingerprint-e6aCWosn.js";
|
|
25
|
-
import { s as parseCredential } from "../credential-
|
|
25
|
+
import { s as parseCredential } from "../credential-BMsbcaeP.js";
|
|
26
26
|
import { t as APPROVAL_HEADER } from "../types-CcUXciSj.js";
|
|
27
27
|
import { i as memoryApprovalStore } from "../store-DXO0aVgf.js";
|
|
28
28
|
import { c as problemFromDecision } from "../problem-CPB8kqk7.js";
|
|
29
29
|
import { o as resolveApproval } from "../helpers-CO2hDpBU.js";
|
|
30
|
-
import { o as parseApiKey } from "../credentials-
|
|
30
|
+
import { o as parseApiKey } from "../credentials-BZU7Twpt.js";
|
|
31
31
|
import { t as APPROVAL_REQUEST_SCHEMA } from "../request-schema-CMP8Cmxd.js";
|
|
32
32
|
import { t as catalogSchema } from "../schema-BlnU_TzE.js";
|
|
33
33
|
import { t as supabaseMembershipsBudget } from "../budget-BBCPDOGP.js";
|
|
34
|
-
import { t as operationCoverage } from "../coverage-
|
|
34
|
+
import { t as operationCoverage } from "../coverage-CGu_Kovx.js";
|
|
35
35
|
import { n as discoverAuthorizationServer } from "../device-BkSynWdg.js";
|
|
36
36
|
import { t as CONNECTOR_SCHEMA } from "../connector-schema-CYLQNMYq.js";
|
|
37
37
|
import { l as sha256Hex, n as scimHandler, t as directoryMembershipSource } from "../scim-BG6uPUeW.js";
|
|
38
38
|
import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-0WjxIp9g.js";
|
|
39
|
-
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-
|
|
39
|
+
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-DKJpP-5P.js";
|
|
40
40
|
import { t as supabaseManifestSchema } from "../manifest-schema-svAkgqMc.js";
|
|
41
|
-
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
42
|
-
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-
|
|
43
|
-
import { i as saasPermissions } from "../permissions-
|
|
44
|
-
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-
|
|
41
|
+
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-UZyQinrL.js";
|
|
42
|
+
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-BTJlqWsv.js";
|
|
43
|
+
import { i as saasPermissions } from "../permissions-D-M48hW-.js";
|
|
44
|
+
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-D9maBt0q.js";
|
|
45
45
|
import { t as POLICY_NOT_PUBLISHED } from "../problem-types-DSsRfONQ.js";
|
|
46
46
|
import { t as require__2020 } from "../2020-CJbO8Bvz.js";
|
|
47
47
|
import { afterAll, assert, beforeAll, describe, expect, expectTypeOf, it, vi } from "vitest";
|
|
@@ -144,6 +144,7 @@ const p = saasPermissions;
|
|
|
144
144
|
function snapshotOf(user, tenant, tenants) {
|
|
145
145
|
return snapshotFor(saasPolicy, saasPrincipal(user, tenant), {
|
|
146
146
|
tenant,
|
|
147
|
+
v: 1,
|
|
147
148
|
...tenants === void 0 ? {} : { tenants }
|
|
148
149
|
});
|
|
149
150
|
}
|
|
@@ -151,6 +152,7 @@ function snapshotOf(user, tenant, tenants) {
|
|
|
151
152
|
function leadSnapshot() {
|
|
152
153
|
return snapshotFor(saasPolicy, saasPrincipal("gina", "acme"), {
|
|
153
154
|
tenant: "acme",
|
|
155
|
+
v: 1,
|
|
154
156
|
tenants: "all",
|
|
155
157
|
memberships: [
|
|
156
158
|
...saasMemberships("gina"),
|
|
@@ -4922,6 +4924,13 @@ const jwtFixtureJwks = { keys: [{
|
|
|
4922
4924
|
kid: "2026-09",
|
|
4923
4925
|
alg: "Ed25519",
|
|
4924
4926
|
use: "sig"
|
|
4927
|
+
}, {
|
|
4928
|
+
crv: "Ed25519",
|
|
4929
|
+
x: "K4wc28_NZxGO55tDlmYh44al2NJYcqbSSYpnCAXv-AE",
|
|
4930
|
+
kty: "OKP",
|
|
4931
|
+
kid: "2026-11",
|
|
4932
|
+
alg: "Ed25519",
|
|
4933
|
+
use: "sig"
|
|
4925
4934
|
}] };
|
|
4926
4935
|
const jwtFixtureIssuer = "https://login.example.com";
|
|
4927
4936
|
const jwtFixtureAudience = "https://api.example.com";
|
|
@@ -4932,7 +4941,7 @@ const jwtFixtureTokens = {
|
|
|
4932
4941
|
wrongIss: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6ImF0K2p3dCJ9.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2V2aWwuZXhhbXBsZS5jb20iLCJhdWQiOiJodHRwczovL2FwaS5leGFtcGxlLmNvbSIsImlhdCI6MTcwMDAwMDAwMCwiZXhwIjoyMDAwMDAwMDAwfQ.tIcLHLa9JLtKz1gqjRGdr5DFbUzRDs5KsoPsJCxspvbBcsFfRFG2G0XJnd1h4QHyZ_5B4OhY3W_jIIsnOPD9Bg",
|
|
4933
4942
|
unknownKid: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoibm9wZSIsInR5cCI6ImF0K2p3dCJ9.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2xvZ2luLmV4YW1wbGUuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20iLCJpYXQiOjE3MDAwMDAwMDAsImV4cCI6MjAwMDAwMDAwMH0.walgG5GvpCVBnkMtkdw-epi5c93JqfvAM_N4EWR9Tqhiw_cnzITnlQyoVfihECmV1fqtFrhwM1RCIRJvd38zAQ",
|
|
4934
4943
|
none: "eyJhbGciOiJub25lIn0.eyJzdWIiOiJ1XzEiLCJpc3MiOiJodHRwczovL2xvZ2luLmV4YW1wbGUuY29tIiwiYXVkIjoiaHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20iLCJleHAiOjIwMDAwMDAwMDAsImlhdCI6MTcwMDAwMDAwMH0.",
|
|
4935
|
-
snapshot: "
|
|
4944
|
+
snapshot: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0xMSIsInR5cCI6InZuZC5wZXJtZG9jay5zbmFwc2hvdCtqd3QifQ.eyJzbmFwc2hvdCI6eyJ2IjoxLCJzdWJqZWN0Ijp7InByaW5jaXBhbCI6eyJpZCI6InVfMSIsInJvbGVzIjpbIm1lbWJlciJdfSwiY29udGV4dCI6e319LCJyb2xlcyI6WyJtZW1iZXIiXSwiY29uZGl0aW9ucyI6W10sImdyYW50cyI6W10sInRlbmFudHMiOltdfSwic3ViIjoidV8xIiwiaWF0IjoxNzAwMDAwMDAwLCJqdGkiOiJzbmFwX2ZpeHR1cmUiLCJpc3MiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBwLmV4YW1wbGUuY29tIiwiZXhwIjoyMDAwMDAwMDAwfQ.83SDZDDagBIWx910sX5pr5x36CqfesyeaFdy_x0xfHOyvS5JEEzpC19r5ohGWBxNkoUedygY_bWO9QOP0UiDBQ",
|
|
4936
4945
|
approval: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6InZuZC5wZXJtZG9jay5hcHByb3ZhbCtqd3QifQ.eyJzdWIiOiJ1XzEiLCJ0b2tlbiI6InNoYS0yNTY6NDdERVFwajhIQlNhLV9USW1XLTVKQ2V1UWVSa201Tk1wSldaRzNoU3VGVSIsInJlc29sdmVkX2J5IjoidV8yIiwiYXBwcm92YWxzIjpbeyJieSI6InVfMiIsImF0IjoiMjAyMy0xMS0xNFQyMjoxMzoyMFoifV0sImF1dGhvcml6YXRpb25fZGV0YWlscyI6W3sidHlwZSI6InBvc3QiLCJhY3Rpb25zIjpbImRlbGV0ZSJdLCJpZGVudGlmaWVyIjoiNDIifV0sImlhdCI6MTcwMDAwMDAwMCwianRpIjoiYXByX2ZpeHR1cmUiLCJpc3MiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImF1ZCI6Imh0dHBzOi8vYXBwLmV4YW1wbGUuY29tIiwiZXhwIjoyMDAwMDAwMDAwfQ.Q76F3tDT2FrEnxD9TjdLfEayJEyyGUWHu6bTCCl5Flegcl9-o370agNVhcV03Khfidm-lK7gPg05ZiYcpCfyBQ",
|
|
4937
4946
|
decisions: "eyJhbGciOiJFZDI1NTE5Iiwia2lkIjoiMjAyNi0wOSIsInR5cCI6InZuZC5wZXJtZG9jay5ldmlkZW5jZStqd3QifQ.eyJldmVudHMiOltdLCJpYXQiOjE3MDAwMDAwMDAsImp0aSI6ImRlY19maXh0dXJlIiwiaXNzIjoiaHR0cHM6Ly9hcHAuZXhhbXBsZS5jb20iLCJhdWQiOiJodHRwczovL2FwcC5leGFtcGxlLmNvbSIsImV4cCI6MjAwMDAwMDAwMH0.oGiFmCEFWUAEBtLO3F_rnGMSKBhb9rIxng4YLwRbBTA3fudrbJMcJD2BhNH99cjcBa1xCmADfdOnTc-Ltq-kAA"
|
|
4938
4947
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sr as Subject, br as Principal, ct as RelationSource, gr as Delegation, mr as CustomRole, nt as LimitStore, qt as Instant, ur as Actor, yr as Membership } from "../../policy-types-DU389Elz.js";
|
|
2
2
|
import { w as Permission } from "../../vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { o as PermDockOptions } from "../../permdock-
|
|
3
|
+
import { o as PermDockOptions } from "../../permdock-DV3opaI3.js";
|
|
4
4
|
import { a as SaasProject, c as saasPlans, i as SaasFolderSchema, l as saasRoles, n as SaasDocSchema, o as SaasProjectSchema, r as SaasFolder, s as saasPermissions, t as SaasDoc, u as saasTenantRoleNames } from "../../permissions-DriWkV7q.js";
|
|
5
|
-
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-
|
|
5
|
+
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-DIHfTqm6.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
//#region src/testing/saas/schema.d.ts
|
|
8
8
|
type FieldKind = "string" | "boolean" | "nullable-string";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-
|
|
2
|
-
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-
|
|
1
|
+
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-D-M48hW-.js";
|
|
2
|
+
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-D9maBt0q.js";
|
|
3
3
|
export { SAAS_API_KEY_LIMIT, SAAS_EXPIRED_AT, SAAS_TOKEN_TTL_SECONDS, SaasDocSchema, SaasFolderSchema, SaasProjectSchema, rowSchema, saasAudience, saasCustomRoles, saasDoc, saasFolder, saasFolderScenarios, saasIssuer, saasJwks, saasLimitStore, saasMemberships, saasOrg, saasPermissions, saasPlans, saasPolicy, saasPrincipal, saasPrivateJwk, saasProject, saasPublicJwk, saasRelations, saasRoles, saasScenarioOptions, saasScenarios, saasSchemaSql, saasSeed, saasSeedSql, saasTenantRoleNames, saasUser, saasUsers, signSaasToken, verifySaasSession, verifySaasToken };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-
|
|
1
|
+
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-D-M48hW-.js";
|
package/dist/trpc/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as Policy,
|
|
1
|
+
import { D as Policy, br as Principal } from "../policy-types-DU389Elz.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-DV3opaI3.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
5
|
-
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
7
|
-
import { t as RpcProtectOptions } from "../rpc-
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-C4q8_8MM.js";
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-CTj4dHc1.js";
|
|
7
|
+
import { t as RpcProtectOptions } from "../rpc-DKRQobOX.js";
|
|
8
8
|
import { AnyTRPCMiddlewareFunction } from "@trpc/server";
|
|
9
9
|
//#region src/trpc/create.d.ts
|
|
10
10
|
type TrpcMiddlewareOpts<TCtx = object, TInput = unknown> = {
|
package/dist/trpc/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as permissionList } from "../decide-set-DXEPepY1.js";
|
|
2
2
|
import { o as problemMessage } from "../http-DKLXrFGk.js";
|
|
3
|
-
import { n as attached } from "../bind-
|
|
3
|
+
import { n as attached } from "../bind-LQ6zbARV.js";
|
|
4
4
|
import { t as problemFromError } from "../map-error-BCdb2Nrp.js";
|
|
5
5
|
import { i as isAsyncIterable, o as reloadAfter } from "../stream-DQ3rbO3J.js";
|
|
6
|
-
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-
|
|
6
|
+
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-BdFGYcWm.js";
|
|
7
7
|
import { TRPCError, isTrackedEnvelope } from "@trpc/server";
|
|
8
8
|
//#region src/trpc/create.ts
|
|
9
9
|
const PROBLEM = Symbol.for("permdock.problem");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as PolicyVocabulary,
|
|
1
|
+
import { N as PolicyVocabulary, Tn as ScopeNames } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { U as POLICY_SCOPES, n as PlanTree, w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
3
|
import { o as OperationMap } from "./operations-BMPx7HyO.js";
|
|
4
4
|
//#region src/core/type-helpers.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-
|
|
1
|
+
import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-2virTxHt.js";
|
|
2
2
|
//#region src/cli/core/errors.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* 0 success, 1 failure, 2 usage, 3 action required, 130 interrupted (SIGINT or
|
|
@@ -1021,6 +1021,11 @@ type PermDockConfig = {
|
|
|
1021
1021
|
readonly tenantPaths?: readonly string[];
|
|
1022
1022
|
/** A prefix the documents' paths carry and the `operations` keys do not. */
|
|
1023
1023
|
readonly base?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* `"kernel"` checks coverage against the operations the kernel enforces and
|
|
1026
|
+
* leaves out those marked `x-permdock-enforcement: handler`.
|
|
1027
|
+
*/
|
|
1028
|
+
readonly enforcement?: "kernel";
|
|
1024
1029
|
};
|
|
1025
1030
|
readonly rls?: RlsConfig;
|
|
1026
1031
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as JwtClaims,
|
|
2
|
-
import { m as ApprovalStore } from "./types-
|
|
1
|
+
import { $ as JwtClaims, Sr as Subject, br as Principal, cn as AuthEvent, gt as TokenFailureCause, it as MembershipSource, ur as Actor, vt as TokenVerifier } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { m as ApprovalStore } from "./types-X40XNxRP.js";
|
|
3
3
|
import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
|
|
4
4
|
import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
|
|
5
5
|
import { t as ClientNames } from "./clients-C_NOET3z.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as CloudEvent } from "./sink-
|
|
3
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
1
|
+
import { fn as DeliveryChannel, gn as EmailCategory, mn as DeliveryFailureCause, nr as GrantedDecision, pn as DeliveryEvent } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { s as CloudEvent } from "./sink-C3KDccl9.js";
|
|
3
|
+
import { t as ApprovalPrompt } from "./approval-prompt-j5PTItiy.js";
|
|
4
4
|
//#region src/delivery/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Who a delivery goes to. `{ principal }` names an app principal and the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as PolicyVocabulary,
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
1
|
+
import { N as PolicyVocabulary, dn as DecisionEvent } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-DV3opaI3.js";
|
|
3
3
|
//#region src/otel/types.d.ts
|
|
4
4
|
declare const GENAI_SEMCONV_PIN = "1.37.0";
|
|
5
5
|
declare const GEN_AI_TOOL_NAME = "gen_ai.tool.name";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Xn as Decision, Yn as ApprovalRequiredDecision, en as Snapshot, nr as GrantedDecision, vt as TokenVerifier } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
+
import { a as PermDock } from "./permdock-DV3opaI3.js";
|
|
4
4
|
import { t as PermissionBoundaryState } from "./boundary-C9ck-3uK.js";
|
|
5
|
-
import { f as PermissionState, h as ProviderOptionsBase, m as ProtectedActionView, t as ClientStore, y as ActionResult } from "./store-core-
|
|
5
|
+
import { f as PermissionState, h as ProviderOptionsBase, m as ProtectedActionView, t as ClientStore, y as ActionResult } from "./store-core-BI-9ZU-5.js";
|
|
6
6
|
import { Snippet } from "svelte";
|
|
7
7
|
import { Readable } from "svelte/store";
|
|
8
8
|
//#region src/client/views.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dn as Approver } from "./policy-types-DU389Elz.js";
|
|
2
2
|
//#region src/approvals/access-reviews/types.d.ts
|
|
3
3
|
type AccessReviewStatus = "open" | "closed";
|
|
4
4
|
type AccessReviewItemStatus = "pending" | "kept" | "revoked";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary,
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, Sr as Subject, Xn as Decision, br as Principal, tr as ExplainedDecision, yr as Membership } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { E as PermissionTree, w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { M as PermissionCheck, a as PermDock, f as WhereResult, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-
|
|
3
|
+
import { M as PermissionCheck, a as PermDock, f as WhereResult, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-DV3opaI3.js";
|
|
4
4
|
//#region src/pdp/types.d.ts
|
|
5
5
|
type RemotePdpAuth = {
|
|
6
6
|
readonly bearer: string | (() => string | Promise<string>);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Xn as Decision, Yn as ApprovalRequiredDecision, en as Snapshot, nr as GrantedDecision, vt as TokenVerifier } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { s as RowData } from "./permdock-
|
|
4
|
-
import { n as DescribeMessages } from "./describe-
|
|
5
|
-
import { n as ClientStoreOptions } from "./store-core-
|
|
3
|
+
import { s as RowData } from "./permdock-DV3opaI3.js";
|
|
4
|
+
import { n as DescribeMessages } from "./describe-DwcoWMLB.js";
|
|
5
|
+
import { n as ClientStoreOptions } from "./store-core-BI-9ZU-5.js";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/react/types.d.ts
|
|
8
8
|
type PermDockProviderProps = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { X as DecisionSink, _t as TokenSigner, ut as SnapshotSource, vt as TokenVerifier
|
|
2
|
-
import { s as PolicySource } from "./hosted-
|
|
3
|
-
import { m as ApprovalStore, u as ApprovalRequest } from "./types-
|
|
1
|
+
import { Sr as Subject, X as DecisionSink, _t as TokenSigner, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { s as PolicySource } from "./hosted-D5StFpKa.js";
|
|
3
|
+
import { m as ApprovalStore, u as ApprovalRequest } from "./types-X40XNxRP.js";
|
|
4
4
|
import { a as CatalogDocument } from "./types-DAyp592k.js";
|
|
5
|
-
import { a as CatalogFinding } from "./sink-
|
|
5
|
+
import { a as CatalogFinding } from "./sink-C3KDccl9.js";
|
|
6
6
|
//#region src/cloud/types.d.ts
|
|
7
7
|
type CloudEndpointOptions = {
|
|
8
8
|
readonly url?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { en as Snapshot, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-
|
|
2
|
-
import { n as DescribeMessages } from "./describe-
|
|
3
|
-
import { n as ClientStoreOptions } from "./store-core-
|
|
4
|
-
import { t as PermDockDefaults } from "./types-
|
|
1
|
+
import { en as Snapshot, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { n as DescribeMessages } from "./describe-DwcoWMLB.js";
|
|
3
|
+
import { n as ClientStoreOptions } from "./store-core-BI-9ZU-5.js";
|
|
4
|
+
import { t as PermDockDefaults } from "./types-DEDocm4c.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
//#region src/react-native/types.d.ts
|
|
7
7
|
type SnapshotStorage = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bn as RelationGrantee, Dn as Approver, Sr as Subject, Tr as AdapterId, a as ApprovalMode, c as ApprovalStage, i as ApprovalFallback, n as ApprovalCombine, qt as Instant, xn as WireDelegation, yr as Membership } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { K as AppData } from "./vocabulary-DeZvUaTw.js";
|
|
3
3
|
//#region src/approvals/types.d.ts
|
|
4
4
|
type ApprovalStatus = "pending" | "approved" | "rejected" | "expired";
|
package/dist/unplugin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as PermDockPluginOptions } from "../types-
|
|
1
|
+
import { s as PermDockPluginOptions } from "../types-61f3KMtI.js";
|
|
2
2
|
import { createUnplugin } from "unplugin";
|
|
3
3
|
//#region src/unplugin/index.d.ts
|
|
4
4
|
type CreateUnplugin = typeof createUnplugin<PermDockPluginOptions | undefined>;
|
package/dist/unplugin/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as peerHint } from "../peer-BuK9F53f.js";
|
|
2
|
-
import { n as createCollectScheduler, r as report } from "../watch-
|
|
2
|
+
import { n as createCollectScheduler, r as report } from "../watch-CJKYQYNb.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
//#region src/unplugin/index.ts
|
|
5
5
|
function loadCreateUnplugin() {
|
|
@@ -2,13 +2,13 @@ import { a as getResource } from "./permission-registry-B8tYxPIt.js";
|
|
|
2
2
|
import { u as usageResult } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { a as rel, r as listSourceFiles } from "./files-BSjrtIHw.js";
|
|
4
4
|
import { o as USAGE_REPORT_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
5
|
-
import { c as jsonSchemaOf } from "./catalog-doc-
|
|
5
|
+
import { c as jsonSchemaOf } from "./catalog-doc-DnQDviXY.js";
|
|
6
6
|
import { n as jiti, r as parseSync, t as createVisitor } from "./optional-8TKc-0j4.js";
|
|
7
7
|
import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-C4p4VgwR.js";
|
|
8
|
-
import { r as runCollect } from "./collect-
|
|
8
|
+
import { r as runCollect } from "./collect-BG-SXFQv.js";
|
|
9
9
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
10
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
11
|
-
import { r as findingOf } from "./output-
|
|
10
|
+
import { t as DOCS_BASE } from "./manifest-CZ-GmsOL.js";
|
|
11
|
+
import { r as findingOf } from "./output-LDciF_4t.js";
|
|
12
12
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
13
13
|
import { dirname, resolve } from "node:path";
|
|
14
14
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as runUsage } from "./usage-BkDU1dYf.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { a as sole, r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { l as isConditionRef, o as hasConditionOp } from "./refs-C8BKxc_e.js";
|
|
3
|
-
import { D as memoryCustomRoleSource, x as memoryRelationSource } from "./src-
|
|
3
|
+
import { D as memoryCustomRoleSource, x as memoryRelationSource } from "./src-ieIv22BA.js";
|
|
4
4
|
import { c as listPermissions, h as formerKeys, n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { c as isEdgeRelation, l as isFieldRelation, u as isPrincipalRelation } from "./resource-relations-8-pCScBO.js";
|
|
6
6
|
import { f as nowMillis, u as isoAt } from "./time-nR1JesoH.js";
|
|
7
7
|
import { c as rootScope, d as scopeList, o as normalizeMemberships } from "./scopes-gdH__vDZ.js";
|
|
8
|
+
import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
|
|
8
9
|
import { o as requiresStandIn } from "./delegation-CrdqnesZ.js";
|
|
9
10
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
10
11
|
import { p as scopeField } from "./tenancy-BlxY5T0q.js";
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { c as andWhere, m as customRoleScope, v as leveled, y as membershipsClaim } from "./evaluate-_JdlbJ32.js";
|
|
12
|
+
import { t as getPermDock } from "./permdock-B3zE16To.js";
|
|
13
|
+
import { l as policyLevels, t as coveredLevels } from "./policy-DnNOTENd.js";
|
|
14
|
+
import { c as andWhere, m as customRoleScope, v as leveled, y as membershipsClaim } from "./evaluate-BQ2nWOki.js";
|
|
15
15
|
import { a as describeError, i as configError, u as usageResult } from "./errors-BhRkoNS7.js";
|
|
16
16
|
import { t as policyRowConditionKeys } from "./row-conditions-BAGHOmVq.js";
|
|
17
17
|
import { s as writeFileEnsuringDir } from "./files-BSjrtIHw.js";
|
|
18
|
-
import { c as jsonSchemaOf } from "./catalog-doc-
|
|
18
|
+
import { c as jsonSchemaOf } from "./catalog-doc-DnQDviXY.js";
|
|
19
19
|
import { o as loadPolicyAt } from "./load-C4p4VgwR.js";
|
|
20
20
|
import "./budget-BBCPDOGP.js";
|
|
21
21
|
import { i as qualifySqlTable, n as defaultSqlCommand, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
22
22
|
import { a as scopeMembershipTable, i as scopeColumn } from "./compile-Cvru58id.js";
|
|
23
23
|
import "./sources-C4vkzZJV.js";
|
|
24
24
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
25
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
25
|
+
import { t as DOCS_BASE } from "./manifest-CZ-GmsOL.js";
|
|
26
26
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-BVZc7OCF.js";
|
|
27
27
|
import { n as pgConnector, t as connectPgPool } from "./pg-Ddxsd5ZB.js";
|
|
28
28
|
import { A as quoteQualified, N as arrayColumnsOf, O as quoteIdent, P as columnTypesOf, _ as subjectClaimJsonSql, a as customRolesOn, j as quoteTable, k as quoteLiteral, r as HELPERS, v as subjectClaimSql } from "./shared-DfaIWvIJ.js";
|
|
29
|
-
import { A as tokenScopeAllowsCall, Ct as scopeTable, N as capabilityAccessSql, T as accessSql, c as graphPlan, i as tableNames, r as tableNameOf, tt as apiKeyAllowsCall, w as requiresSql } from "./tables-
|
|
30
|
-
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-
|
|
29
|
+
import { A as tokenScopeAllowsCall, Ct as scopeTable, N as capabilityAccessSql, T as accessSql, c as graphPlan, i as tableNames, r as tableNameOf, tt as apiKeyAllowsCall, w as requiresSql } from "./tables-DnNACfAr.js";
|
|
30
|
+
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-DvK6INyx.js";
|
|
31
31
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
32
|
-
import { _ as
|
|
32
|
+
import { _ as validitySql, h as andSql, s as viewName, t as FIELD_VIEWS, v as wrapSql } from "./fields-D9PIYlJy.js";
|
|
33
33
|
import { resolve } from "node:path";
|
|
34
34
|
import { createHash, randomUUID } from "node:crypto";
|
|
35
35
|
//#region src/cli/core/ignores.ts
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as PolicyVocabulary, Xn as Decision, Yn as ApprovalRequiredDecision, en as Snapshot, vt as TokenVerifier, yr as Membership } from "../policy-types-DU389Elz.js";
|
|
2
2
|
import { r as Role, w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { d as UncheckedData, s as RowData } from "../permdock-
|
|
4
|
-
import { c as requiredPlans } from "../errors-
|
|
5
|
-
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-
|
|
3
|
+
import { d as UncheckedData, s as RowData } from "../permdock-DV3opaI3.js";
|
|
4
|
+
import { c as requiredPlans } from "../errors-D_SnqcRn.js";
|
|
5
|
+
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DwcoWMLB.js";
|
|
6
6
|
import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
|
|
7
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-
|
|
7
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-BI-9ZU-5.js";
|
|
8
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";
|
|
9
9
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
10
10
|
import { ComputedRef, DefineComponent, MaybeRefOrGetter, Plugin, VNode } from "vue";
|
package/dist/vue/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { n as describe } from "../describe-BZAlPHxT.js";
|
|
|
3
3
|
import { n as boundaryFallback, t as boundaryDigest } from "../boundary-BV3O1eud.js";
|
|
4
4
|
import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "../protected-action-OpOxtTsN.js";
|
|
5
5
|
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";
|
|
6
|
-
import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-
|
|
7
|
-
import { n as switchTenant, t as providerStore } from "../provider-store-
|
|
6
|
+
import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-BYKNX_JG.js";
|
|
7
|
+
import { n as switchTenant, t as providerStore } from "../provider-store-tIAwP4aW.js";
|
|
8
8
|
import { computed, defineComponent, effectScope, getCurrentScope, inject, isRef, onErrorCaptured, onScopeDispose, provide, shallowRef, toValue, watch } from "vue";
|
|
9
9
|
//#region src/vue/context.ts
|
|
10
10
|
const permDockKey = Symbol("permdock");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { qt as Instant } from "./policy-types-
|
|
2
|
-
import { m as ApprovalStore } from "./types-
|
|
1
|
+
import { qt as Instant } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { m as ApprovalStore } from "./types-X40XNxRP.js";
|
|
3
3
|
//#region src/workflow/waiter.d.ts
|
|
4
4
|
type ApprovalWaitOptions = {
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as dateAt } from "./time-nR1JesoH.js";
|
|
2
2
|
import { a as describeError } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { t as defaultSrcPath } from "./files-BSjrtIHw.js";
|
|
4
|
-
import { r as runCollect } from "./collect-
|
|
5
|
-
import { n as isConfigFile, r as loadConfig } from "./config-
|
|
4
|
+
import { r as runCollect } from "./collect-BG-SXFQv.js";
|
|
5
|
+
import { n as isConfigFile, r as loadConfig } from "./config-DC7aiuhP.js";
|
|
6
6
|
import { watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, relative, resolve, sep } from "node:path";
|
|
8
8
|
//#region src/cli/watch.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as watchCollect } from "./watch-CJKYQYNb.js";
|
package/dist/webmcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Xn as Decision, en as Snapshot } from "../policy-types-DU389Elz.js";
|
|
2
2
|
import { E as PermissionTree, w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
//#region src/webmcp/types.d.ts
|