permdock 0.18.1 → 0.19.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-C_VQ-J2f.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-CYqdqAob.d.ts} +1 -1
- package/dist/{approval-prompt-Bg7gDSqd.d.ts → approval-prompt-BxYbwOAU.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-4vfaXj0U.js} +2 -2
- package/dist/{arazzo-CEDbb-uM.js → arazzo-Dc969CA2.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +2 -2
- package/dist/{audience-B4YR9UpV.js → audience-GCXRRAeZ.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-BJiJT_Xr.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-B4pMH9bm.js → bind-BnKPWRrE.js} +4 -4
- package/dist/{bind-DR6ku3A9.d.ts → bind-SpRxR213.d.ts} +7 -7
- package/dist/{body-CJQwYVa8.js → body-C9JbIoqb.js} +1 -1
- package/dist/{build-instance-BFMFQdE_.js → build-instance-DrIbZVnm.js} +1 -1
- package/dist/{capability-BZ_veK9o.d.ts → capability-Ci2S8Cdu.d.ts} +1 -1
- package/dist/{casbin-bKC1FpEx.js → casbin-C1TQqWkK.js} +1 -1
- package/dist/{casbin-DCQHkkyj.js → casbin-ChbpgfNR.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-D57I5G1k.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-Dgj4FiEG.js} +2 -2
- package/dist/{codemod-C-L0w-u7.js → codemod-DN_fBt43.js} +2 -2
- package/dist/{codemod-eYI1FbeJ.js → codemod-WWxwgM77.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-RaRUQhmD.d.ts} +2 -2
- package/dist/{completion-Dauc6pVT.js → completion-DnmUvCw0.js} +1 -1
- package/dist/{config-DWp2PucY.js → config-CmuEoob8.js} +1 -1
- package/dist/{config-COHmivz9.js → config-D2oXUwos.js} +8 -5
- package/dist/{config-report-DKpFm5ID.js → config-report-BVm8Dhbj.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-DNRWXyj4.d.ts} +2 -2
- package/dist/{core-B8sLve3z.js → core-ZIWZBi6-.js} +5 -5
- package/dist/{create-BzwjZuRS.d.ts → create-0B_bjJc-.d.ts} +7 -7
- package/dist/{create-BrQXL-Wt.d.ts → create-BECB6fns.d.ts} +6 -6
- package/dist/{create-C-tm3KIF.js → create-CAZyXZFC.js} +4 -4
- package/dist/{create-3A7J9KRR.js → create-CegYmYHu.js} +69 -29
- package/dist/{create-CtoT1lIQ.d.ts → create-DJ_5REgN.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-CF-2h8Vz.d.ts} +1 -1
- package/dist/{describe-BKtC_8PG.d.ts → describe-DyN-HX6o.d.ts} +1 -1
- package/dist/{diff-BnNHqtHj.js → diff-BOU7sSnv.js} +4 -4
- package/dist/{diff-CBCzOTWM.js → diff-BrmvcPXk.js} +1 -1
- package/dist/{doctor-CkYKCuX7.js → doctor-BhhNMkU8.js} +242 -65
- package/dist/{doctor-xUpR5rXg.js → doctor-CL1OigyD.js} +15 -5
- 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-POWcCXy7.d.ts} +1 -1
- package/dist/{errors-B6R_lg2a.js → errors-ynga1EQy.js} +1 -1
- package/dist/{evaluate-Czbj7thS.js → evaluate-CrKkjgXS.js} +2 -2
- package/dist/{evaluations-CisTTURl.d.ts → evaluations--rkKhMqY.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-DH-NJPbL.js → fetch-adapter-Bm1iZolz.js} +3 -3
- package/dist/{fetch-adapter-BdmfnbJM.d.ts → fetch-adapter-Bq4AB3W2.d.ts} +2 -2
- 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-mf-MRwVr.js → gen-D0NqzeOP.js} +2 -2
- package/dist/{gen-BEIN-DRM.js → gen-DonXr9Hg.js} +1 -1
- 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-BFNXwcjd.d.ts → hosted-H1xp5Dfw.d.ts} +1 -1
- package/dist/{hosted-waouw2V-.js → hosted-iOGBI_ER.js} +4 -3
- package/dist/{import-C1XXpG_m.js → import-C8ffNykt.js} +2 -2
- package/dist/{import-DObwEota.js → import-DNaFHm53.js} +1 -1
- package/dist/{index-CVGio3cH.d.ts → index-B9-ZXNa-.d.ts} +4 -4
- package/dist/{index-BhnOOnp9.d.ts → index-C2pmTzFx.d.ts} +2 -2
- package/dist/{index-Dfv9Toct.d.ts → index-C5Tfpjex.d.ts} +1 -1
- package/dist/{index-CdUTE6qd.d.ts → index-Cm6mHTZ-.d.ts} +16 -10
- package/dist/{index-rFp6X_QP.d.ts → index-DLlWORcK.d.ts} +5 -5
- package/dist/{index-CdMOd-GY.d.ts → index-DZnpRB0q.d.ts} +24 -6
- package/dist/index.d.ts +17 -17
- package/dist/index.js +15 -15
- package/dist/{init-DS3PEsCG.js → init-4aRjat-S.js} +3 -3
- package/dist/{init-CNJ8lLjo.js → init-QfBfkrGu.js} +1 -1
- package/dist/{instance-options-2sFGSdsf.d.ts → instance-options-D6hyIKJF.d.ts} +1 -1
- package/dist/{instance-snapshot-BWa71my8.js → instance-snapshot-DXxcizAb.js} +3 -3
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-30Z2zM_d.js → kernel-B2UCK36Z.js} +7 -7
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-DUVzBLh7.js → login-Cg1la2yJ.js} +3 -3
- package/dist/{login-BgK5Jloo.js → login-lPtJIjbO.js} +1 -1
- package/dist/{manifest-wclLWBVH.js → manifest-CDhdXgf6.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-C4gFqeRz.js → openapi-C3BIVLTd.js} +2 -2
- package/dist/{openapi-zMEB9qxn.js → openapi-Cr0B3p2h.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-DYq_o2dM.js} +1 -1
- package/dist/{ownership-D-mIt-w0.js → ownership-CrmMERZv.js} +1 -1
- package/dist/{parse-UTC-sDrt.js → parse-CXTT7hBq.js} +1 -1
- package/dist/{parse-local-manifest-DvjTQNuO.d.ts → parse-local-manifest-CQjRmzrw.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-ffY4CMd9.d.ts → permdock-B45vPQb4.d.ts} +4 -4
- package/dist/{permdock-D-_WrdKu.js → permdock-DeOfonuG.js} +6 -6
- package/dist/{permissions-B3ggI88M.js → permissions-Rk9_Gm04.js} +1 -1
- package/dist/{policy-cV_wwPb8.js → policy-DTmkP72P.js} +2 -2
- package/dist/{policy-from-catalog-B68hGC0S.js → policy-from-catalog-Cljh_B5H.js} +6 -6
- package/dist/{policy-BtKSApSt.d.ts → policy-re2Oag8s.d.ts} +1 -1
- package/dist/{policy-types-D-GwfQTc.d.ts → policy-types-Ky7P23CP.d.ts} +24 -2
- package/dist/{postgrest-D84p5dbA.d.ts → postgrest-pwxeaeOW.d.ts} +1 -1
- package/dist/powersync-B96MUB_Q.js +1 -0
- package/dist/{powersync-9PYOE1wt.js → powersync-BoqBik-G.js} +77 -38
- package/dist/{powersync-DStC_g0B.js → powersync-PKC4yT62.js} +2 -2
- 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-DHPqBLhz.d.ts} +5 -5
- package/dist/{provider-OtnIiFWm.d.ts → provider-C-CbGEii.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-BjdsS9x1.js +1 -0
- package/dist/{pull-DLP4I1Kl.js → pull-FG0Tf8aF.js} +3 -3
- package/dist/{push-BSb8j1EW.js → push-CI5G7lRS.js} +3 -3
- package/dist/{pushed-policy-Ck3FZcoy.d.ts → pushed-policy-B94r9DlN.d.ts} +1 -1
- package/dist/{pushed-policy-BecMsTtM.js → pushed-policy-DftSiyD3.js} +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-BqmXcP7x.d.ts} +1 -1
- package/dist/{request-context-DM6_jY1n.js → request-context-uvaevbBu.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-Dg8560iu.js} +2 -2
- package/dist/{rls-DGBL-jDY.js → rls-CJbWbxXv.js} +19 -13
- package/dist/{rls-pAHGYgTb.js → rls-DJSczevJ.js} +1 -1
- package/dist/{role-builder-CMW4wWzn.js → role-builder-C_2kWB_x.js} +1 -1
- package/dist/rpc-D7cDHIVE.d.ts +22 -0
- package/dist/{rpc-KwX_Jcxz.js → rpc-m5hPklf-.js} +16 -6
- package/dist/run-4m-TyVTD.js +1 -0
- package/dist/{run-B7lv3NuK.js → run-BigMDvGR.js} +3 -3
- package/dist/{run-ticket-DPaD27_r.d.ts → run-ticket-DRA3POCY.d.ts} +2 -2
- package/dist/{saas-B8H1MsQ3.js → saas-BHeoBqbW.js} +4 -4
- package/dist/{scan-0r3OZqqK.js → scan-BKLwCSVV.js} +1 -1
- package/dist/{schema-CuX70xgH.js → schema-BlnU_TzE.js} +4 -0
- package/dist/{schema-B_9tXrbG.js → schema-CLuBlCCr.js} +1 -1
- 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-CwpJe664.d.ts} +31 -13
- package/dist/{sink-ogbVkyeo.d.ts → sink-7Lrch8dn.d.ts} +2 -2
- package/dist/{skills-B4MPRxQd.js → skills-CyD_3eoi.js} +1 -1
- package/dist/{skills-C9sTD70r.js → skills-D42EyC8G.js} +1 -1
- package/dist/{snapshot-DN_8J27z.js → snapshot-DHPih65J.js} +2 -1
- package/dist/{snapshot-cache-B4YvlGG_.d.ts → snapshot-cache-B9weL8NE.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-4d3fl7cq.d.ts} +1 -1
- package/dist/{src-Brzq_0in.js → src-HDDf9Eum.js} +28 -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-BGi8pUwo.d.ts} +2 -2
- package/dist/{store-DmVqy74I.js → store-CSOsXd5s.js} +8 -6
- package/dist/{store-DYeB-_U3.d.ts → store-CjJaZI_g.d.ts} +31 -4
- package/dist/{store-options--zWn48PK.js → store-options-CDvoX52-.js} +31 -8
- package/dist/{stores-EPul_8MN.d.ts → stores-Cam6GGAV.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-DBuZK2pP.js} +2 -2
- package/dist/supabase-hook-2M-EpoRp.js +1 -0
- package/dist/{supabase-hook-DX38Hj8h.js → supabase-hook-Btk56XD6.js} +151 -55
- package/dist/{supautils-BGf6zRvM.js → supautils-lwXmXPP_.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-B72q9UFD.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-CDxxNswo.d.ts} +1 -1
- package/dist/{types-CqcsNCaN.d.ts → types--HfnkawU.d.ts} +13 -1
- package/dist/{types-NYoj8JBm.d.ts → types-7Vlz1Wi2.d.ts} +1 -0
- package/dist/{types-B8qUkGja.d.ts → types-BVn1w_0o.d.ts} +2 -2
- package/dist/{types-DmbfLu2p.d.ts → types-BlYPxJDR.d.ts} +9 -4
- package/dist/{types-D19MK4t-.d.ts → types-Bwdumeos.d.ts} +3 -3
- package/dist/{types-3Y8UpFkF.d.ts → types-BwuNGQRm.d.ts} +68 -4
- package/dist/{types-D-JO7lh8.d.ts → types-CChFKY10.d.ts} +5 -5
- package/dist/{types-CDVXR6YD.d.ts → types-Do4yihST.d.ts} +1 -1
- package/dist/{types-CCEeSCMB.d.ts → types-Do8qBcRO.d.ts} +3 -3
- package/dist/{types-o1vu6Ks3.d.ts → types-OLSfBLa5.d.ts} +4 -4
- package/dist/{types-DGf_cpKF.d.ts → types-g0Vk9k2c.d.ts} +2 -2
- package/dist/{types-Ck1KOfug.d.ts → types-oaqeYKQu.d.ts} +2 -2
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DYtRVkcN.js → usage-BLhhEPcZ.js} +1 -1
- package/dist/{usage-DC0UKe6C.js → usage-C-wta3rx.js} +4 -4
- package/dist/usage-Csc_ZRd0.js +1 -0
- package/dist/{validation-error-Dx8PipbO.d.ts → validation-error-AhCHeeff.d.ts} +1 -1
- package/dist/{verify-Bpj0hauG.js → verify-CaaZlnP5.js} +78 -57
- package/dist/{version-cache-DzNKWiI6.d.ts → version-cache-Ddvrfn1R.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-CROiWRIP.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-jPfTABf-.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-C-4o-Dpy.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-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
|
@@ -3,14 +3,15 @@ import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
|
3
3
|
import { n as problemDetails } from "./problem-details-CLDgX1KV.js";
|
|
4
4
|
import { c as listPermissions } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { n as resourceRef } from "./resource-ref-CaS9yVPi.js";
|
|
6
|
-
import { i as challengeScope, l as withApp } from "./permdock-
|
|
6
|
+
import { i as challengeScope, l as withApp } from "./permdock-DeOfonuG.js";
|
|
7
7
|
import { r as hasCredentials } from "./http-DKLXrFGk.js";
|
|
8
|
-
import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-
|
|
9
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
8
|
+
import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-BWP1l86g.js";
|
|
9
|
+
import { n as resolveOrNull } from "./build-instance-DrIbZVnm.js";
|
|
10
10
|
import { t as LOAD_FAILED } from "./decision-CaG5_eNJ.js";
|
|
11
|
-
import { l as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-
|
|
11
|
+
import { l as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-CNMVJVD6.js";
|
|
12
12
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-OHikyRqV.js";
|
|
13
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
13
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-uvaevbBu.js";
|
|
14
|
+
import { n as decideSet, r as permissionList } from "./decide-set-DXEPepY1.js";
|
|
14
15
|
//#region src/server/kernel-problems.ts
|
|
15
16
|
const NOT_DELEGATED = freezeDeep({
|
|
16
17
|
outcome: "denied",
|
|
@@ -103,7 +104,18 @@ async function refused(hook, fallback, decision, request, report) {
|
|
|
103
104
|
};
|
|
104
105
|
}
|
|
105
106
|
}
|
|
107
|
+
/** `protectOptions.rows` bound to the request, or `undefined` without it. */
|
|
108
|
+
function rowsLoader(protectOptions, load, request) {
|
|
109
|
+
const { rows } = protectOptions;
|
|
110
|
+
if (rows === void 0) return;
|
|
111
|
+
if (load !== void 0) throw new TypeError("PermDock: protect takes data or rows, not both");
|
|
112
|
+
if (request === void 0) throw new TypeError("PermDock: protect rows needs the request");
|
|
113
|
+
return () => rows(request);
|
|
114
|
+
}
|
|
106
115
|
async function guardOn(deps, instance, remote, report, request, permission, load, protectOptions) {
|
|
116
|
+
const permissions = permission === null ? null : permissionList(permission);
|
|
117
|
+
const lead = permissions?.[0] ?? null;
|
|
118
|
+
const loadRows = rowsLoader(protectOptions, load, request);
|
|
107
119
|
const declared = routeScopes(protectOptions.oauthScopes ?? (request === void 0 ? void 0 : deps.options.operations?.oauthScopesForRequest(request.method, new URL(request.url).pathname)));
|
|
108
120
|
const credentials = request === void 0 ? false : hasCredentials(request);
|
|
109
121
|
if (permission === null) {
|
|
@@ -112,23 +124,29 @@ async function guardOn(deps, instance, remote, report, request, permission, load
|
|
|
112
124
|
}
|
|
113
125
|
const { actor, delegation } = instance.subject;
|
|
114
126
|
const held = permission === null && (actor !== void 0 || delegation !== void 0) ? delegation?.scopes ?? [] : delegation?.scopes;
|
|
115
|
-
if (declared !== void 0 && held !== void 0 && !declared.some((granted) => held.includes(granted))) return refused(deps.options.deniedResponse, scopeProblem(
|
|
127
|
+
if (declared !== void 0 && held !== void 0 && !declared.some((granted) => held.includes(granted))) return refused(deps.options.deniedResponse, scopeProblem(lead, instance.subject, credentials, declared[0]), NOT_DELEGATED, request, report);
|
|
116
128
|
let data;
|
|
117
|
-
|
|
129
|
+
let rows;
|
|
130
|
+
const loader = loadRows ?? load;
|
|
131
|
+
if (loader !== void 0) {
|
|
118
132
|
let loaded;
|
|
119
133
|
try {
|
|
120
|
-
loaded = await
|
|
134
|
+
loaded = await loader();
|
|
121
135
|
} catch (error) {
|
|
122
136
|
report(error);
|
|
123
|
-
return refused(deps.options.deniedResponse, loadFailedProblem(
|
|
137
|
+
return refused(deps.options.deniedResponse, loadFailedProblem(lead), LOAD_FAILED, request, report);
|
|
124
138
|
}
|
|
125
|
-
if (loaded === null || loaded === void 0) return {
|
|
139
|
+
if (loaded === null || loaded === void 0 || loadRows !== void 0 && (!Array.isArray(loaded) || loaded.length === 0)) return {
|
|
126
140
|
ok: false,
|
|
127
141
|
response: notFoundProblem()
|
|
128
142
|
};
|
|
129
|
-
data = loaded;
|
|
143
|
+
if (loadRows === void 0) data = loaded;
|
|
144
|
+
else {
|
|
145
|
+
rows = loaded;
|
|
146
|
+
data = rows;
|
|
147
|
+
}
|
|
130
148
|
}
|
|
131
|
-
if (
|
|
149
|
+
if (permissions === null || lead === null) return {
|
|
132
150
|
ok: true,
|
|
133
151
|
permdock: instance,
|
|
134
152
|
data
|
|
@@ -143,26 +161,45 @@ async function guardOn(deps, instance, remote, report, request, permission, load
|
|
|
143
161
|
boundary: "http-body"
|
|
144
162
|
}
|
|
145
163
|
});
|
|
146
|
-
const
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
164
|
+
const decideOne = async (next, row) => {
|
|
165
|
+
const raw = remote === void 0 ? instance.decide(next, row, decideOptions) : await remote.decide(next, row, decideOptions).catch(() => ({
|
|
166
|
+
outcome: "denied",
|
|
167
|
+
denials: [{
|
|
168
|
+
role: null,
|
|
169
|
+
reason: "pdp-unavailable"
|
|
170
|
+
}],
|
|
171
|
+
alternatives: []
|
|
172
|
+
}));
|
|
173
|
+
return applyApprovalResume(raw, next, instance, deps.options.store, request, resourceRef(next, row), deps.adapter);
|
|
174
|
+
};
|
|
175
|
+
const decideRows = (next, batch) => {
|
|
176
|
+
if (remote !== void 0) return Promise.all(batch.map((row) => decideOne(next, row)));
|
|
177
|
+
const each = instance.decideEach;
|
|
178
|
+
return Promise.all(each(next, batch, decideOptions).map((raw, index) => applyApprovalResume(raw, next, instance, deps.options.store, request, resourceRef(next, batch[index]), deps.adapter)));
|
|
179
|
+
};
|
|
180
|
+
let decision;
|
|
181
|
+
let refusedPermission = lead;
|
|
182
|
+
let refusedRow = data;
|
|
183
|
+
if (rows === void 0 && permissions.length === 1) decision = await decideOne(lead, data);
|
|
184
|
+
else {
|
|
185
|
+
const set = await decideSet(permissions, rows ?? [data], protectOptions.anyOf === true, rows === void 0 ? (next, batch) => Promise.all(batch.map((row) => decideOne(next, row))) : decideRows);
|
|
186
|
+
decision = set.decision;
|
|
187
|
+
if (!set.ok) {
|
|
188
|
+
refusedPermission = set.permission;
|
|
189
|
+
refusedRow = set.row;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
155
192
|
if (decision.outcome === "granted") return {
|
|
156
193
|
ok: true,
|
|
157
194
|
permdock: instance,
|
|
158
195
|
decision,
|
|
159
196
|
data
|
|
160
197
|
};
|
|
161
|
-
return refused(deps.options.deniedResponse, problemFromDecision(decision,
|
|
198
|
+
return refused(deps.options.deniedResponse, problemFromDecision(decision, refusedPermission, instance.subject, compact({
|
|
162
199
|
approval: deps.options.approval,
|
|
163
200
|
credentials,
|
|
164
|
-
scope: declared?.[0] ?? challengeScope(deps.policy,
|
|
165
|
-
disclosure:
|
|
201
|
+
scope: declared?.[0] ?? challengeScope(deps.policy, refusedPermission),
|
|
202
|
+
disclosure: refusedRow === void 0 ? void 0 : deps.policy.resources.get(refusedPermission.resource)?.disclosure
|
|
166
203
|
})), decision, request, report);
|
|
167
204
|
}
|
|
168
205
|
//#endregion
|
|
@@ -254,7 +291,7 @@ function createPermDock(policy, given) {
|
|
|
254
291
|
};
|
|
255
292
|
const connection = async (request, connectionOptions = {}, scope) => {
|
|
256
293
|
const { tenant } = scope ?? await tenantScope(options.tenant, request);
|
|
257
|
-
return (await import("./connection-
|
|
294
|
+
return (await import("./connection-QFsv-kbh.js")).openConnection({
|
|
258
295
|
open: async () => (await build(request, { tenant })).permdock,
|
|
259
296
|
rebuild: async () => (await instanceFor(await freshSubject(request), tenant, "write")).permdock,
|
|
260
297
|
tenant,
|
|
@@ -295,10 +332,13 @@ function createPermDock(policy, given) {
|
|
|
295
332
|
};
|
|
296
333
|
const protect = protectRoute;
|
|
297
334
|
const openapi = {
|
|
298
|
-
security: (permission) =>
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
335
|
+
security: (permission, securityOptions) => {
|
|
336
|
+
const list = permissionList(permission);
|
|
337
|
+
return {
|
|
338
|
+
security: securityOptions?.anyOf === true ? list.map((leaf) => ({ oauth2: [leaf.scope] })) : [{ oauth2: list.map((leaf) => leaf.scope) }],
|
|
339
|
+
"x-permdock-permissions": list.map((leaf) => leaf.key)
|
|
340
|
+
};
|
|
341
|
+
},
|
|
302
342
|
securitySchemes: () => {
|
|
303
343
|
const scopes = {};
|
|
304
344
|
for (const leaf of listPermissions(policy.permissions)) scopes[leaf.scope] = leaf.meta.title ?? leaf.key;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as DeniedDecision, D as Policy, Jn as ApprovalRequiredDecision, N as PolicyVocabulary, tr as GrantedDecision, xr as Subject, yr as Principal } from "./policy-types-Ky7P23CP.js";
|
|
2
2
|
import { t as Operation } from "./operations-Ci_rT6Uo.js";
|
|
3
|
-
import { _ as PrincipalSource, a as PermDock, o as PermDockOptions } from "./permdock-
|
|
4
|
-
import { m as ApprovalStore, p as ApprovalStatus } from "./types
|
|
3
|
+
import { _ as PrincipalSource, a as PermDock, o as PermDockOptions } from "./permdock-B45vPQb4.js";
|
|
4
|
+
import { m as ApprovalStore, p as ApprovalStatus } from "./types--HfnkawU.js";
|
|
5
5
|
import { n as ApprovalErrorCode } from "./errors-CHwoRRpB.js";
|
|
6
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
6
|
+
import { t as ApprovalPrompt } from "./approval-prompt-BxYbwOAU.js";
|
|
7
7
|
//#region src/chat/subject.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* The platform user behind a chat message or action. Fill it only from an event
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//#region src/server/decide-set.ts
|
|
2
|
+
/** The permissions `protect` takes: one, or a non-empty list. */
|
|
3
|
+
function permissionList(permission) {
|
|
4
|
+
const list = Array.isArray(permission) ? permission : [permission];
|
|
5
|
+
if (list.length === 0) throw new TypeError("PermDock: protect takes a permission or a non-empty list of permissions");
|
|
6
|
+
return list;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Decides `permissions` over `rows`: every row needs every permission, or with
|
|
10
|
+
* `anyOf` one of them. Under `anyOf`, a permission decides only the rows the
|
|
11
|
+
* earlier ones refused, so a limit is consumed once per granted row, and a
|
|
12
|
+
* refusal reports the first permission's result. An all-of check stops at the
|
|
13
|
+
* first permission that refuses a row. No rows refuses.
|
|
14
|
+
*/
|
|
15
|
+
async function decideAll(permissions, rows, anyOf, decide, granted) {
|
|
16
|
+
const lead = permissions[0] ?? noPermission();
|
|
17
|
+
let first;
|
|
18
|
+
if (anyOf) {
|
|
19
|
+
let pending = rows.map((row, index) => ({
|
|
20
|
+
row,
|
|
21
|
+
index
|
|
22
|
+
}));
|
|
23
|
+
let firstResults = [];
|
|
24
|
+
for (const [order, permission] of permissions.entries()) {
|
|
25
|
+
const results = await decide(permission, pending.map((entry) => entry.row));
|
|
26
|
+
if (order === 0) firstResults = results;
|
|
27
|
+
const still = [];
|
|
28
|
+
for (const [position, entry] of pending.entries()) {
|
|
29
|
+
const result = results[position];
|
|
30
|
+
if (result !== void 0 && granted(result)) first ??= result;
|
|
31
|
+
else still.push(entry);
|
|
32
|
+
}
|
|
33
|
+
pending = still;
|
|
34
|
+
if (pending.length === 0) break;
|
|
35
|
+
}
|
|
36
|
+
const [head] = pending;
|
|
37
|
+
if (head !== void 0) {
|
|
38
|
+
const result = firstResults[head.index];
|
|
39
|
+
return {
|
|
40
|
+
ok: false,
|
|
41
|
+
result: result === void 0 || granted(result) ? void 0 : result,
|
|
42
|
+
permission: lead,
|
|
43
|
+
row: head.row
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
} else for (const permission of permissions) {
|
|
47
|
+
const results = await decide(permission, rows);
|
|
48
|
+
for (const [index, row] of rows.entries()) {
|
|
49
|
+
const result = results[index];
|
|
50
|
+
if (result === void 0 || !granted(result)) return {
|
|
51
|
+
ok: false,
|
|
52
|
+
result,
|
|
53
|
+
permission,
|
|
54
|
+
row
|
|
55
|
+
};
|
|
56
|
+
first ??= result;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return first === void 0 ? {
|
|
60
|
+
ok: false,
|
|
61
|
+
result: void 0,
|
|
62
|
+
permission: lead,
|
|
63
|
+
row: rows[0]
|
|
64
|
+
} : {
|
|
65
|
+
ok: true,
|
|
66
|
+
result: first
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/** `decideAll` over decisions; a missing decision is a `validation` denial. */
|
|
70
|
+
async function decideSet(permissions, rows, anyOf, decide) {
|
|
71
|
+
const outcome = await decideAll(permissions, rows, anyOf, decide, (decision) => decision.outcome === "granted");
|
|
72
|
+
if (outcome.ok) return outcome.result.outcome === "granted" ? {
|
|
73
|
+
ok: true,
|
|
74
|
+
decision: outcome.result
|
|
75
|
+
} : refused(outcome.result, permissions[0] ?? noPermission(), rows[0]);
|
|
76
|
+
return refused(outcome.result, outcome.permission, outcome.row);
|
|
77
|
+
}
|
|
78
|
+
function refused(decision, permission, row) {
|
|
79
|
+
return {
|
|
80
|
+
ok: false,
|
|
81
|
+
decision: decision === void 0 || decision.outcome === "granted" ? missing() : decision,
|
|
82
|
+
permission,
|
|
83
|
+
row
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function missing() {
|
|
87
|
+
return {
|
|
88
|
+
outcome: "denied",
|
|
89
|
+
denials: [{
|
|
90
|
+
role: null,
|
|
91
|
+
reason: "validation"
|
|
92
|
+
}],
|
|
93
|
+
alternatives: []
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function noPermission() {
|
|
97
|
+
throw new TypeError("PermDock: protect needs at least one permission");
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { decideSet as n, permissionList as r, decideAll as t };
|
package/dist/delivery/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dn as
|
|
2
|
-
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-
|
|
3
|
-
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-
|
|
4
|
-
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-
|
|
1
|
+
import { dn as DeliveryChannel, hn as EmailCategory, pn as DeliveryFailureCause } from "../policy-types-Ky7P23CP.js";
|
|
2
|
+
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-BxYbwOAU.js";
|
|
3
|
+
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-Do8qBcRO.js";
|
|
4
|
+
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-B9-ZXNa-.js";
|
|
5
5
|
export { type ApprovalPrompt, type ApprovalUrl, type Audience, type AudienceOptions, CONNECTOR_KINDS, CONNECTOR_SCHEMA, type ChatMessage, type ChatTransport, type Connector, type ConnectorIssue, type ConnectorKind, type DeliverOptions, type DeliveryChannel, type DeliveryFailureCause, type DeliveryMessages, type DeliveryPermDock, type DeliveryPermDockOptions, type DeliveryReport, type DeliveryResult, type DeliveryTarget, type DeliveryTransport, type DeliveryTransports, type EmailCategory, type EmailMessage, type EmailTransport, type EmailUnsubscribe, type MemoryDelivery, type MemoryDeliveryTransport, type MemoryDeliveryTransportOptions, type OutgoingEmail, type ParseConnectorResult, type Recipient, type SiemDestination, type SubscriberEvent, type TransportItem, type TransportMessages, type TransportOptions, type WebhookMessage, type WebhookTransport, type WebhookTransportOptions, approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, parseConnector, subscribersFor, webhookTransport };
|
package/dist/delivery/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as approvalUrlFor, t as approvalPrompt } from "../approval-prompt-B8hQY69x.js";
|
|
2
|
-
import { n as subscribersFor, t as audience } from "../audience-
|
|
2
|
+
import { n as subscribersFor, t as audience } from "../audience-GCXRRAeZ.js";
|
|
3
3
|
import { t as CONNECTOR_SCHEMA } from "../connector-schema-CYLQNMYq.js";
|
|
4
4
|
import { a as parseConnector, i as CONNECTOR_KINDS, n as createPermDock, r as memoryDeliveryTransport, t as webhookTransport } from "../delivery-BupfvJIV.js";
|
|
5
5
|
import { i as isDeliveryTarget, n as isAddrSpec } from "../target-qdEAnnhU.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as DeniedDecision, Qn as DenialReason, Yn as Decision } from "./policy-types-Ky7P23CP.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
//#region src/core/describe.d.ts
|
|
4
4
|
type DecisionDescription = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as memoryCustomRoleSource } from "./src-
|
|
1
|
+
import { A as memoryCustomRoleSource } from "./src-HDDf9Eum.js";
|
|
2
2
|
import { n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
3
3
|
import { g as secondsOf } from "./time-nR1JesoH.js";
|
|
4
4
|
import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
|
|
5
|
-
import { t as getPermDock } from "./permdock-
|
|
5
|
+
import { t as getPermDock } from "./permdock-DeOfonuG.js";
|
|
6
6
|
import { i as configError, u as usageResult } from "./errors-BhRkoNS7.js";
|
|
7
|
-
import { t as buildCatalog } from "./catalog-doc-
|
|
7
|
+
import { t as buildCatalog } from "./catalog-doc-nrgfbh8I.js";
|
|
8
8
|
import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-BaEamml-.js";
|
|
9
|
-
import { t as parseCatalog } from "./parse-
|
|
9
|
+
import { t as parseCatalog } from "./parse-CXTT7hBq.js";
|
|
10
10
|
import { t as operationFindings } from "./operation-findings-CVwJHEu_.js";
|
|
11
11
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-Cemqurt8.js";
|
|
12
12
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -21,7 +21,7 @@ const diff = defineLeaf({
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
async run(ctx, { flags, args }) {
|
|
24
|
-
return (await import("./diff-
|
|
24
|
+
return (await import("./diff-BOU7sSnv.js")).runDiff({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
sources: [args["before"], args["after"]].filter((value) => value !== void 0),
|