permdock 0.18.1 → 0.20.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.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/a2a/index.js +6 -6
- package/dist/{adoption-scan-CxExBYSJ.js → adoption-scan-BWL5H82_.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 +4 -4
- package/dist/{approval-normalize-CUjgSsOl.js → approval-normalize-hlfO9BJv.js} +8 -1
- package/dist/{approval-policies-oNnckT12.d.ts → approval-policies-CKlByf5o.d.ts} +1 -1
- package/dist/{approval-prompt-Bg7gDSqd.d.ts → approval-prompt-CQFiO1KE.d.ts} +1 -1
- package/dist/approvals/index.d.ts +4 -4
- package/dist/approvals/index.js +3 -3
- package/dist/{approvals-DGId_hgJ.js → approvals-CuXILe52.js} +9 -6
- package/dist/{arazzo--riLuGY0.js → arazzo-B_CPVseu.js} +2 -2
- package/dist/{arazzo-CEDbb-uM.js → arazzo-C8u26FUA.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +2 -2
- package/dist/{audience-B4YR9UpV.js → audience-BUonniPx.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +3 -3
- package/dist/{automation-Bfa_wD1h.d.ts → automation-CpOk7Tlu.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-auth/index.js +1 -1
- package/dist/better-supabase/index.d.ts +20 -17
- package/dist/better-supabase/index.js +9 -9
- package/dist/{better-supabase-BJtQ-kNf.js → better-supabase-ayun1IKE.js} +38 -4
- package/dist/{bind-DR6ku3A9.d.ts → bind-CW7nsZ86.d.ts} +7 -7
- package/dist/{bind-B4pMH9bm.js → bind-gwEbe9hL.js} +4 -4
- package/dist/{body-CJQwYVa8.js → body-C9JbIoqb.js} +1 -1
- package/dist/{build-instance-BFMFQdE_.js → build-instance-DaBdCRiz.js} +1 -1
- package/dist/{capability-BZ_veK9o.d.ts → capability-v2xZB7us.d.ts} +1 -1
- package/dist/{casbin-DCQHkkyj.js → casbin-DaY-CWOr.js} +1 -1
- package/dist/{casbin-bKC1FpEx.js → casbin-JWZGKqzy.js} +1 -1
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +5 -5
- package/dist/catalog-BTPySmbp.js +1 -0
- package/dist/{catalog-zzNuR3sY.js → catalog-DjDc87R2.js} +1 -1
- package/dist/{catalog-doc-C4DGfJCO.js → catalog-doc-nrgfbh8I.js} +2 -1
- package/dist/{catalog-D1fw8qif.js → catalog-s0waIrfY.js} +2 -2
- package/dist/{challenge-B2O2OLEk.js → challenge-DbkpCx_v.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 +5 -5
- package/dist/cli/index.js +3 -3
- package/dist/{client-CH7vzSAY.d.ts → client-JK504UCq.d.ts} +15 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +2 -2
- package/dist/{cloud-C0vXBmLG.js → cloud-pEhjaPNs.js} +2 -2
- package/dist/{codemod-C-L0w-u7.js → codemod-BUhreN8m.js} +2 -2
- package/dist/{codemod-eYI1FbeJ.js → codemod-Cv0-7Ogj.js} +1 -1
- package/dist/{collect-CU85z6Ta.js → collect-DMQ6Sxr6.js} +2 -2
- package/dist/{collect-D878zLDP.js → collect-DN_x7hvV.js} +1 -1
- package/dist/collect-eSTXOZDC.js +1 -0
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DBm0ub4p.d.ts → compile-DZftFfXc.d.ts} +2 -2
- package/dist/{completion-Dauc6pVT.js → completion-BG1wcLJ3.js} +1 -1
- package/dist/{config-COHmivz9.js → config-D2oXUwos.js} +8 -5
- package/dist/{config-DWp2PucY.js → config-Di9kWoLY.js} +1 -1
- package/dist/{config-report-DKpFm5ID.js → config-report-B0IyW7EQ.js} +2 -2
- package/dist/{config-shape-tsxHx71E.js → config-shape-D9paLhEX.js} +5 -1
- package/dist/{connection-B72dg5Q2.js → connection-QFsv-kbh.js} +1 -1
- package/dist/{context-DeammvFl.js → context-YhyXyqBI.js} +3 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +3 -3
- package/dist/{core-D87h2kpR.d.ts → core-BOeGWbcR.d.ts} +2 -2
- package/dist/{core-B8sLve3z.js → core-BwVkrpsi.js} +5 -5
- package/dist/{create-BrQXL-Wt.d.ts → create-BezeYFcT.d.ts} +6 -6
- package/dist/{create-C-tm3KIF.js → create-C0R8omeF.js} +4 -4
- package/dist/{create-3A7J9KRR.js → create-DDUFG1ul.js} +69 -29
- package/dist/{create-BzwjZuRS.d.ts → create-DMCC5ZOi.d.ts} +7 -7
- package/dist/{create-CtoT1lIQ.d.ts → create-DYSYYiLr.d.ts} +4 -4
- package/dist/decide-set-DXEPepY1.js +100 -0
- package/dist/{delegation-input-FTxMK3ji.js → delegation-input-DcXhiMkf.js} +1 -1
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-DlIxt8fh.d.ts → denied-text-De8cw3MW.d.ts} +1 -1
- package/dist/{describe-BKtC_8PG.d.ts → describe-DibQM6g-.d.ts} +1 -1
- package/dist/{diff-BnNHqtHj.js → diff-Bd1-VCe5.js} +4 -4
- package/dist/{diff-CBCzOTWM.js → diff-DXRNcjpg.js} +1 -1
- package/dist/{doctor-xUpR5rXg.js → doctor-Bp3xspBi.js} +15 -5
- package/dist/{doctor-CkYKCuX7.js → doctor-DpD4nHMS.js} +295 -66
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +4 -4
- package/dist/{errors-TpzkEKgJ.d.ts → errors-OTE9u4Wk.d.ts} +1 -1
- package/dist/{errors-B6R_lg2a.js → errors-ynga1EQy.js} +1 -1
- package/dist/{evaluate-Czbj7thS.js → evaluate-Dcq_U2TV.js} +2 -2
- package/dist/{evaluations-CisTTURl.d.ts → evaluations-BgxEfPL7.d.ts} +3 -3
- package/dist/{evaluations-h3KoJAPa.js → evaluations-CNMVJVD6.js} +3 -3
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +3 -3
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +3 -3
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +3 -3
- package/dist/{fetch-adapter-BdmfnbJM.d.ts → fetch-adapter-DCQ4pZxf.d.ts} +2 -2
- package/dist/{fetch-adapter-DH-NJPbL.js → fetch-adapter-acq4dPX3.js} +3 -3
- package/dist/{fields-CrjL6A49.js → fields-COvJbUva.js} +1 -1
- package/dist/{from-snapshot-DMlSSo9b.js → from-snapshot-DHnb8Fh4.js} +2 -2
- package/dist/{gen-BEIN-DRM.js → gen-B2O9T25-.js} +1 -1
- package/dist/{gen-mf-MRwVr.js → gen-CKr1Vfiz.js} +2 -2
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +3 -3
- package/dist/{helpers-DmqGy63f.js → helpers-D-MXwkOF.js} +28 -4
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +5 -5
- package/dist/{hosted-waouw2V-.js → hosted-C2Pmhy2x.js} +4 -3
- package/dist/{hosted-BFNXwcjd.d.ts → hosted-yhyAuQkL.d.ts} +1 -1
- package/dist/{import-DObwEota.js → import-DG6uswAo.js} +1 -1
- package/dist/{import-C1XXpG_m.js → import-DVI_1tO_.js} +46 -2
- package/dist/{index-BhnOOnp9.d.ts → index--AwSBzJC.d.ts} +2 -2
- package/dist/{index-rFp6X_QP.d.ts → index-B_I6N8Ju.d.ts} +5 -5
- package/dist/{index-CVGio3cH.d.ts → index-Bt37QovT.d.ts} +4 -4
- package/dist/{index-Dfv9Toct.d.ts → index-CLbGOPBr.d.ts} +1 -1
- package/dist/{index-CdMOd-GY.d.ts → index-CruReRkB.d.ts} +24 -6
- package/dist/{index-CdUTE6qd.d.ts → index-D7xGi1LS.d.ts} +24 -10
- package/dist/index.d.ts +17 -17
- package/dist/index.js +15 -15
- package/dist/{init-CNJ8lLjo.js → init-C-cgOvCl.js} +1 -1
- package/dist/{init-DS3PEsCG.js → init-DAPbdjcX.js} +3 -3
- package/dist/{instance-options-2sFGSdsf.d.ts → instance-options-VPsNQsTH.d.ts} +1 -1
- package/dist/{instance-snapshot-BWa71my8.js → instance-snapshot-SX8zH_1t.js} +3 -3
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-30Z2zM_d.js → kernel-_QEUOSU0.js} +7 -7
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-DUVzBLh7.js → login-CQGjpkuo.js} +3 -3
- package/dist/{login-BgK5Jloo.js → login-Cgix5FgG.js} +1 -1
- package/dist/{manifest-wclLWBVH.js → manifest-CMu1IE0R.js} +38 -37
- package/dist/{map-error-BH16Ah8P.js → map-error-EOhahOVA.js} +3 -3
- package/dist/mcp/index.d.ts +57 -17
- package/dist/mcp/index.js +199 -53
- package/dist/{module-values-B8tNIxdd.js → module-values-BYuNtdK5.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +5 -5
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +8 -8
- 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 +2 -2
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-zMEB9qxn.js → openapi-FVeCoh97.js} +2 -2
- package/dist/{openapi-C4gFqeRz.js → openapi-lsf1gEtr.js} +2 -2
- package/dist/orpc/index.d.ts +21 -17
- package/dist/orpc/index.js +18 -11
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-BFWLER4r.js → output-DZQCr2lP.js} +1 -1
- package/dist/{ownership-D-mIt-w0.js → ownership-CBuIjxKh.js} +2 -1
- package/dist/{parse-UTC-sDrt.js → parse-CXTT7hBq.js} +1 -1
- package/dist/{parse-local-manifest-DvjTQNuO.d.ts → parse-local-manifest-CE4tgFsj.d.ts} +1 -1
- package/dist/{parse-local-manifest-CxcSMQgl.js → parse-local-manifest-Ce2N-Opr.js} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +2 -2
- package/dist/{permdock-D-_WrdKu.js → permdock-C1DN_7a-.js} +6 -6
- package/dist/{permdock-ffY4CMd9.d.ts → permdock-D4F2p5J8.d.ts} +4 -4
- package/dist/{permissions-B3ggI88M.js → permissions-8N2yFsUM.js} +1 -1
- package/dist/{policy-cV_wwPb8.js → policy-CaAME-Rh.js} +2 -2
- package/dist/{policy-BtKSApSt.d.ts → policy-Dh9WVSVz.d.ts} +1 -1
- package/dist/{policy-from-catalog-B68hGC0S.js → policy-from-catalog-CUNlpgz0.js} +6 -6
- package/dist/{policy-types-D-GwfQTc.d.ts → policy-types-BI9C5Sp5.d.ts} +32 -2
- package/dist/{postgrest-D84p5dbA.d.ts → postgrest-CWCCbaxm.d.ts} +1 -1
- package/dist/powersync-BV68Jh-T.js +1 -0
- package/dist/{powersync-DStC_g0B.js → powersync-CRtuJXVB.js} +2 -2
- package/dist/{powersync-9PYOE1wt.js → powersync-Dz4H1FLs.js} +77 -38
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{problem-BVLHFK33.js → problem-BWP1l86g.js} +8 -7
- package/dist/{protected-action-B40tU3yP.js → protected-action-CD1HXwQK.js} +2 -2
- package/dist/{protected-action-Ds_EUY8B.d.ts → protected-action-ua0cx5cW.d.ts} +5 -5
- package/dist/{provider-OtnIiFWm.d.ts → provider-D_hgjZRa.d.ts} +1 -1
- package/dist/{provider-CY4TSSJo.js → provider-qESIf_C0.js} +5 -2
- package/dist/{provider-store-BQP_pp8s.js → provider-store-BTHGJH9j.js} +3 -2
- package/dist/pull-AOmtUo8V.js +1 -0
- package/dist/{pull-DLP4I1Kl.js → pull-DnhBA9pf.js} +3 -3
- package/dist/{push-BSb8j1EW.js → push-D2SsRW0U.js} +3 -3
- package/dist/{pushed-policy-BecMsTtM.js → pushed-policy-BERO0x9O.js} +1 -1
- package/dist/{pushed-policy-Ck3FZcoy.d.ts → pushed-policy-P0hgyLBh.d.ts} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +28 -14
- package/dist/react-native/index.js +57 -37
- package/dist/{replay-E5X9E1lC.d.ts → replay-DYXI4gRN.d.ts} +1 -1
- package/dist/{request-context-DM6_jY1n.js → request-context-BPTi68z5.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/resend/index.js +2 -2
- package/dist/{resolve-names-CBl4r4_r.js → resolve-names-CDnxNqNb.js} +2 -2
- package/dist/{rls-pAHGYgTb.js → rls-CHZi5SUK.js} +1 -1
- package/dist/{rls-DGBL-jDY.js → rls-CbDKv6GP.js} +19 -13
- package/dist/{role-builder-CMW4wWzn.js → role-builder-C5AgaC1x.js} +18 -3
- package/dist/rpc-D2LnFELm.d.ts +22 -0
- package/dist/{rpc-KwX_Jcxz.js → rpc-DdkbQVlT.js} +16 -6
- package/dist/{run-B7lv3NuK.js → run-Bnm5VZ8m.js} +3 -3
- package/dist/run-D6U-Gwok.js +1 -0
- package/dist/{run-ticket-DPaD27_r.d.ts → run-ticket-94DOS9Cd.d.ts} +2 -2
- package/dist/{saas-B8H1MsQ3.js → saas-BEXnrH9H.js} +4 -4
- package/dist/{scan-0r3OZqqK.js → scan-VKkU4Ix9.js} +1 -1
- package/dist/{schema-B_9tXrbG.js → schema-5onstWlb.js} +1 -1
- package/dist/{schema-CuX70xgH.js → schema-BlnU_TzE.js} +4 -0
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +5 -5
- package/dist/{server-types-3OnXjZ2D.d.ts → server-types-ChzXWU4Y.d.ts} +31 -13
- package/dist/{sink-ogbVkyeo.d.ts → sink-RwmP7ZHs.d.ts} +2 -2
- package/dist/{skills-C9sTD70r.js → skills-B6sLqv4E.js} +1 -1
- package/dist/{skills-B4MPRxQd.js → skills-Yz3LfoAZ.js} +1 -1
- package/dist/{snapshot-DN_8J27z.js → snapshot-DHPih65J.js} +2 -1
- package/dist/{snapshot-cache-B4YvlGG_.d.ts → snapshot-cache-MPinwwgZ.d.ts} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +3 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +3 -3
- package/dist/{sources-xdQShLDU.d.ts → sources-sgQlMfmz.d.ts} +1 -1
- package/dist/{src-Brzq_0in.js → src-B8SQNsvw.js} +30 -13
- package/dist/ssf/index.d.ts +3 -3
- package/dist/ssf/index.js +2 -2
- package/dist/{standard-webhooks-BfPaZ6T1.d.ts → standard-webhooks-CFZIYtBF.d.ts} +2 -2
- package/dist/{store-DmVqy74I.js → store-CSOsXd5s.js} +8 -6
- package/dist/{store-DYeB-_U3.d.ts → store-Dpg_fSNQ.d.ts} +31 -4
- package/dist/{store-options--zWn48PK.js → store-options-CDvoX52-.js} +31 -8
- package/dist/{stores-EPul_8MN.d.ts → stores-C2A6KsxE.d.ts} +5 -5
- package/dist/{stores-BYFopOm1.js → stores-PpYVQ5yF.js} +1 -1
- package/dist/{stream-CDvF0sJm.js → stream-DQ3rbO3J.js} +1 -1
- package/dist/supabase/client.d.ts +1 -1
- package/dist/supabase/client.js +32 -4
- package/dist/supabase/index.d.ts +10 -5
- package/dist/supabase/index.js +1 -1
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +5 -5
- package/dist/{supabase-BiViJpQ4.js → supabase-CVZuytCC.js} +2 -2
- package/dist/{supabase-CogTyJH2.js → supabase-CWpADE8k.js} +2 -2
- package/dist/supabase-hook-Clczf4iF.js +1 -0
- package/dist/{supabase-hook-DX38Hj8h.js → supabase-hook-bDeWbKee.js} +151 -55
- package/dist/{supautils-BGf6zRvM.js → supautils-0RrdsFT3.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 +2 -2
- package/dist/{tables-BfOk0ymL.js → tables-C53U2zrN.js} +1 -1
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +2 -2
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +4 -4
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/testing/index.d.ts +23 -23
- package/dist/testing/index.js +22 -22
- 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 +15 -8
- package/dist/trpc/index.js +23 -19
- package/dist/{type-helpers-i1EJ3Eb1.d.ts → type-helpers-BjOLGVy1.d.ts} +1 -1
- package/dist/{types-D-JO7lh8.d.ts → types--_lpWUGV.d.ts} +5 -5
- package/dist/{types-NYoj8JBm.d.ts → types-7Vlz1Wi2.d.ts} +1 -0
- package/dist/{types-CqcsNCaN.d.ts → types-BzxA2OAD.d.ts} +13 -1
- package/dist/{types-D19MK4t-.d.ts → types-C5p2hoBR.d.ts} +3 -3
- package/dist/{types-B8qUkGja.d.ts → types-CMclYgSk.d.ts} +2 -2
- package/dist/{types-3Y8UpFkF.d.ts → types-D1NjjwI4.d.ts} +68 -4
- package/dist/{types-DGf_cpKF.d.ts → types-D8JVDWOr.d.ts} +2 -2
- package/dist/{types-Ck1KOfug.d.ts → types-DBVSljAx.d.ts} +2 -2
- package/dist/{types-CDVXR6YD.d.ts → types-DZwEOsK1.d.ts} +1 -1
- package/dist/{types-DmbfLu2p.d.ts → types-DnzRZjEu.d.ts} +9 -4
- package/dist/{types-o1vu6Ks3.d.ts → types-Drs3OOAy.d.ts} +4 -4
- package/dist/{types-CCEeSCMB.d.ts → types-p8mhWTcR.d.ts} +3 -3
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DC0UKe6C.js → usage-B6gmS634.js} +7 -5
- package/dist/{usage-DYtRVkcN.js → usage-BFMCEgJp.js} +1 -1
- package/dist/usage-Csu-M5jC.js +1 -0
- package/dist/{validation-error-Dx8PipbO.d.ts → validation-error-DkOK9zUE.d.ts} +1 -1
- package/dist/{verify-Bpj0hauG.js → verify-DFruUfZg.js} +79 -58
- package/dist/{version-cache-DzNKWiI6.d.ts → version-cache-q5cpaDSt.d.ts} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-NK_UuZbb.d.ts → waiter-BjVI_Byg.d.ts} +2 -2
- package/dist/watch-CS69ftMP.js +1 -0
- package/dist/{watch-CBHADqBH.js → watch-Dz2LNM1R.js} +2 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/{where-scope-BKrqUDVk.js → where-scope-BAyOsPQW.js} +1 -1
- package/dist/{who-can-KhVWMxtf.js → who-can-CZeAwQZD.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-BHGA-SMM.d.ts → wrap-CE5lxje7.d.ts} +2 -2
- package/package.json +1 -1
- package/schemas/catalog-v1.json +8 -0
- package/skills/permdock-agents/references/runtimes.md +2 -2
- package/skills/permdock-data/SKILL.md +1 -1
- package/skills/permdock-data/references/queries-and-rls.md +2 -0
- package/skills/permdock-wire/references/adapters.md +1 -1
- package/dist/catalog-Caqhbdix.js +0 -1
- package/dist/collect-KCtOigxx.js +0 -1
- package/dist/powersync-xNRlC4jN.js +0 -1
- package/dist/pull-UBjDnf4b.js +0 -1
- package/dist/run-UPbacxPg.js +0 -1
- package/dist/stream-W2RuUYly.d.ts +0 -13
- package/dist/supabase-hook-BN46IrVI.js +0 -1
- package/dist/usage-Cl5eb-e1.js +0 -1
- package/dist/watch-OYwAPCzx.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $ as JwtClaims, B as SupportAccessOptions, D as Policy, Dr as ConditionRef, F as RoleBinding, Fr as SqlFunctionArg, I as RoleOptions, Ir as SqlFunctionCondition, Kt as InstanceHandle, N as PolicyVocabulary, Qn as DenialReason, Qt as LocalSnapshotManifest, R as SeparationConflict, Sn as Scope, T as MembershipFixture, U as VocabularyFromInput, Xn as Denial, Yn as Decision, Z as EntitlementSource, _ as Grant, _n as SinkEvent, _t as TokenSigner, an as SnapshotTenants, ct as RelationSource, en as Snapshot, fn as DeliveryEvent, hr as Delegation, ht as TenantSettings, it as MembershipSource, j as PolicyOptions, jr as OpaqueCondition, k as PolicyDelegation, l as AssuranceRequirement, lt as SettingsSource, o as ApprovalOption, on as AccessEvent, ot as RelationGroup, pr as CustomRole, q as CustomRoleSource, qt as Instant, u as BreakGlassOptions, un as DecisionEvent, ut as SnapshotSource, v as GrantCondition, vr as Membership, xn as PolicyScopesInput, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { E as ResourceXTree, S as ResourceParent, T as ResourceRestricted, b as ResourceNode, d as PermissionKind, f as PermissionTree, g as ResourceInit, m as PermissionsOptions, n as ActionMeta, p as PermissionsOf, t as ActionList, u as Permission, w as ResourceRelationInput, x as ResourceOptions, y as ResourceMeta } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as RoleTree, r as Role } from "./vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { a as PermDock, o as PermDockOptions } from "./permdock-
|
|
5
|
-
import { o as PolicyDocument } from "./hosted-
|
|
6
|
-
import { m as ApprovalStore } from "./types-
|
|
7
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
4
|
+
import { a as PermDock, o as PermDockOptions } from "./permdock-D4F2p5J8.js";
|
|
5
|
+
import { o as PolicyDocument } from "./hosted-yhyAuQkL.js";
|
|
6
|
+
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
7
|
+
import { t as InstanceOptions } from "./instance-options-VPsNQsTH.js";
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-CE5lxje7.js";
|
|
9
9
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
10
|
-
import { n as VersionCache } from "./version-cache-
|
|
11
|
-
import { i as CatalogEventData, s as CloudEvent } from "./sink-
|
|
10
|
+
import { n as VersionCache } from "./version-cache-q5cpaDSt.js";
|
|
11
|
+
import { i as CatalogEventData, s as CloudEvent } from "./sink-RwmP7ZHs.js";
|
|
12
12
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
13
13
|
//#region src/conditions/refs.d.ts
|
|
14
14
|
type KnownRefField = "id" | "issuer" | "kind" | "tenant" | "team" | "roles" | "plans" | "memberships" | "assurance" | "binding" | "session" | "claims";
|
|
@@ -168,6 +168,14 @@ declare function opaque(input: {
|
|
|
168
168
|
//#region src/conditions/sql-function.d.ts
|
|
169
169
|
declare function sqlFunction(name: string, options: {
|
|
170
170
|
readonly args?: readonly SqlFunctionArg[];
|
|
171
|
+
/**
|
|
172
|
+
* The set form: the row's `column` must be one of the ids the function
|
|
173
|
+
* returns. The function is called once per statement, without row-field
|
|
174
|
+
* args, as `"column" in (select name(args))`.
|
|
175
|
+
*/
|
|
176
|
+
readonly set?: {
|
|
177
|
+
readonly column: string;
|
|
178
|
+
};
|
|
171
179
|
readonly twin: unknown;
|
|
172
180
|
}): SqlFunctionCondition;
|
|
173
181
|
//#endregion
|
|
@@ -179,6 +187,12 @@ declare function memorySettingsSource(settings: Readonly<Record<string, TenantSe
|
|
|
179
187
|
* database source.
|
|
180
188
|
*/
|
|
181
189
|
declare function memoryMembershipSource(entries: Readonly<Record<string, readonly Membership[]>>): MembershipSource;
|
|
190
|
+
/**
|
|
191
|
+
* The memberships `subject`'s principal carries, as a `MembershipSource` for
|
|
192
|
+
* `permdockFor` and `snapshotFor`. It answers for that principal only; any
|
|
193
|
+
* other principal has none.
|
|
194
|
+
*/
|
|
195
|
+
declare function subjectMembershipSource(subject: Subject): MembershipSource;
|
|
182
196
|
/** A snapshot held in memory; `set` replaces it and notifies every subscriber. */
|
|
183
197
|
declare function memorySnapshotSource(initial: Snapshot | string): SnapshotSource & {
|
|
184
198
|
set: (snapshot: Snapshot | string) => void;
|
|
@@ -597,7 +611,7 @@ type SnapshotForOptions = {
|
|
|
597
611
|
/** Plans of the active tenant; replaces `principal.plans`. */
|
|
598
612
|
readonly plans?: readonly string[];
|
|
599
613
|
readonly include?: SnapshotInclude;
|
|
600
|
-
readonly tenants?:
|
|
614
|
+
readonly tenants?: SnapshotTenants;
|
|
601
615
|
/** The instant for `issuedAt` and membership expiry. Defaults to the clock. */
|
|
602
616
|
readonly now?: Instant;
|
|
603
617
|
};
|
|
@@ -1151,4 +1165,4 @@ declare function coveredByDelegation(permission: DelegatedPermission, delegation
|
|
|
1151
1165
|
*/
|
|
1152
1166
|
declare function delegatedPermissions(delegations: readonly PolicyDelegation[] | undefined, subject: Subject, heldRoles: ReadonlySet<string>, now: number): ReadonlySet<string> | undefined;
|
|
1153
1167
|
//#endregion
|
|
1154
|
-
export { resource as $,
|
|
1168
|
+
export { resource as $, isPermission as $t, RoleChangeCheckInput as A, HoldingVia as At, ActivateInput as B, countHolders as Bt, parseCatalogEventData as C, principal as Cn, SnapshotClaims as Ct, parseSinkEvents as D, SignPolicyDocumentOptions as Dt, parseSinkEvent as E, snapshotFromClaims as Et, checkRoleChange as F, memoryRelationSource as Ft, allow as G, memoryMembershipSource as Gt, breakGlass as H, APPROVAL_POLICY_UNAVAILABLE as Ht, decideRoleChange as I, StripeEntitlementsClient as It, role as J, subjectMembershipSource as Jt, deny as K, memorySettingsSource as Kt, normalizeMembership as L, stripeEntitlementSource as Lt, RoleChangeOptions as M, whoCan as Mt, RoleChangeTarget as N, MemoryEdge as Nt, RoleChange as O, signPolicyDocument as Ot, RoleRules as P, MemoryRelationSourceData as Pt, formerKeys as Q, getResource as Qt, normalizeMemberships as R, claimsFirst as Rt, SINK_EVENT_SCHEMAS as S, context as Sn, SignSnapshotOptions as St, parseCloudEventBatch as T, snapshotClaims as Tt, supportAccess as U, memoryCustomRoleSource as Ut, activate as V, isExternallyManaged as Vt, normalizeApproval as W, memoryEntitlementSource as Wt, readable as X, opaque as Xt, crud as Y, sqlFunction as Yt, writable as Z, findPermission as Zt, DECISION_EVENT_SCHEMA as _, customRoleClaim as _n, ArazzoSimulateInput as _t, catalogFingerprint as a, separationConflicts as an, customRoleSource as at, EVENT_SCHEMA_IDS as b, validateCustomRole as bn, simulateArazzo as bt, OCSF_VERSION as c, fromSnapshot as cn, ShadowMismatch as ct, accessToOcsf as d, CustomRoleDropReason as dn, defineApp as dt, listPermissions as en, definePermissions as et, toOcsf as f, CustomRoleEntry as fn, AppOptions as ft, CREDENTIAL_EVENT_SCHEMA as g, ValidateCustomRoleOptions as gn, ArazzoPlan as gt, CATALOG_EVENT_SCHEMA as h, ResolvedCustomRole as hn, ArazzoFinding as ht, canonicalJson as i, isRoleName as in, CustomRoleSourceOptions as it, RoleChangeDecision as j, WhoCan as jt, RoleChangeCheck as k, Holder as kt, OcsfAuthorizeSession as l, parseSnapshot as ln, ShadowOptions as lt, AUTOMATION_EVENT_SCHEMA as m, CustomRoleValidation as mn, localSnapshotManifest as mt, delegatedPermissions as n, RoleNameOf as nn, snapshotFor as nt, CSV_COLUMNS as o, requiresApproval as on, mayAccess as ot, ACCESS_EVENT_SCHEMA as p, CustomRoleRename as pn, AppProfile as pt, normalizeAssurance as q, memorySnapshotSource as qt, sha256Digest as r, definePolicy as rn, CustomRoleReader as rt, toCsvRow as s, emptySnapshot as sn, LegacyCheck as st, coveredByDelegation as t, mergePermissions as tn, SnapshotForOptions as tt, OcsfUserManagement as u, CustomRoleDrop as un, shadowMode as ut, DELIVERY_EVENT_SCHEMA as v, parseCustomRoleEntry as vn, ArazzoStepResult as vt, parseCloudEvent as w, signSnapshot as wt, MEMBERSHIP_EVENT_SCHEMA as x, claim as xn, deliveryEvent as xt, DIRECTORY_EVENT_SCHEMA as y, resolveCustomRole as yn, arazzoFindings as yt, resolveScope as z, composeMemberships as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $n as DeniedDecision, $t as LocalSnapshotRows, A as PolicyOAuthScope, An as UserApprover, Ar as MemberOfParent, At as parseSupportSession, B as SupportAccessOptions, Bn as actor, Br as isConditionRef, Bt as DecideCredentialOptions, C as GrantValidity, Cn as ScopeDeclaration, Cr as ActorKind, Ct as WhereCompiler, D as Policy, Dn as ApproverInput, Dr as ConditionRef, Dt as SupportSessionPolicy, E as ObligationInput, En as Approver, Er as Condition, Et as SupportSessionDecision, F as RoleBinding, Fn as user, Fr as SqlFunctionArg, Ft as CredentialPermission, G as CredentialVerifier, Gn as plan, Gt as parseCredential, H as ValidateMode, Hn as assurance, Ht as credentialPolicyViolation, I as RoleOptions, In as Grantee, Ir as SqlFunctionCondition, It as CredentialPermissionInput, J as CustomRoleSourceFactory, Jn as ApprovalRequiredDecision, Jt as LocalCustomRoleTable, K as CustomRoleContext, Kn as relation, L as RoleScope, Ln as GranteeInput, Lr as hasConditionOp, Lt as CredentialPolicy, M as PolicyScopes, Mn as anyOf, Mr as RelatedCondition, Mt as Credential, Nn as holder, Nr as RelatedHop, Nt as CredentialDecision, O as PolicyAppDataSchemas, On as ManagerApprover, Or as ConditionValue, Ot as SupportSessionRequest, P as PrincipalOf, Pn as manager, Pr as RestrictedAncestors, Pt as CredentialKind, Q as Intent, Qn as DenialReason, Qt as LocalSnapshotManifest, R as SeparationConflict, Rn as InheritGrantee, Rr as isCondition, Rt as CredentialPolicyViolation, S as GrantScope, Sn as Scope, Sr as VerifiedClaims, St as VersionQuery, T as MembershipFixture, Tn as AnyOfApprover, Tr as MembershipVia, Tt as SupportSession, Un as authenticated, Ut as decideCredential, V as SupportConsent, Vn as anyone, Vr as isSqlFunctionField, Vt as credentialDelegation, W as WireValidity, Wn as inherit, Wt as isFeedId, X as DecisionSink, Xn as Denial, Xt as LocalRowColumn, Y as DecisionProvider, Yn as Decision, Yt as LocalMembershipRows, Z as EntitlementSource, Zn as DenialDetails, Zt as LocalRowValue, _ as Grant, _n as SinkEvent, _t as TokenSigner, a as ApprovalMode, an as SnapshotTenants, ar as Quota, at as RelationChain, b as GrantMeta, br as SharedCustomRole, bt as VerifiedToken, c as ApprovalStage, cn as AutomationEvent, cr as TraceSkipReason, ct as RelationSource, d as BreakGlassRequirements, dn as DeliveryChannel, dr as AuthorizationDetail, dt as SourceCall, en as Snapshot, er as ExplainedDecision, et as LimitConsumeInput, f as BreakGlassSpec, fn as DeliveryEvent, fr as Binding, ft as SourceContext, g as DelegationTarget, gn as MembershipEvent, gr as GnapAccess, gt as TokenFailureCause, h as DelegationInput, hn as EmailCategory, hr as Delegation, ht as TenantSettings, i as ApprovalFallback, in as SnapshotScope, ir as Obligation, it as MembershipSource, jn as allOf, jt as ApiKeyPrincipal, k as PolicyDelegation, kn as PermissionApprover, kr as MemberOfCondition, kt as decideSupportSession, l as AssuranceRequirement, ln as CredentialEvent, lr as Actor, lt as SettingsSource, m as ClosureGrantFn, mn as DirectoryEvent, mr as CustomRoleGrant, mt as SubjectResolver, n as ApprovalCombine, nn as SnapshotGrant, nr as LimitDetail, nt as LimitStore, o as ApprovalOption, on as AccessEvent, or as Trace, ot as RelationGroup, p as ClosureContext, pn as DeliveryFailureCause, pr as CustomRole, pt as SourceMemo, q as CustomRoleSource, qn as AppObligation, r as ApprovalEscalation, rn as SnapshotNotEntitled, rr as MatchedGrant, rt as MemberEntry, s as ApprovalRequirement, sn as AuthEvent, sr as TraceSkip, st as RelationHolder, t as ActivationOption, tn as SnapshotAssignable, tr as GrantedDecision, tt as LimitRemaining, u as BreakGlassOptions, un as DecisionEvent, ur as Assurance, ut as SnapshotSource, v as GrantCondition, vn as WireDecision, vr as Membership, vt as TokenVerifier, w as HostedGrantRef, wn as ScopeNames, wr as AdapterId, wt as DecideSupportSessionOptions, x as GrantOptions, xn as PolicyScopesInput, xr as Subject, xt as VersionContext, y as GrantLimit, yn as WireDenial, yr as Principal, yt as VerificationFailure, z as SubjectOf, zn as RelationGrantee, zr as isConditionDate, zt as CredentialRequest } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { A as RESOURCE_NAME, C as ResourceRelation, D as RowOf, E as ResourceXTree, M as AppData, N as AppDataSchema, O as PERMISSION_ROW, P as MetaValue, S as ResourceParent, T as ResourceRestricted, _ as ResourceLevel, a as EdgeGroups, b as ResourceNode, c as FieldRelation, d as PermissionKind, f as PermissionTree, g as ResourceInit, h as PrincipalRelation, i as EdgeGroup, j as RESOURCE_X, k as POLICY_SCOPES, m as PermissionsOptions, n as ActionMeta, o as EdgeMatch, p as PermissionsOf, r as ComputedRelation, s as EdgeRelation, u as Permission, v as ResourceLink, w as ResourceRelationInput, x as ResourceOptions, y as ResourceMeta } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as RoleTree, c as definePlans, d as isPlan, f as isRole, i as RoleMeta, l as defineRoles, m as listRoles, n as PlanTree, o as Vocabulary, p as listPlans, r as Role, s as VocabularyOptions, t as Plan, u as findRole } from "./vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { $ as resource, $t as
|
|
4
|
+
import { $ as resource, $t as isPermission, A as RoleChangeCheckInput, At as HoldingVia, B as ActivateInput, Bt as countHolders, C as parseCatalogEventData, Cn as principal, Ct as SnapshotClaims, D as parseSinkEvents, Dt as SignPolicyDocumentOptions, E as parseSinkEvent, Et as snapshotFromClaims, F as checkRoleChange, Ft as memoryRelationSource, G as allow, Gt as memoryMembershipSource, H as breakGlass, Ht as APPROVAL_POLICY_UNAVAILABLE, I as decideRoleChange, It as StripeEntitlementsClient, J as role, Jt as subjectMembershipSource, K as deny, Kt as memorySettingsSource, L as normalizeMembership, Lt as stripeEntitlementSource, M as RoleChangeOptions, Mt as whoCan, N as RoleChangeTarget, Nt as MemoryEdge, O as RoleChange, Ot as signPolicyDocument, P as RoleRules, Pt as MemoryRelationSourceData, Q as formerKeys, Qt as getResource, R as normalizeMemberships, Rt as claimsFirst, S as SINK_EVENT_SCHEMAS, Sn as context, St as SignSnapshotOptions, T as parseCloudEventBatch, Tt as snapshotClaims, U as supportAccess, Ut as memoryCustomRoleSource, V as activate, Vt as isExternallyManaged, W as normalizeApproval, Wt as memoryEntitlementSource, X as readable, Xt as opaque, Y as crud, Yt as sqlFunction, Z as writable, Zt as findPermission, _ as DECISION_EVENT_SCHEMA, _n as customRoleClaim, _t as ArazzoSimulateInput, a as catalogFingerprint, an as separationConflicts, at as customRoleSource, b as EVENT_SCHEMA_IDS, bn as validateCustomRole, bt as simulateArazzo, c as OCSF_VERSION, cn as fromSnapshot, ct as ShadowMismatch, d as accessToOcsf, dn as CustomRoleDropReason, dt as defineApp, en as listPermissions, et as definePermissions, f as toOcsf, fn as CustomRoleEntry, ft as AppOptions, g as CREDENTIAL_EVENT_SCHEMA, gn as ValidateCustomRoleOptions, gt as ArazzoPlan, h as CATALOG_EVENT_SCHEMA, hn as ResolvedCustomRole, ht as ArazzoFinding, i as canonicalJson, in as isRoleName, it as CustomRoleSourceOptions, j as RoleChangeDecision, jt as WhoCan, k as RoleChangeCheck, kt as Holder, l as OcsfAuthorizeSession, ln as parseSnapshot, lt as ShadowOptions, m as AUTOMATION_EVENT_SCHEMA, mn as CustomRoleValidation, mt as localSnapshotManifest, n as delegatedPermissions, nn as RoleNameOf, nt as snapshotFor, o as CSV_COLUMNS, on as requiresApproval, ot as mayAccess, p as ACCESS_EVENT_SCHEMA, pn as CustomRoleRename, pt as AppProfile, q as normalizeAssurance, qt as memorySnapshotSource, r as sha256Digest, rn as definePolicy, rt as CustomRoleReader, s as toCsvRow, sn as emptySnapshot, st as LegacyCheck, t as coveredByDelegation, tn as mergePermissions, tt as SnapshotForOptions, u as OcsfUserManagement, un as CustomRoleDrop, ut as shadowMode, v as DELIVERY_EVENT_SCHEMA, vn as parseCustomRoleEntry, vt as ArazzoStepResult, w as parseCloudEvent, wt as signSnapshot, x as MEMBERSHIP_EVENT_SCHEMA, xn as claim, xt as deliveryEvent, y as DIRECTORY_EVENT_SCHEMA, yn as resolveCustomRole, yt as arazzoFindings, z as resolveScope, zt as composeMemberships } from "./index-D7xGi1LS.js";
|
|
5
5
|
import { a as OperationInput, c as defineOperations, d as isOperationRisk, i as OperationEffect, l as OPERATION_RISKS, n as OperationData, o as OperationMap, r as OperationDefinition, s as OperationMeta, t as Operation, u as OperationRisk } from "./operations-Ci_rT6Uo.js";
|
|
6
|
-
import { a as ApprovalPolicyValidation, c as validateApprovalPolicy, i as ApprovalPolicySource, n as ApprovalPolicy, o as approvalPolicies, r as ApprovalPolicyProblem, s as memoryApprovalPolicySource, t as ApprovalPolicies } from "./approval-policies-
|
|
7
|
-
import { A as PermissionState, C as CustomRoleOwner, D as InstanceCacheStats, E as InstanceCacheOptions, O as instanceCache, S as memoryLimitStore, T as InstanceCacheKey, _ as PrincipalSource, a as PermDock, b as Limits, c as RowPair, d as UncheckedData, f as WhereResult, g as PrincipalIdentityLink, h as PrincipalIdentity, i as LoadedRows, k as PermissionCheck, l as SimulateOptions, m as getPermDockSync, n as DecideOptions, o as PermDockOptions, p as getPermDock, r as DeriveOptions, s as RowData, t as DecideIdsOptions, u as SnapshotOptions, v as memoryPrincipalSource, w as InstanceCache, x as limits, y as PermittedIdsOptions } from "./permdock-
|
|
8
|
-
import { d as memoryPolicySource, f as mergeHostedGrants, i as HostedGrantDropped, l as hostedPolicies, m as policyDocumentFromClaims, o as PolicyDocument, p as parsePolicyDocument, r as HostedGrantDropReason, s as PolicySource, t as HostedGrant, u as isPortableCondition } from "./hosted-
|
|
9
|
-
import { n as PermDockValidationError } from "./validation-error-
|
|
10
|
-
import { a as ProblemDetails, c as requiredPlans, i as PermDockRevokedError, n as PermDockApprovalRequiredError, o as RevokedCode, r as PermDockDeniedError } from "./errors-
|
|
11
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
6
|
+
import { a as ApprovalPolicyValidation, c as validateApprovalPolicy, i as ApprovalPolicySource, n as ApprovalPolicy, o as approvalPolicies, r as ApprovalPolicyProblem, s as memoryApprovalPolicySource, t as ApprovalPolicies } from "./approval-policies-CKlByf5o.js";
|
|
7
|
+
import { A as PermissionState, C as CustomRoleOwner, D as InstanceCacheStats, E as InstanceCacheOptions, O as instanceCache, S as memoryLimitStore, T as InstanceCacheKey, _ as PrincipalSource, a as PermDock, b as Limits, c as RowPair, d as UncheckedData, f as WhereResult, g as PrincipalIdentityLink, h as PrincipalIdentity, i as LoadedRows, k as PermissionCheck, l as SimulateOptions, m as getPermDockSync, n as DecideOptions, o as PermDockOptions, p as getPermDock, r as DeriveOptions, s as RowData, t as DecideIdsOptions, u as SnapshotOptions, v as memoryPrincipalSource, w as InstanceCache, x as limits, y as PermittedIdsOptions } from "./permdock-D4F2p5J8.js";
|
|
8
|
+
import { d as memoryPolicySource, f as mergeHostedGrants, i as HostedGrantDropped, l as hostedPolicies, m as policyDocumentFromClaims, o as PolicyDocument, p as parsePolicyDocument, r as HostedGrantDropReason, s as PolicySource, t as HostedGrant, u as isPortableCondition } from "./hosted-yhyAuQkL.js";
|
|
9
|
+
import { n as PermDockValidationError } from "./validation-error-DkOK9zUE.js";
|
|
10
|
+
import { a as ProblemDetails, c as requiredPlans, i as PermDockRevokedError, n as PermDockApprovalRequiredError, o as RevokedCode, r as PermDockDeniedError } from "./errors-OTE9u4Wk.js";
|
|
11
|
+
import { t as InstanceOptions } from "./instance-options-VPsNQsTH.js";
|
|
12
12
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
13
|
-
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-
|
|
13
|
+
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-CE5lxje7.js";
|
|
14
14
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
15
15
|
import { t as approvalFingerprint } from "./token-D6pWn8Uj.js";
|
|
16
16
|
import { i as memoryRevocationFeed, n as RevocationFeed, r as RevocationListener, t as RevocationEvent } from "./revocations-BaUXHM1N.js";
|
|
17
|
-
import { i as memoryVersionCache, n as VersionCache, r as VersionCacheStats, t as MemoryVersionCacheOptions } from "./version-cache-
|
|
17
|
+
import { i as memoryVersionCache, n as VersionCache, r as VersionCacheStats, t as MemoryVersionCacheOptions } from "./version-cache-q5cpaDSt.js";
|
|
18
18
|
import { t as ClientNames } from "./clients-C_NOET3z.js";
|
|
19
|
-
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-
|
|
20
|
-
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-
|
|
21
|
-
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-
|
|
22
|
-
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-
|
|
23
|
-
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-
|
|
19
|
+
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-v2xZB7us.js";
|
|
20
|
+
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-CpOk7Tlu.js";
|
|
21
|
+
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-RwmP7ZHs.js";
|
|
22
|
+
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-BjOLGVy1.js";
|
|
23
|
+
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-DibQM6g-.js";
|
|
24
24
|
import { n as parsePermDockDigest, t as PermDockDigest } from "./digest-8Yx2CchM.js";
|
|
25
|
-
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-
|
|
26
|
-
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, type AccessEvent, type ActionMeta, type ActivateInput, type ActivationOption, type Actor, type ActorKind, type AdapterId, type AnyOfApprover, type ApiKeyPrincipal, type AppData, type AppDataSchema, type AppObligation, type AppOptions, type AppProfile, type ApprovalCombine, type ApprovalEscalation, type ApprovalMode, type ApprovalOption, type ApprovalPolicies, type ApprovalPolicy, type ApprovalPolicyProblem, type ApprovalPolicySource, type ApprovalPolicyValidation, type ApprovalRequiredDecision, type ApprovalRequirement, type ApprovalStage, type Approver, type ApproverInput, type ArazzoFinding, type ArazzoPlan, type ArazzoSimulateInput, type ArazzoStepResult, type Assurance, type AssuranceRequirement, type AuthEvent, type AuthorizationDetail, type Automation, type AutomationDecision, type AutomationEvent, type AutomationMode, type AutomationRequest, type AutomationSource, type Binding, type BreakGlassOptions, type BreakGlassRequirements, type BreakGlassSpec, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, type Capability, type CapabilityClaim, type CapabilityConfirmation, type CapabilityInput, type CapabilityOptions, type CapabilityPrincipal, type CapabilityRedeemer, type CatalogEventData, type CatalogFinding, type CatalogFindingCode, type ClientNames, type ClosureContext, type ClosureGrantFn, type CloudEvent, type CloudEventOptions, type CloudEventType, type ComputedRelation, type Condition, type ConditionRef, type ConditionValue, type Credential, type CredentialDecision, type CredentialEvent, type CredentialKind, type CredentialPermission, type CredentialPermissionInput, type CredentialPolicy, type CredentialPolicyViolation, type CredentialRequest, type CredentialVerifier, type CustomRole, type CustomRoleContext, type CustomRoleDrop, type CustomRoleDropReason, type CustomRoleEntry, type CustomRoleGrant, type CustomRoleOwner, type CustomRoleReader, type CustomRoleRename, type CustomRoleSource, type CustomRoleSourceFactory, type CustomRoleSourceOptions, type CustomRoleValidation, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, type DecideAutomationOptions, type DecideCredentialOptions, type DecideIdsOptions, type DecideOptions, type DecideSupportSessionOptions, type Decision, type DecisionDescription, type DecisionEvent, type DecisionProvider, type DecisionSink, type Delegation, type DelegationInput, type DelegationTarget, type DeliveryChannel, type DeliveryEvent, type DeliveryFailureCause, type Denial, type DenialDetails, type DenialReason, type DeniedDecision, type DeriveOptions, type DescribeMessages, type DescribeOptions, type DirectoryEvent, EVENT_SCHEMA_IDS, type EdgeGroup, type EdgeGroups, type EdgeMatch, type EdgeRelation, type EmailCategory, type EntitlementSource, type ExplainedDecision, type FieldRelation, type GnapAccess, type Grant, type GrantCondition, type GrantLimit, type GrantMeta, type GrantOptions, type GrantScope, type GrantValidity, type GrantedDecision, type Grantee, type GranteeInput, type Holder, type HoldingVia, type HostedGrant, type HostedGrantDropReason, type HostedGrantDropped, type HostedGrantRef, type InheritGrantee, type InstanceCache, type InstanceCacheKey, type InstanceCacheOptions, type InstanceCacheStats, type InstanceOptions, type Intent, type JsonSchemaNode, type LegacyCheck, type LimitConsumeInput, type LimitDetail, type LimitRemaining, type LimitStore, type Limits, type LinkPolicy, type LinkPolicyViolation, type LoadedRows, type LocalCustomRoleTable, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotManifest, type LocalSnapshotRows, MEMBERSHIP_EVENT_SCHEMA, type ManagerApprover, type MatchedGrant, type MemberEntry, type MemberOfCondition, type MemberOfParent, type Membership, type MembershipEvent, type MembershipFixture, type MembershipSource, type MembershipVia, type MemoryAutomationSource, type MemoryDecisionSink, type MemoryDecisionSinkOptions, type MemoryEdge, type MemoryRelationSourceData, type MemoryVersionCacheOptions, type MetaValue, OCSF_VERSION, OPERATION_RISKS, type Obligation, type ObligationInput, type OcsfAuthorizeSession, type OcsfUserManagement, type Operation, type OperationData, type OperationDefinition, type OperationEffect, type OperationInput, type OperationMap, type OperationMeta, type OperationNameOf, type OperationRisk, type PERMISSION_ROW, type POLICY_SCOPES, type PermDock, PermDockApprovalRequiredError, PermDockDeniedError, type PermDockDigest, type PermDockOptions, type PermDockOverrides, PermDockRevokedError, PermDockValidationError, type PermDockWrap, type Permission, type PermissionApprover, type PermissionCheck, type PermissionKind, type PermissionOf, type PermissionState, type PermissionTree, type PermissionsOf, type PermissionsOptions, type PermittedIdsOptions, type Plan, type PlanNameOf, type PlanTree, type Policy, type PolicyAppDataSchemas, type PolicyDelegation, type PolicyDocument, type PolicyOAuthScope, type PolicyScopes, type PolicyScopesInput, type PolicySource, type Principal, type PrincipalIdentity, type PrincipalIdentityLink, type PrincipalOf, type PrincipalRelation, type PrincipalSource, type ProblemDetails, type Quota, RESERVED_CLOUD_EVENT_TYPES, type RESOURCE_NAME, type RESOURCE_X, type RelatedCondition, type RelatedHop, type RelationChain, type RelationGrantee, type RelationGroup, type RelationHolder, type RelationSource, type RequestContext, type ResolvedCustomRole, type ResourceInit, type ResourceLevel, type ResourceLink, type ResourceMeta, type ResourceNode, type ResourceOptions, type ResourceParent, type ResourceRelation, type ResourceRelationInput, type ResourceRestricted, type ResourceXTree, type RestrictedAncestors, type RevocationEvent, type RevocationFeed, type RevocationListener, type RevokedCode, type Role, type RoleBinding, type RoleChange, type RoleChangeCheck, type RoleChangeCheckInput, type RoleChangeDecision, type RoleChangeOptions, type RoleChangeTarget, type RoleMeta, type RoleNameOf, type RoleOptions, type RoleRules, type RoleScope, type RoleTree, type RowData, type RowOf, type RowPair, SINK_EVENT_SCHEMAS, type Scope, type ScopeDeclaration, type ScopeNameOf, type ScopeNames, type SeparationConflict, type SettingsSource, type ShadowMismatch, type ShadowOptions, type SharedCustomRole, type SignDecisionBatchOptions, type SignPolicyDocumentOptions, type SignSnapshotOptions, type SimulateOptions, type SinkEvent, type Snapshot, type SnapshotAssignable, type SnapshotClaims, type SnapshotForOptions, type SnapshotGrant, type SnapshotNotEntitled, type SnapshotOptions, type SnapshotScope, type SnapshotSource, type SourceCall, type SourceContext, type SourceMemo, type SqlFunctionArg, type SqlFunctionCondition, type StripeEntitlementsClient, type Subject, type SubjectOf, type SubjectResolver, type SupportAccessOptions, type SupportConsent, type SupportSession, type SupportSessionDecision, type SupportSessionPolicy, type SupportSessionRequest, type TenantSettings, type TokenFailureCause, type TokenSigner, type TokenVerifier, type Trace, type TraceSkip, type TraceSkipReason, type UncheckedData, type UserApprover, type ValidateCustomRoleOptions, type ValidateMode, type VerificationFailure, type VerifiedClaims, type VerifiedToken, type VersionCache, type VersionCacheStats, type VersionContext, type VersionQuery, type Vocabulary, type VocabularyOf, type VocabularyOptions, type WhereCompiler, type WhereResult, type WhoCan, type WireDecision, type WireDenial, type WireValidity, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
|
25
|
+
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-CE4tgFsj.js";
|
|
26
|
+
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, type AccessEvent, type ActionMeta, type ActivateInput, type ActivationOption, type Actor, type ActorKind, type AdapterId, type AnyOfApprover, type ApiKeyPrincipal, type AppData, type AppDataSchema, type AppObligation, type AppOptions, type AppProfile, type ApprovalCombine, type ApprovalEscalation, type ApprovalFallback, type ApprovalMode, type ApprovalOption, type ApprovalPolicies, type ApprovalPolicy, type ApprovalPolicyProblem, type ApprovalPolicySource, type ApprovalPolicyValidation, type ApprovalRequiredDecision, type ApprovalRequirement, type ApprovalStage, type Approver, type ApproverInput, type ArazzoFinding, type ArazzoPlan, type ArazzoSimulateInput, type ArazzoStepResult, type Assurance, type AssuranceRequirement, type AuthEvent, type AuthorizationDetail, type Automation, type AutomationDecision, type AutomationEvent, type AutomationMode, type AutomationRequest, type AutomationSource, type Binding, type BreakGlassOptions, type BreakGlassRequirements, type BreakGlassSpec, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, type Capability, type CapabilityClaim, type CapabilityConfirmation, type CapabilityInput, type CapabilityOptions, type CapabilityPrincipal, type CapabilityRedeemer, type CatalogEventData, type CatalogFinding, type CatalogFindingCode, type ClientNames, type ClosureContext, type ClosureGrantFn, type CloudEvent, type CloudEventOptions, type CloudEventType, type ComputedRelation, type Condition, type ConditionRef, type ConditionValue, type Credential, type CredentialDecision, type CredentialEvent, type CredentialKind, type CredentialPermission, type CredentialPermissionInput, type CredentialPolicy, type CredentialPolicyViolation, type CredentialRequest, type CredentialVerifier, type CustomRole, type CustomRoleContext, type CustomRoleDrop, type CustomRoleDropReason, type CustomRoleEntry, type CustomRoleGrant, type CustomRoleOwner, type CustomRoleReader, type CustomRoleRename, type CustomRoleSource, type CustomRoleSourceFactory, type CustomRoleSourceOptions, type CustomRoleValidation, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, type DecideAutomationOptions, type DecideCredentialOptions, type DecideIdsOptions, type DecideOptions, type DecideSupportSessionOptions, type Decision, type DecisionDescription, type DecisionEvent, type DecisionProvider, type DecisionSink, type Delegation, type DelegationInput, type DelegationTarget, type DeliveryChannel, type DeliveryEvent, type DeliveryFailureCause, type Denial, type DenialDetails, type DenialReason, type DeniedDecision, type DeriveOptions, type DescribeMessages, type DescribeOptions, type DirectoryEvent, EVENT_SCHEMA_IDS, type EdgeGroup, type EdgeGroups, type EdgeMatch, type EdgeRelation, type EmailCategory, type EntitlementSource, type ExplainedDecision, type FieldRelation, type GnapAccess, type Grant, type GrantCondition, type GrantLimit, type GrantMeta, type GrantOptions, type GrantScope, type GrantValidity, type GrantedDecision, type Grantee, type GranteeInput, type Holder, type HoldingVia, type HostedGrant, type HostedGrantDropReason, type HostedGrantDropped, type HostedGrantRef, type InheritGrantee, type InstanceCache, type InstanceCacheKey, type InstanceCacheOptions, type InstanceCacheStats, type InstanceOptions, type Intent, type JsonSchemaNode, type LegacyCheck, type LimitConsumeInput, type LimitDetail, type LimitRemaining, type LimitStore, type Limits, type LinkPolicy, type LinkPolicyViolation, type LoadedRows, type LocalCustomRoleTable, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotManifest, type LocalSnapshotRows, MEMBERSHIP_EVENT_SCHEMA, type ManagerApprover, type MatchedGrant, type MemberEntry, type MemberOfCondition, type MemberOfParent, type Membership, type MembershipEvent, type MembershipFixture, type MembershipSource, type MembershipVia, type MemoryAutomationSource, type MemoryDecisionSink, type MemoryDecisionSinkOptions, type MemoryEdge, type MemoryRelationSourceData, type MemoryVersionCacheOptions, type MetaValue, OCSF_VERSION, OPERATION_RISKS, type Obligation, type ObligationInput, type OcsfAuthorizeSession, type OcsfUserManagement, type Operation, type OperationData, type OperationDefinition, type OperationEffect, type OperationInput, type OperationMap, type OperationMeta, type OperationNameOf, type OperationRisk, type PERMISSION_ROW, type POLICY_SCOPES, type PermDock, PermDockApprovalRequiredError, PermDockDeniedError, type PermDockDigest, type PermDockOptions, type PermDockOverrides, PermDockRevokedError, PermDockValidationError, type PermDockWrap, type Permission, type PermissionApprover, type PermissionCheck, type PermissionKind, type PermissionOf, type PermissionState, type PermissionTree, type PermissionsOf, type PermissionsOptions, type PermittedIdsOptions, type Plan, type PlanNameOf, type PlanTree, type Policy, type PolicyAppDataSchemas, type PolicyDelegation, type PolicyDocument, type PolicyOAuthScope, type PolicyScopes, type PolicyScopesInput, type PolicySource, type Principal, type PrincipalIdentity, type PrincipalIdentityLink, type PrincipalOf, type PrincipalRelation, type PrincipalSource, type ProblemDetails, type Quota, RESERVED_CLOUD_EVENT_TYPES, type RESOURCE_NAME, type RESOURCE_X, type RelatedCondition, type RelatedHop, type RelationChain, type RelationGrantee, type RelationGroup, type RelationHolder, type RelationSource, type RequestContext, type ResolvedCustomRole, type ResourceInit, type ResourceLevel, type ResourceLink, type ResourceMeta, type ResourceNode, type ResourceOptions, type ResourceParent, type ResourceRelation, type ResourceRelationInput, type ResourceRestricted, type ResourceXTree, type RestrictedAncestors, type RevocationEvent, type RevocationFeed, type RevocationListener, type RevokedCode, type Role, type RoleBinding, type RoleChange, type RoleChangeCheck, type RoleChangeCheckInput, type RoleChangeDecision, type RoleChangeOptions, type RoleChangeTarget, type RoleMeta, type RoleNameOf, type RoleOptions, type RoleRules, type RoleScope, type RoleTree, type RowData, type RowOf, type RowPair, SINK_EVENT_SCHEMAS, type Scope, type ScopeDeclaration, type ScopeNameOf, type ScopeNames, type SeparationConflict, type SettingsSource, type ShadowMismatch, type ShadowOptions, type SharedCustomRole, type SignDecisionBatchOptions, type SignPolicyDocumentOptions, type SignSnapshotOptions, type SimulateOptions, type SinkEvent, type Snapshot, type SnapshotAssignable, type SnapshotClaims, type SnapshotForOptions, type SnapshotGrant, type SnapshotNotEntitled, type SnapshotOptions, type SnapshotScope, type SnapshotSource, type SnapshotTenants, type SourceCall, type SourceContext, type SourceMemo, type SqlFunctionArg, type SqlFunctionCondition, type StripeEntitlementsClient, type Subject, type SubjectOf, type SubjectResolver, type SupportAccessOptions, type SupportConsent, type SupportSession, type SupportSessionDecision, type SupportSessionPolicy, type SupportSessionRequest, type TenantSettings, type TokenFailureCause, type TokenSigner, type TokenVerifier, type Trace, type TraceSkip, type TraceSkipReason, type UncheckedData, type UserApprover, type ValidateCustomRoleOptions, type ValidateMode, type VerificationFailure, type VerifiedClaims, type VerifiedToken, type VersionCache, type VersionCacheStats, type VersionContext, type VersionQuery, type Vocabulary, type VocabularyOf, type VocabularyOptions, type WhereCompiler, type WhereResult, type WhoCan, type WireDecision, type WireDenial, type WireValidity, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, subjectMembershipSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as isConditionDate, i as principal, l as isConditionRef, n as context, o as hasConditionOp, s as isCondition, t as claim, u as isSqlFunctionField } from "./refs-C8BKxc_e.js";
|
|
2
|
-
import { a as deny,
|
|
3
|
-
import { A as memoryCustomRoleSource, C as limits, E as approvalPolicies, F as sqlFunction, M as memoryMembershipSource, N as memorySettingsSource, O as memoryApprovalPolicySource, P as memorySnapshotSource, S as memoryRelationSource, T as stripeEntitlementSource, _ as arazzoFindings, a as normalizeMembership, b as instanceCache, c as crud, d as snapshotFor, f as customRoleSource, g as localSnapshotManifest, h as defineApp, i as decideRoleChange, j as memoryEntitlementSource, k as validateApprovalPolicy, l as readable, m as shadowMode, n as toCsvRow, o as normalizeMemberships, p as mayAccess, r as checkRoleChange, s as resolveScope, t as CSV_COLUMNS, u as writable, v as simulateArazzo, w as memoryLimitStore, x as signPolicyDocument, y as memoryVersionCache } from "./src-
|
|
2
|
+
import { a as deny, m as opaque, n as role, r as allow, t as normalizeAssurance } from "./role-builder-C5AgaC1x.js";
|
|
3
|
+
import { A as memoryCustomRoleSource, C as limits, E as approvalPolicies, F as subjectMembershipSource, I as sqlFunction, M as memoryMembershipSource, N as memorySettingsSource, O as memoryApprovalPolicySource, P as memorySnapshotSource, S as memoryRelationSource, T as stripeEntitlementSource, _ as arazzoFindings, a as normalizeMembership, b as instanceCache, c as crud, d as snapshotFor, f as customRoleSource, g as localSnapshotManifest, h as defineApp, i as decideRoleChange, j as memoryEntitlementSource, k as validateApprovalPolicy, l as readable, m as shadowMode, n as toCsvRow, o as normalizeMemberships, p as mayAccess, r as checkRoleChange, s as resolveScope, t as CSV_COLUMNS, u as writable, v as simulateArazzo, w as memoryLimitStore, x as signPolicyDocument, y as memoryVersionCache } from "./src-B8SQNsvw.js";
|
|
4
4
|
import { d as manager, f as user, n as anyOf, o as holder, t as allOf } from "./approvers-BaNwKYgd.js";
|
|
5
5
|
import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
|
|
6
6
|
import { r as requiredPlans } from "./problem-details-CLDgX1KV.js";
|
|
7
7
|
import { n as describe } from "./describe-BZAlPHxT.js";
|
|
8
8
|
import { r as parsePermDockDigest } from "./digest-BI-6aa6d.js";
|
|
9
|
-
import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockApprovalRequiredError } from "./errors-
|
|
9
|
+
import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockApprovalRequiredError } from "./errors-ynga1EQy.js";
|
|
10
10
|
import { t as memoryRevocationFeed } from "./revocations-Bhr0aMIC.js";
|
|
11
11
|
import { r as memoryPrincipalSource } from "./principal-source-C6N60GtM.js";
|
|
12
12
|
import { a as getResource, c as listPermissions, h as formerKeys, l as mergePermissions, n as findPermission, o as isPermission, v as resource } from "./permission-registry-B8tYxPIt.js";
|
|
@@ -16,22 +16,22 @@ import { r as sha256Digest } from "./sha256-C-4WXKIu.js";
|
|
|
16
16
|
import { n as parseSupportSession, t as decideSupportSession } from "./support-session-BsmPCbz8.js";
|
|
17
17
|
import { i as delegatedPermissions, n as coveredByDelegation } from "./delegation-aK4T_5WU.js";
|
|
18
18
|
import { _ as listPlans, a as authenticated, c as plan, f as definePlans, g as isRole, h as isPlan, i as assurance, l as relation, m as findRole, n as anyone, p as defineRoles, s as inherit, t as actor, v as listRoles } from "./grantee-Dke-9rd1.js";
|
|
19
|
-
import { a as normalizeApproval } from "./approval-normalize-
|
|
20
|
-
import { o as isRoleName, r as definePolicy, u as separationConflicts } from "./policy-
|
|
19
|
+
import { a as normalizeApproval } from "./approval-normalize-hlfO9BJv.js";
|
|
20
|
+
import { o as isRoleName, r as definePolicy, u as separationConflicts } from "./policy-CaAME-Rh.js";
|
|
21
21
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
22
|
-
import { a as hostedPolicies, c as mergeHostedGrants, l as parsePolicyDocument, o as isPortableCondition, s as memoryPolicySource, u as policyDocumentFromClaims } from "./hosted-
|
|
22
|
+
import { a as hostedPolicies, c as mergeHostedGrants, l as parsePolicyDocument, o as isPortableCondition, s as memoryPolicySource, u as policyDocumentFromClaims } from "./hosted-C2Pmhy2x.js";
|
|
23
23
|
import { n as isOperationRisk, t as OPERATION_RISKS } from "./operation-risks-BKOcTv8J.js";
|
|
24
24
|
import { t as defineOperations } from "./operations-Bm9HFecz.js";
|
|
25
|
-
import { A as breakGlass, F as APPROVAL_POLICY_UNAVAILABLE, T as validateCustomRole, b as parseCustomRoleEntry, d as customRoleClaim, j as supportAccess, k as activate, x as resolveCustomRole } from "./evaluate-
|
|
26
|
-
import { _ as claimsFirst, b as isExternallyManaged, v as composeMemberships, y as countHolders } from "./instance-snapshot-
|
|
25
|
+
import { A as breakGlass, F as APPROVAL_POLICY_UNAVAILABLE, T as validateCustomRole, b as parseCustomRoleEntry, d as customRoleClaim, j as supportAccess, k as activate, x as resolveCustomRole } from "./evaluate-Dcq_U2TV.js";
|
|
26
|
+
import { _ as claimsFirst, b as isExternallyManaged, v as composeMemberships, y as countHolders } from "./instance-snapshot-SX8zH_1t.js";
|
|
27
27
|
import { t as approvalFingerprint } from "./token-DaMnIU9O.js";
|
|
28
|
-
import { t as whoCan } from "./who-can-
|
|
29
|
-
import { n as parseSnapshot } from "./snapshot-
|
|
30
|
-
import { l as snapshotClaims, s as signSnapshot, u as snapshotFromClaims } from "./where-scope-
|
|
28
|
+
import { t as whoCan } from "./who-can-CZeAwQZD.js";
|
|
29
|
+
import { n as parseSnapshot } from "./snapshot-DHPih65J.js";
|
|
30
|
+
import { l as snapshotClaims, s as signSnapshot, u as snapshotFromClaims } from "./where-scope-BAyOsPQW.js";
|
|
31
31
|
import { t as deliveryEvent } from "./delivery-event-JioK5YbS.js";
|
|
32
|
-
import { n as fromSnapshot, t as emptySnapshot } from "./from-snapshot-
|
|
33
|
-
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-
|
|
34
|
-
import { n as getPermDockSync, t as getPermDock } from "./permdock-
|
|
32
|
+
import { n as fromSnapshot, t as emptySnapshot } from "./from-snapshot-DHnb8Fh4.js";
|
|
33
|
+
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-Ce2N-Opr.js";
|
|
34
|
+
import { n as getPermDockSync, t as getPermDock } from "./permdock-C1DN_7a-.js";
|
|
35
35
|
import { n as wrapPermDock } from "./wrap-C5PWzgkq.js";
|
|
36
36
|
import { t as definePermissions } from "./permissions-BaoLxy66.js";
|
|
37
37
|
import { C as EVENT_SCHEMA_IDS, S as DIRECTORY_EVENT_SCHEMA, T as SINK_EVENT_SCHEMAS, _ as AUTOMATION_EVENT_SCHEMA, a as accessEvent, b as DECISION_EVENT_SCHEMA, c as credentialEvent, d as membershipEvent, f as memoryDecisionSink, g as ACCESS_EVENT_SCHEMA, h as toCloudEvent, i as RESERVED_CLOUD_EVENT_TYPES, m as supportSessionEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as automationEvent, p as signDecisionBatch, r as CLOUD_EVENT_TYPES, s as cloudEventType, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, v as CATALOG_EVENT_SCHEMA, w as MEMBERSHIP_EVENT_SCHEMA, x as DELIVERY_EVENT_SCHEMA, y as CREDENTIAL_EVENT_SCHEMA } from "./sink-D9_vh372.js";
|
|
@@ -39,4 +39,4 @@ import { a as parseSinkEvent, i as parseCloudEventBatch, n as parseCatalogEventD
|
|
|
39
39
|
import { i as toOcsf, n as accessToOcsf, t as OCSF_VERSION } from "./ocsf-TcjRBgIs.js";
|
|
40
40
|
import { a as parseCapability, c as signCapability, i as linkPolicyViolation, o as parseCapabilityClaim, t as capabilityFromClaims } from "./capability-zN6T9fxe.js";
|
|
41
41
|
import { a as decideCredential, n as credentialPolicyViolation, o as isFeedId, s as parseCredential, t as credentialDelegation } from "./credential-B3Hj4puZ.js";
|
|
42
|
-
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, EVENT_SCHEMA_IDS, MEMBERSHIP_EVENT_SCHEMA, OCSF_VERSION, OPERATION_RISKS, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, RESERVED_CLOUD_EVENT_TYPES, SINK_EVENT_SCHEMAS, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
|
42
|
+
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, EVENT_SCHEMA_IDS, MEMBERSHIP_EVENT_SCHEMA, OCSF_VERSION, OPERATION_RISKS, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, RESERVED_CLOUD_EVENT_TYPES, SINK_EVENT_SCHEMAS, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, subjectMembershipSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as decodePreset, g as resolvePreset, i as presetFlags, n as generatePreset, o as encodePreset } from "./preset-pPrVyGU5.js";
|
|
3
|
-
import { a as nonEmptyOr } from "./output-
|
|
3
|
+
import { a as nonEmptyOr } from "./output-DZQCr2lP.js";
|
|
4
4
|
import { t as addLine } from "./peer-BuK9F53f.js";
|
|
5
5
|
import { t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
@@ -48,7 +48,7 @@ const init = defineLeaf({
|
|
|
48
48
|
...forceFlag
|
|
49
49
|
},
|
|
50
50
|
async run(ctx, { flags }) {
|
|
51
|
-
const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-
|
|
51
|
+
const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-C-cgOvCl.js"), import("./peer-n-swIV4H.js")]);
|
|
52
52
|
const agent = await packageManagerOf(ctx.cwd);
|
|
53
53
|
const selection = {
|
|
54
54
|
archetype: flags.archetype,
|
|
@@ -79,7 +79,7 @@ const presetDecode = defineLeaf({
|
|
|
79
79
|
positionals: presetCode,
|
|
80
80
|
flags: {},
|
|
81
81
|
async run(_ctx, { args }) {
|
|
82
|
-
const { runPreset } = await import("./init-
|
|
82
|
+
const { runPreset } = await import("./init-C-cgOvCl.js");
|
|
83
83
|
return runPreset("decode", args["code"] ?? "");
|
|
84
84
|
}
|
|
85
85
|
});
|
|
@@ -87,7 +87,7 @@ const presetUrl = defineLeaf({
|
|
|
87
87
|
positionals: presetCode,
|
|
88
88
|
flags: {},
|
|
89
89
|
async run(_ctx, { args }) {
|
|
90
|
-
const { runPreset } = await import("./init-
|
|
90
|
+
const { runPreset } = await import("./init-C-cgOvCl.js");
|
|
91
91
|
return runPreset("url", args["code"] ?? "");
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as PermDockOptions } from "./permdock-
|
|
1
|
+
import { o as PermDockOptions } from "./permdock-D4F2p5J8.js";
|
|
2
2
|
//#region src/core/instance-options.d.ts
|
|
3
3
|
type InstanceKey = "memberships" | "relations" | "entitlements" | "customRoles" | "policies" | "approvalPolicies" | "sink" | "limits" | "principals" | "instances";
|
|
4
4
|
/**
|
|
@@ -12,10 +12,10 @@ import { a as readOnlyActorRefuses, i as delegatedPermissions, r as coversRequir
|
|
|
12
12
|
import { b as synthesiseRole, m as findRole, o as flattenGrantee, v as listRoles, x as treeXSchema, y as sourceRoleMeta } from "./grantee-Dke-9rd1.js";
|
|
13
13
|
import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
14
14
|
import { c as nowSeconds$1, d as resolveActiveTenant, l as partitionsOf, p as scopeField, r as isMembershipExpired } from "./tenancy-DvOHHk3-.js";
|
|
15
|
-
import { c as levelNames, i as grantList, n as declaredRoleNames, s as levelCondition, t as coveredLevels } from "./policy-
|
|
16
|
-
import { C as tenantCustomRoles, D as emptyListeners, M as contactMayUse, S as roleAllowKeys, _ as isSharedCustomRole, a as expandRoleNames, g as holdsGlobalCustomRole, h as holdsCustomRole, l as ceilingGrants, m as customRoleScope, n as requirementCondition, p as customRoleOf, t as evaluate, u as customGrantsFor, x as resolveCustomRole } from "./evaluate-
|
|
15
|
+
import { c as levelNames, i as grantList, n as declaredRoleNames, s as levelCondition, t as coveredLevels } from "./policy-CaAME-Rh.js";
|
|
16
|
+
import { C as tenantCustomRoles, D as emptyListeners, M as contactMayUse, S as roleAllowKeys, _ as isSharedCustomRole, a as expandRoleNames, g as holdsGlobalCustomRole, h as holdsCustomRole, l as ceilingGrants, m as customRoleScope, n as requirementCondition, p as customRoleOf, t as evaluate, u as customGrantsFor, x as resolveCustomRole } from "./evaluate-Dcq_U2TV.js";
|
|
17
17
|
import { n as matchGrantee, t as combineWhere } from "./grantee-match-BP-k4vRJ.js";
|
|
18
|
-
import { t as buildSnapshot } from "./snapshot-
|
|
18
|
+
import { t as buildSnapshot } from "./snapshot-DHPih65J.js";
|
|
19
19
|
//#region src/core/memberships.ts
|
|
20
20
|
/** Two memberships are the same row when everything but `roles` matches. */
|
|
21
21
|
function identity(membership) {
|
package/dist/jwt/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-
|
|
3
|
-
import { B as JwtAlgorithm, F as DpopProofResult, H as JwtPrincipal, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifierOptions, U as JwtSubjectOptions, V as JwtJwks, W as MappedSubject, l as ReplayStore, z as JsonWebKeySet } from "../types-
|
|
4
|
-
import { t as memoryReplayStore } from "../replay-
|
|
1
|
+
import { $ as JwtClaims, _t as TokenSigner, bt as VerifiedToken, gt as TokenFailureCause, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
+
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-v2xZB7us.js";
|
|
3
|
+
import { B as JwtAlgorithm, F as DpopProofResult, H as JwtPrincipal, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifierOptions, U as JwtSubjectOptions, V as JwtJwks, W as MappedSubject, l as ReplayStore, z as JsonWebKeySet } from "../types-DBVSljAx.js";
|
|
4
|
+
import { t as memoryReplayStore } from "../replay-DYXI4gRN.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
//#region src/jwt/capability.d.ts
|
|
7
7
|
/**
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { i as stepUpOf } from "./problem-details-CLDgX1KV.js";
|
|
3
3
|
import { n as describe } from "./describe-BZAlPHxT.js";
|
|
4
|
-
import { a as deniedMessage } from "./errors-
|
|
4
|
+
import { a as deniedMessage } from "./errors-ynga1EQy.js";
|
|
5
5
|
import { t as actorMayCallTool } from "./delegation-aK4T_5WU.js";
|
|
6
6
|
import { c as nowSeconds, r as isMembershipExpired } from "./tenancy-DvOHHk3-.js";
|
|
7
|
-
import { k as activate } from "./evaluate-
|
|
7
|
+
import { k as activate } from "./evaluate-Dcq_U2TV.js";
|
|
8
8
|
import { n as resourceRef } from "./resource-ref-CaS9yVPi.js";
|
|
9
|
-
import { n as delegationAllows } from "./where-scope-
|
|
10
|
-
import { l as withApp } from "./permdock-
|
|
11
|
-
import { l as storedApprovalToken, s as resumeDecision } from "./helpers-
|
|
12
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
9
|
+
import { n as delegationAllows } from "./where-scope-BAyOsPQW.js";
|
|
10
|
+
import { l as withApp } from "./permdock-C1DN_7a-.js";
|
|
11
|
+
import { l as storedApprovalToken, s as resumeDecision } from "./helpers-D-MXwkOF.js";
|
|
12
|
+
import { n as resolveOrNull } from "./build-instance-DaBdCRiz.js";
|
|
13
13
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-OHikyRqV.js";
|
|
14
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
14
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-BPTi68z5.js";
|
|
15
15
|
//#region src/agent/denied-text.ts
|
|
16
16
|
/**
|
|
17
17
|
* The hook's text, or `event.text` when there is no hook or it throws or
|
package/dist/kysely/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as WhereResult } from "../permdock-
|
|
1
|
+
import { Er as Condition, qt as Instant, xr as Subject } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
+
import { f as WhereResult } from "../permdock-D4F2p5J8.js";
|
|
3
3
|
import { r as RelationsMapping } from "../graph-sql-BwFC4Qjs.js";
|
|
4
|
-
import { s as MembershipsMapping } from "../compile-
|
|
4
|
+
import { s as MembershipsMapping } from "../compile-DZftFfXc.js";
|
|
5
5
|
import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-vNW8qmUH.js";
|
|
6
6
|
//#region src/kysely/types.d.ts
|
|
7
7
|
type KyselySelectQuery = {
|
|
@@ -27,7 +27,7 @@ const login = defineLeaf({
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
async run(ctx, { flags }) {
|
|
30
|
-
const { runLogin } = await import("./login-
|
|
30
|
+
const { runLogin } = await import("./login-Cgix5FgG.js");
|
|
31
31
|
return runLogin({
|
|
32
32
|
cwd: ctx.cwd,
|
|
33
33
|
url: given(flags.url),
|
|
@@ -43,7 +43,7 @@ const login = defineLeaf({
|
|
|
43
43
|
const logout = defineLeaf({
|
|
44
44
|
flags: { ...urlFlag },
|
|
45
45
|
async run(ctx, { flags }) {
|
|
46
|
-
const { runLogout } = await import("./login-
|
|
46
|
+
const { runLogout } = await import("./login-Cgix5FgG.js");
|
|
47
47
|
return runLogout({
|
|
48
48
|
url: given(flags.url),
|
|
49
49
|
json: ctx.json,
|
|
@@ -55,7 +55,7 @@ const logout = defineLeaf({
|
|
|
55
55
|
const whoami = defineLeaf({
|
|
56
56
|
flags: { ...urlFlag },
|
|
57
57
|
async run(ctx, { flags }) {
|
|
58
|
-
const { runWhoami } = await import("./login-
|
|
58
|
+
const { runWhoami } = await import("./login-Cgix5FgG.js");
|
|
59
59
|
return runWhoami({
|
|
60
60
|
url: given(flags.url),
|
|
61
61
|
json: ctx.json,
|
|
@@ -3,7 +3,7 @@ import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
|
3
3
|
import { i as postForm, r as parseToken, s as runDeviceFlow } from "./device-BwbJNmb2.js";
|
|
4
4
|
import { i as writeCredentials, n as deleteCredentials, r as readCredentials, t as credentialsPath } from "./storage-C2bWdvJH.js";
|
|
5
5
|
import { n as randomToken, t as pkce } from "./pkce-CnmmYqUZ.js";
|
|
6
|
-
import { a as nonEmptyOr } from "./output-
|
|
6
|
+
import { a as nonEmptyOr } from "./output-DZQCr2lP.js";
|
|
7
7
|
import { n as httpRequest } from "./http-DhMWeB_h.js";
|
|
8
8
|
import { c as READ_SCOPES, d as issuerMetadata, i as credentialsInsideRepository, l as cloudUrl, n as cliRuntime, r as credentialStorage, s as CLI_CLIENT_ID, t as CREDENTIAL_SERVICE } from "./auth-j3Eu-j4h.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|