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,4 +1,4 @@
|
|
|
1
|
-
import { a as nonEmptyOr } from "./output-
|
|
1
|
+
import { a as nonEmptyOr } from "./output-DZQCr2lP.js";
|
|
2
2
|
import { t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
3
3
|
import { n as isIdentifier, t as emitPolicyModule } from "./policy-module-xym9fnSq.js";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
package/dist/catalog/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-
|
|
3
|
-
import { a as CatalogDocument, c as CatalogOperation, d as CatalogRole, f as CatalogScope, h as CatalogValidity, i as CatalogDelegation, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, o as CatalogGrant, p as CatalogSupportAccess, r as CatalogBreakGlass, s as CatalogOAuthScope, t as CatalogActivation, u as CatalogResource } from "../types-
|
|
4
|
-
import { a as CatalogFinding, i as CatalogEventData } from "../sink-
|
|
5
|
-
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
1
|
+
import { D as Policy, s as ApprovalRequirement, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
+
import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-yhyAuQkL.js";
|
|
3
|
+
import { a as CatalogDocument, c as CatalogOperation, d as CatalogRole, f as CatalogScope, h as CatalogValidity, i as CatalogDelegation, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, o as CatalogGrant, p as CatalogSupportAccess, r as CatalogBreakGlass, s as CatalogOAuthScope, t as CatalogActivation, u as CatalogResource } from "../types-7Vlz1Wi2.js";
|
|
4
|
+
import { a as CatalogFinding, i as CatalogEventData } from "../sink-RwmP7ZHs.js";
|
|
5
|
+
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-P0hgyLBh.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
//#region src/catalog/drift.d.ts
|
|
8
8
|
/**
|
package/dist/catalog/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import { n as freezeDeep } from "../freeze-jjan0lCv.js";
|
|
|
3
3
|
import { a as getResource, n as findPermission } from "../permission-registry-B8tYxPIt.js";
|
|
4
4
|
import { d as isSelfParented } from "../resource-relations-8-pCScBO.js";
|
|
5
5
|
import { _ as listPlans, m as findRole } from "../grantee-Dke-9rd1.js";
|
|
6
|
-
import { n as declaredRoleNames } from "../policy-
|
|
7
|
-
import { i as hostedGrantDrops, n as codeApprovals, r as declaredGrantee, t as checkHostedGrant } from "../hosted-
|
|
8
|
-
import { n as rowConditionKeys, t as parseCatalog } from "../parse-
|
|
6
|
+
import { n as declaredRoleNames } from "../policy-CaAME-Rh.js";
|
|
7
|
+
import { i as hostedGrantDrops, n as codeApprovals, r as declaredGrantee, t as checkHostedGrant } from "../hosted-C2Pmhy2x.js";
|
|
8
|
+
import { n as rowConditionKeys, t as parseCatalog } from "../parse-CXTT7hBq.js";
|
|
9
9
|
import { t as operationFindings } from "../operation-findings-CVwJHEu_.js";
|
|
10
|
-
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-
|
|
11
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
10
|
+
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-CUNlpgz0.js";
|
|
11
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-BERO0x9O.js";
|
|
12
12
|
//#region src/catalog/drift.ts
|
|
13
13
|
/**
|
|
14
14
|
* The finding a drop reason becomes; `null` for a reason the catalog did not
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as catalogFile, n as runCatalog } from "./catalog-s0waIrfY.js";
|
|
@@ -30,7 +30,7 @@ const catalog = defineLeaf({
|
|
|
30
30
|
...checkFlag
|
|
31
31
|
},
|
|
32
32
|
async run(ctx, { flags }) {
|
|
33
|
-
const { catalogFile, runCatalog } = await import("./catalog-
|
|
33
|
+
const { catalogFile, runCatalog } = await import("./catalog-BTPySmbp.js");
|
|
34
34
|
const result = await runCatalog({
|
|
35
35
|
cwd: ctx.cwd,
|
|
36
36
|
config: ctx.config,
|
|
@@ -5,7 +5,7 @@ import { m as findRole, v as listRoles } from "./grantee-Dke-9rd1.js";
|
|
|
5
5
|
import { i as wireValidity } from "./validity-Buc7w8E9.js";
|
|
6
6
|
import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
7
7
|
import { t as catalogFingerprint } from "./catalog-fingerprint-e6aCWosn.js";
|
|
8
|
-
import { t as catalogSchema } from "./schema-
|
|
8
|
+
import { t as catalogSchema } from "./schema-BlnU_TzE.js";
|
|
9
9
|
import { t as policyRowConditionKeys } from "./row-conditions-BAGHOmVq.js";
|
|
10
10
|
import { c as generatorBanner, n as CATALOG_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
11
11
|
//#region src/cli/catalog-doc.ts
|
|
@@ -91,6 +91,7 @@ function catalogApproval(approval) {
|
|
|
91
91
|
combine: approval.combine,
|
|
92
92
|
stages: approval.stages,
|
|
93
93
|
mode: approval.mode,
|
|
94
|
+
fallback: approval.fallback,
|
|
94
95
|
staleOn: approval.staleOn,
|
|
95
96
|
quorum: approval.quorum,
|
|
96
97
|
ttl: approval.ttl,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { r as listSourceFiles, t as defaultSrcPath } from "./files-BSjrtIHw.js";
|
|
3
|
-
import { a as catalogSchemaDocument, n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, s as formatCatalogMarkdown, t as buildCatalog } from "./catalog-doc-
|
|
3
|
+
import { a as catalogSchemaDocument, n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, s as formatCatalogMarkdown, t as buildCatalog } from "./catalog-doc-nrgfbh8I.js";
|
|
4
4
|
import { a as loadModule, i as loadConfiguredPolicy, r as leavesOf, s as pickNamed, t as asPermissionTree } from "./load-BaEamml-.js";
|
|
5
5
|
import { t as loadConfiguredOperations } from "./catalog-operations-BD22drQf.js";
|
|
6
|
-
import { i as scanSources, r as runCollect } from "./collect-
|
|
6
|
+
import { i as scanSources, r as runCollect } from "./collect-DN_x7hvV.js";
|
|
7
7
|
import { n as fileSummary, t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { resolve } from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
3
|
import { i as dateAt, p as nowSeconds } from "./time-nR1JesoH.js";
|
|
4
|
-
import { u as policyDocumentFromClaims } from "./hosted-
|
|
4
|
+
import { u as policyDocumentFromClaims } from "./hosted-C2Pmhy2x.js";
|
|
5
5
|
import { l as isApprovalErrorCode, s as ApprovalError, t as APPROVAL_HEADER } from "./types-CcUXciSj.js";
|
|
6
6
|
import { h as toCloudEvent, l as isAbsoluteUri } from "./sink-D9_vh372.js";
|
|
7
7
|
import { n as parseCatalogEventData, t as catalogFingerprint } from "./catalog-fingerprint-e6aCWosn.js";
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-
|
|
1
|
+
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-DYSYYiLr.js";
|
|
2
2
|
export { type ChatAction, type ChatActionResult, type ChatAuthor, type ChatCommand, type ChatCommandContext, type ChatCommandResult, type ChatPermDock, type ChatPermDockOptions, type ChatPrincipal, type SubjectFromChatOptions, createPermDock, isChatAuthor, subjectFromChat };
|
package/dist/chat/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { t as compact } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { n as freezeDeep } from "../freeze-jjan0lCv.js";
|
|
3
3
|
import { n as loadPrincipalByIdentity } from "../principal-source-C6N60GtM.js";
|
|
4
4
|
import { f as nowMillis } from "../time-nR1JesoH.js";
|
|
5
|
-
import { l as withApp, t as getPermDock } from "../permdock-
|
|
5
|
+
import { l as withApp, t as getPermDock } from "../permdock-C1DN_7a-.js";
|
|
6
6
|
import { c as isApprovalError } from "../types-CcUXciSj.js";
|
|
7
|
-
import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-
|
|
7
|
+
import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-D-MXwkOF.js";
|
|
8
8
|
import { t as approvalPrompt } from "../approval-prompt-B8hQY69x.js";
|
|
9
9
|
//#region src/chat/subject.ts
|
|
10
10
|
function nonEmpty(value) {
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-
|
|
2
|
-
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-
|
|
3
|
-
import { n as ChatTransport } from "../types-
|
|
1
|
+
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-CQFiO1KE.js";
|
|
2
|
+
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-DYSYYiLr.js";
|
|
3
|
+
import { n as ChatTransport } from "../types-p8mhWTcR.js";
|
|
4
4
|
import { ActionEvent, Author, CardElement } from "chat";
|
|
5
5
|
//#region src/chat-sdk/author.d.ts
|
|
6
6
|
type ChatSdkAuthorOptions = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-D4F2p5J8.js";
|
|
3
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-DMCC5ZOi.js";
|
|
4
4
|
//#region src/claude-agent/create.d.ts
|
|
5
5
|
/** Structural `McpServerProvenance` from `@anthropic-ai/claude-agent-sdk`. */
|
|
6
6
|
type ClaudeMcpServer = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "../compact-CAf557ZB.js";
|
|
2
|
-
import { l as withApp } from "../permdock-
|
|
3
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
+
import { l as withApp } from "../permdock-C1DN_7a-.js";
|
|
3
|
+
import { t as agentRuntime } from "../create-C0R8omeF.js";
|
|
4
4
|
//#region src/claude-agent/create.ts
|
|
5
5
|
const MCP_PREFIX = "mcp__";
|
|
6
6
|
function asInput(input) {
|
package/dist/clerk/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as CustomRoleSource, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { s as RemotePdpCache } from "../types-
|
|
3
|
+
import { s as RemotePdpCache } from "../types-CMclYgSk.js";
|
|
4
4
|
import { t as ClaimsMap } from "../claims-map-D1Pb5oRq.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
//#region src/clerk/types.d.ts
|
package/dist/cli/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ if (argv.length === 1 && (argv[0] === "--version" || argv[0] === "-v")) {
|
|
|
11
11
|
const [{ isCi }, { trapSignals }, { run }, { streamHasColors }] = await Promise.all([
|
|
12
12
|
import("../env-DJZrPjRi.js"),
|
|
13
13
|
import("../signals-B1vHR3fN.js"),
|
|
14
|
-
import("../run-
|
|
14
|
+
import("../run-D6U-Gwok.js"),
|
|
15
15
|
import("../style-DblOtSga.js")
|
|
16
16
|
]);
|
|
17
17
|
const signals = trapSignals();
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Policy } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { f as PermissionTree } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { o as OperationMap } from "../operations-Ci_rT6Uo.js";
|
|
4
|
-
import { a as CatalogDocument, d as CatalogRole, f as CatalogScope, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, p as CatalogSupportAccess, r as CatalogBreakGlass, t as CatalogActivation, u as CatalogResource } from "../types-
|
|
5
|
-
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
6
|
-
import { _ as RlsSuspension, a as GenKind, c as RlsActiveRow, d as RlsDialect, f as RlsFunctionMapping, g as RlsSuspendedScope, h as RlsSuspendedMembership, i as GenConfig, l as RlsApiKeys, m as RlsMemberships, n as CliIo, o as PermDockConfig, p as RlsMembershipTable, r as CollectConfig, t as CatalogConfig, u as RlsConfig, v as RlsTarget, y as RunResult } from "../types-
|
|
7
|
-
import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-
|
|
4
|
+
import { a as CatalogDocument, d as CatalogRole, f as CatalogScope, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, p as CatalogSupportAccess, r as CatalogBreakGlass, t as CatalogActivation, u as CatalogResource } from "../types-7Vlz1Wi2.js";
|
|
5
|
+
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-P0hgyLBh.js";
|
|
6
|
+
import { _ as RlsSuspension, a as GenKind, c as RlsActiveRow, d as RlsDialect, f as RlsFunctionMapping, g as RlsSuspendedScope, h as RlsSuspendedMembership, i as GenConfig, l as RlsApiKeys, m as RlsMemberships, n as CliIo, o as PermDockConfig, p as RlsMembershipTable, r as CollectConfig, t as CatalogConfig, u as RlsConfig, v as RlsTarget, y as RunResult } from "../types-D1NjjwI4.js";
|
|
7
|
+
import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-BjOLGVy1.js";
|
|
8
8
|
//#region src/cli/catalog-path.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* The absolute path `permdock collect` writes the catalog to: `collect.out`,
|
package/dist/cli/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as catalogPath } from "../catalog-path-CnI0XTFK.js";
|
|
2
|
-
import { t as defineConfig } from "../config-
|
|
3
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
2
|
+
import { t as defineConfig } from "../config-D2oXUwos.js";
|
|
3
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-BERO0x9O.js";
|
|
4
4
|
import { c as parseGrantsMarker, l as parseHookMarker } from "../markers-BeHZ4x9Q.js";
|
|
5
|
-
import { t as run } from "../run-
|
|
5
|
+
import { t as run } from "../run-Bnm5VZ8m.js";
|
|
6
6
|
//#region src/cli/token-schemas.ts
|
|
7
7
|
const ID = {
|
|
8
8
|
type: "string",
|
|
@@ -16,9 +16,22 @@ type RealtimeRefreshClient<C extends RealtimeRefreshChannel = RealtimeRefreshCha
|
|
|
16
16
|
}) => C;
|
|
17
17
|
readonly removeChannel: (channel: C) => unknown;
|
|
18
18
|
};
|
|
19
|
-
type SupabaseRealtimeRefreshOptions = {
|
|
19
|
+
type SupabaseRealtimeRefreshOptions<C extends RealtimeRefreshChannel = RealtimeRefreshChannel> = {
|
|
20
20
|
/** The signed-in user's id, the `sub` of their token. */
|
|
21
21
|
readonly userId: string;
|
|
22
|
+
/**
|
|
23
|
+
* A channel on `authz:<userId>` the app already owns. The trigger binds the
|
|
24
|
+
* `changed` event to it and never subscribes or removes it; without it, the
|
|
25
|
+
* trigger is the only owner of the channel it opens and removes.
|
|
26
|
+
*/
|
|
27
|
+
readonly channel?: C;
|
|
28
|
+
/**
|
|
29
|
+
* `subscribeForeground` from `permdock/react-native`, or any function of that
|
|
30
|
+
* shape. The trigger's own channel is removed when `active` is `false` and
|
|
31
|
+
* opened again on the return, followed by one `refresh()` for the bumps sent
|
|
32
|
+
* while it was away; an app-owned channel only gets the `refresh()`.
|
|
33
|
+
*/
|
|
34
|
+
readonly foreground?: (listener: (active?: boolean) => void) => () => void;
|
|
22
35
|
};
|
|
23
36
|
/**
|
|
24
37
|
* A `refreshOn` trigger on the user's private `authz:<uid>` Realtime topic,
|
|
@@ -27,6 +40,6 @@ type SupabaseRealtimeRefreshOptions = {
|
|
|
27
40
|
* `supabase.hook.broadcast` lets each user join only their own topic. With
|
|
28
41
|
* better-supabase, use `authzChangeRefresh` on `SessionProvider` instead.
|
|
29
42
|
*/
|
|
30
|
-
declare function supabaseRealtimeRefresh<C extends RealtimeRefreshChannel>(client: RealtimeRefreshClient<C>, options: SupabaseRealtimeRefreshOptions): RefreshTrigger;
|
|
43
|
+
declare function supabaseRealtimeRefresh<C extends RealtimeRefreshChannel>(client: RealtimeRefreshClient<C>, options: SupabaseRealtimeRefreshOptions<C>): RefreshTrigger;
|
|
31
44
|
//#endregion
|
|
32
45
|
export { supabaseRealtimeRefresh as i, RealtimeRefreshClient as n, SupabaseRealtimeRefreshOptions as r, RealtimeRefreshChannel as t };
|
package/dist/cloud/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as ApprovalStore } from "../types-
|
|
3
|
-
import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-
|
|
4
|
-
import { c as DeliveryTransport } from "../types-
|
|
5
|
-
import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types
|
|
6
|
-
import { n as ApprovalWaiter } from "../waiter-
|
|
7
|
-
import { l as ReplayStore } from "../types-
|
|
8
|
-
import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-
|
|
1
|
+
import { _t as TokenSigner, cn as AutomationEvent, dn as DeliveryChannel, fn as DeliveryEvent, gn as MembershipEvent, ln as CredentialEvent, mn as DirectoryEvent, on as AccessEvent, qt as Instant, un as DecisionEvent } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
+
import { m as ApprovalStore } from "../types-BzxA2OAD.js";
|
|
3
|
+
import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-RwmP7ZHs.js";
|
|
4
|
+
import { c as DeliveryTransport } from "../types-p8mhWTcR.js";
|
|
5
|
+
import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types--_lpWUGV.js";
|
|
6
|
+
import { n as ApprovalWaiter } from "../waiter-BjVI_Byg.js";
|
|
7
|
+
import { l as ReplayStore } from "../types-DBVSljAx.js";
|
|
8
|
+
import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-CFZIYtBF.js";
|
|
9
9
|
//#region src/cloud/base-url.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* The one base URL of PermDock Cloud. The platform issuer is this URL; its
|
package/dist/cloud/index.js
CHANGED
|
@@ -5,14 +5,14 @@ import { h as secondsAt } from "../time-nR1JesoH.js";
|
|
|
5
5
|
import { r as CLOUD_EVENT_TYPES } from "../sink-D9_vh372.js";
|
|
6
6
|
import { i as parseCloudEventBatch, r as parseCloudEvent$1 } from "../catalog-fingerprint-e6aCWosn.js";
|
|
7
7
|
import { n as readBodyText } from "../body-text-DQhcmqdY.js";
|
|
8
|
-
import { l as problemResponse } from "../problem-
|
|
8
|
+
import { l as problemResponse } from "../problem-BWP1l86g.js";
|
|
9
9
|
import { t as timeoutSignal } from "../timeout-D51niuQP.js";
|
|
10
10
|
import { n as webhookVerifier } from "../standard-webhooks-D67a3nzk.js";
|
|
11
11
|
import { c as stringField, n as discoverAuthorizationServer, r as parseToken } from "../device-BwbJNmb2.js";
|
|
12
12
|
import { t as pollingApprovalWaiter } from "../waiter-aBLM63_f.js";
|
|
13
13
|
import { i as isDeliveryTarget } from "../target-qdEAnnhU.js";
|
|
14
14
|
import { t as CLOUD_BASE_URL } from "../base-url-BQbddZO5.js";
|
|
15
|
-
import { a as isCompactJws, i as cloudEndpoints, n as cloud, o as resolveCloudEndpoints, r as cloudConnection, t as bearerChallenge } from "../challenge-
|
|
15
|
+
import { a as isCompactJws, i as cloudEndpoints, n as cloud, o as resolveCloudEndpoints, r as cloudConnection, t as bearerChallenge } from "../challenge-DbkpCx_v.js";
|
|
16
16
|
import { n as randomToken, t as pkce } from "../pkce-CnmmYqUZ.js";
|
|
17
17
|
//#region src/cloud/oauth-error.ts
|
|
18
18
|
/**
|
|
@@ -41,7 +41,7 @@ const push = defineLeaf({
|
|
|
41
41
|
},
|
|
42
42
|
async run(ctx, { flags }) {
|
|
43
43
|
const env = await withStdinSecret(ctx, "key", flags["key-stdin"], "PERMDOCK_CLOUD_KEY");
|
|
44
|
-
return (await import("./push-
|
|
44
|
+
return (await import("./push-D2SsRW0U.js")).runCloud({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
config: ctx.config,
|
|
47
47
|
url: given(flags.url),
|
|
@@ -70,7 +70,7 @@ const pull = defineLeaf({
|
|
|
70
70
|
},
|
|
71
71
|
async run(ctx, { flags }) {
|
|
72
72
|
const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
|
|
73
|
-
return (await import("./pull-
|
|
73
|
+
return (await import("./pull-AOmtUo8V.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|
|
@@ -7,7 +7,7 @@ const codemod = defineLeaf({
|
|
|
7
7
|
description: "The release to migrate to (0.5)",
|
|
8
8
|
required: true,
|
|
9
9
|
async complete() {
|
|
10
|
-
return (await import("./codemod-
|
|
10
|
+
return (await import("./codemod-Cv0-7Ogj.js")).codemodVersions();
|
|
11
11
|
}
|
|
12
12
|
}, {
|
|
13
13
|
name: "paths",
|
|
@@ -22,7 +22,7 @@ const codemod = defineLeaf({
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
async run(ctx, { flags, args, rest }) {
|
|
25
|
-
return (await import("./codemod-
|
|
25
|
+
return (await import("./codemod-Cv0-7Ogj.js")).runCodemod({
|
|
26
26
|
cwd: ctx.cwd,
|
|
27
27
|
version: args["version"],
|
|
28
28
|
paths: rest,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as rel } from "./files-BSjrtIHw.js";
|
|
3
3
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
4
|
-
import { n as ROOT } from "./manifest-
|
|
4
|
+
import { n as ROOT } from "./manifest-CMu1IE0R.js";
|
|
5
5
|
import { i as refuseDirty, t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
6
6
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
7
7
|
import { basename, extname, join, resolve } from "node:path";
|
|
@@ -29,9 +29,9 @@ const collect = defineLeaf({
|
|
|
29
29
|
};
|
|
30
30
|
if (flags.watch) {
|
|
31
31
|
if (flags.check) throw new CliError("usage", "collect: --watch writes the catalog; drop --check", { code: "invalid_value" });
|
|
32
|
-
return (await import("./watch-
|
|
32
|
+
return (await import("./watch-CS69ftMP.js")).watchCollect(ctx, overrides);
|
|
33
33
|
}
|
|
34
|
-
const result = await (await import("./collect-
|
|
34
|
+
const result = await (await import("./collect-eSTXOZDC.js")).runCollect({
|
|
35
35
|
cwd: ctx.cwd,
|
|
36
36
|
config: ctx.config,
|
|
37
37
|
collect: overrides,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as describeError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as rel, r as listSourceFiles, s as writeFileEnsuringDir, t as defaultSrcPath } from "./files-BSjrtIHw.js";
|
|
3
|
-
import { n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, t as buildCatalog } from "./catalog-doc-
|
|
3
|
+
import { n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, t as buildCatalog } from "./catalog-doc-nrgfbh8I.js";
|
|
4
4
|
import { a as loadModule, i as loadConfiguredPolicy, r as leavesOf, s as pickNamed, t as asPermissionTree } from "./load-BaEamml-.js";
|
|
5
5
|
import { t as loadConfiguredOperations } from "./catalog-operations-BD22drQf.js";
|
|
6
6
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runCollect } from "./collect-DN_x7hvV.js";
|
package/dist/compile/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as GraphSqlPart, r as RelationsMapping, t as GraphSql } from "../graph-sql-BwFC4Qjs.js";
|
|
2
|
-
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-
|
|
2
|
+
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-DZftFfXc.js";
|
|
3
3
|
export { type CompileWhereOptions, type CompiledCompare, type CompiledExists, type CompiledSql, type CompiledWhere, type GraphSql, type GraphSqlPart, type MembershipTable, type MembershipsMapping, type RelationsMapping, compileWhere, escapeLike };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Er as Condition, Sn as Scope, qt as Instant, xr as Subject } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { b as ResourceNode } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { f as WhereResult } from "./permdock-
|
|
3
|
+
import { f as WhereResult } from "./permdock-D4F2p5J8.js";
|
|
4
4
|
import { r as RelationsMapping, t as GraphSql } from "./graph-sql-BwFC4Qjs.js";
|
|
5
5
|
//#region src/conditions/compile.d.ts
|
|
6
6
|
type MembershipTable = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as GLOBAL_FLAGS, i as suggestion } from "./args-iafbHiXn.js";
|
|
3
|
-
import { a as resolve } from "./manifest-
|
|
3
|
+
import { a as resolve } from "./manifest-CMu1IE0R.js";
|
|
4
4
|
import { t as defineLeaf } from "./command-L8EstFNm.js";
|
|
5
5
|
//#region src/cli/core/completion.ts
|
|
6
6
|
const SHELLS = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { i as configError, n as CliError } from "./errors-BhRkoNS7.js";
|
|
3
|
-
import { n as betterSupabaseConfig, r as betterSupabaseDefaults } from "./better-supabase-
|
|
4
|
-
import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-
|
|
3
|
+
import { n as betterSupabaseConfig, r as betterSupabaseDefaults } from "./better-supabase-ayun1IKE.js";
|
|
4
|
+
import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-D9paLhEX.js";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
|
-
import { relative, resolve } from "node:path";
|
|
6
|
+
import { dirname, relative, resolve } from "node:path";
|
|
7
7
|
//#region src/cli/project/config-schema.ts
|
|
8
8
|
const TOP_LEVEL = /* @__PURE__ */ new Set([...Object.keys(MODULE_KEYS), ...Object.keys(CONFIG_SHAPE)]);
|
|
9
9
|
function invalid(file, message) {
|
|
@@ -84,7 +84,10 @@ async function readConfig(cwd, fromFlag, options) {
|
|
|
84
84
|
const parsed = parseConfig(hasModuleValue(raw) ? await traceValues(cwd, path, display, raw, options) : raw, display);
|
|
85
85
|
return {
|
|
86
86
|
...parsed,
|
|
87
|
-
config: betterSupabaseDefaults(parsed.config, await betterSupabaseConfig({
|
|
87
|
+
config: betterSupabaseDefaults(parsed.config, await betterSupabaseConfig({
|
|
88
|
+
cwd,
|
|
89
|
+
from: dirname(path)
|
|
90
|
+
})),
|
|
88
91
|
file: path
|
|
89
92
|
};
|
|
90
93
|
}
|
|
@@ -92,7 +95,7 @@ function hasModuleValue(raw) {
|
|
|
92
95
|
return isRecord(raw) && Object.keys(MODULE_KEYS).some((key) => isRecord(raw[key]));
|
|
93
96
|
}
|
|
94
97
|
async function traceValues(cwd, file, display, config, options) {
|
|
95
|
-
const { traceModuleValues } = await import("./module-values-
|
|
98
|
+
const { traceModuleValues } = await import("./module-values-BYuNtdK5.js");
|
|
96
99
|
return traceModuleValues({
|
|
97
100
|
cwd,
|
|
98
101
|
file,
|
|
@@ -10,7 +10,7 @@ const config = defineLeaf({
|
|
|
10
10
|
...failOnFlag
|
|
11
11
|
},
|
|
12
12
|
async run(ctx, { flags }) {
|
|
13
|
-
const { runConfig } = await import("./config-report-
|
|
13
|
+
const { runConfig } = await import("./config-report-B0IyW7EQ.js");
|
|
14
14
|
return runConfig({
|
|
15
15
|
cwd: ctx.cwd,
|
|
16
16
|
config: ctx.config,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as rel, t as defaultSrcPath } from "./files-BSjrtIHw.js";
|
|
2
2
|
import { r as CONFIG_REPORT_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
3
3
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
4
|
-
import { n as guessPermissions, t as barrelFile } from "./collect-
|
|
4
|
+
import { n as guessPermissions, t as barrelFile } from "./collect-DN_x7hvV.js";
|
|
5
5
|
import "./sources-C4vkzZJV.js";
|
|
6
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
+
import { t as DOCS_BASE } from "./manifest-CMu1IE0R.js";
|
|
7
7
|
import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-DcJABbLW.js";
|
|
8
8
|
//#region src/cli/config-report.ts
|
|
9
9
|
function configReport(input) {
|
|
@@ -37,6 +37,7 @@ const CONFIG_SHAPE = {
|
|
|
37
37
|
roleValues: OBJECT,
|
|
38
38
|
gucPrefix: STRING,
|
|
39
39
|
out: STRING,
|
|
40
|
+
split: ARRAY,
|
|
40
41
|
drizzle: OBJECT,
|
|
41
42
|
prisma: OBJECT,
|
|
42
43
|
schema: STRING,
|
|
@@ -92,7 +93,10 @@ const CONFIG_SHAPE = {
|
|
|
92
93
|
migrations: ARRAY,
|
|
93
94
|
claims: STRING,
|
|
94
95
|
srcPath: ARRAY,
|
|
95
|
-
sharedTables: ARRAY
|
|
96
|
+
sharedTables: ARRAY,
|
|
97
|
+
cacheHelpers: ARRAY,
|
|
98
|
+
ignore: ARRAY,
|
|
99
|
+
waivers: ARRAY
|
|
96
100
|
},
|
|
97
101
|
gen: {
|
|
98
102
|
out: STRING,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { r as PermDockRevokedError } from "./errors-
|
|
2
|
+
import { r as PermDockRevokedError } from "./errors-ynga1EQy.js";
|
|
3
3
|
import { a as durationOf, o as epochSeconds } from "./time-nR1JesoH.js";
|
|
4
4
|
//#region src/server/connection.ts
|
|
5
5
|
/** `setTimeout` stores delays in a signed 32-bit integer. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { l as isPromiseLike } from "./store-options
|
|
3
|
-
import { n as switchTenant, t as providerStore } from "./provider-store-
|
|
2
|
+
import { l as isPromiseLike } from "./store-options-CDvoX52-.js";
|
|
3
|
+
import { n as switchTenant, t as providerStore } from "./provider-store-BTHGJH9j.js";
|
|
4
4
|
import { getContext, onDestroy, setContext } from "svelte";
|
|
5
5
|
import { toStore } from "svelte/store";
|
|
6
6
|
//#region src/svelte/context.ts
|
|
@@ -31,6 +31,7 @@ function connectSvelteStore(options) {
|
|
|
31
31
|
const store = providerStore(compact({
|
|
32
32
|
endpoint: options.endpoint,
|
|
33
33
|
snapshotUrl: options.snapshotUrl,
|
|
34
|
+
fetchSnapshot: options.fetchSnapshot,
|
|
34
35
|
approvals: options.approvals,
|
|
35
36
|
tenant: typeof tenant === "function" ? tenant() : tenant,
|
|
36
37
|
maxAge: options.maxAge,
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
-
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-
|
|
5
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
+
import { a as PermDock } from "../permdock-D4F2p5J8.js";
|
|
4
|
+
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-OTE9u4Wk.js";
|
|
5
|
+
import { t as InstanceOptions } from "../instance-options-VPsNQsTH.js";
|
|
6
6
|
//#region src/convex/types.d.ts
|
|
7
7
|
type ConvexContextLike = {
|
|
8
8
|
readonly auth?: {
|
package/dist/convex/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
2
|
import { n as PermDockValidationError } from "../validation-error-CYg2kJEw.js";
|
|
3
|
-
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-
|
|
4
|
-
import { l as withApp } from "../permdock-
|
|
5
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
3
|
+
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-ynga1EQy.js";
|
|
4
|
+
import { l as withApp } from "../permdock-C1DN_7a-.js";
|
|
5
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-DaBdCRiz.js";
|
|
6
6
|
import { n as tenantScope, t as actorFrom } from "../adapter-context-OHikyRqV.js";
|
|
7
7
|
//#region src/convex/create.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Policy, Yn as Decision, pr as CustomRole, vr as Membership } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { f as WhereResult, o as PermDockOptions } from "./permdock-
|
|
3
|
+
import { f as WhereResult, o as PermDockOptions } from "./permdock-D4F2p5J8.js";
|
|
4
4
|
//#region src/testing/policy-matrix.d.ts
|
|
5
5
|
type MatrixOutcome = "granted" | "denied" | "approval-required";
|
|
6
6
|
type MatrixCell = MatrixOutcome | {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as memoryCustomRoleSource } from "./src-
|
|
1
|
+
import { A as memoryCustomRoleSource } from "./src-B8SQNsvw.js";
|
|
2
2
|
import { c as listPermissions } from "./permission-registry-B8tYxPIt.js";
|
|
3
3
|
import { d as scopeList } from "./scopes-BSdYaGHs.js";
|
|
4
|
-
import { y as membershipsClaim } from "./evaluate-
|
|
5
|
-
import { n as parseSnapshot } from "./snapshot-
|
|
6
|
-
import { n as fromSnapshot } from "./from-snapshot-
|
|
7
|
-
import { t as getPermDock } from "./permdock-
|
|
4
|
+
import { y as membershipsClaim } from "./evaluate-Dcq_U2TV.js";
|
|
5
|
+
import { n as parseSnapshot } from "./snapshot-DHPih65J.js";
|
|
6
|
+
import { n as fromSnapshot } from "./from-snapshot-DHnb8Fh4.js";
|
|
7
|
+
import { t as getPermDock } from "./permdock-C1DN_7a-.js";
|
|
8
8
|
import "./budget-BBCPDOGP.js";
|
|
9
9
|
import { c as quoteSqlTable, n as defaultSqlCommand, o as quoteSqlIdent, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
10
10
|
//#region src/testing/policy-matrix.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, Xn as Denial, Yn as Decision, _t as TokenSigner, qt as Instant, sn as AuthEvent, vt as TokenVerifier, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { _ as PrincipalSource, a as PermDock, n as DecideOptions, o as PermDockOptions } from "./permdock-
|
|
4
|
-
import { m as ApprovalStore } from "./types-
|
|
5
|
-
import { a as AutomationSource } from "./automation-
|
|
6
|
-
import { n as ApprovalWaiter } from "./waiter-
|
|
7
|
-
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-
|
|
3
|
+
import { _ as PrincipalSource, a as PermDock, n as DecideOptions, o as PermDockOptions } from "./permdock-D4F2p5J8.js";
|
|
4
|
+
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
5
|
+
import { a as AutomationSource } from "./automation-CpOk7Tlu.js";
|
|
6
|
+
import { n as ApprovalWaiter } from "./waiter-BjVI_Byg.js";
|
|
7
|
+
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-94DOS9Cd.js";
|
|
8
8
|
//#region src/workflow/create.d.ts
|
|
9
9
|
type WorkflowPermDockOptions = PermDockOptions & {
|
|
10
10
|
/** Signs the run tickets `start` mints. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
|
-
import { o as deniedFor } from "./where-scope-
|
|
4
|
-
import { l as withApp } from "./permdock-
|
|
3
|
+
import { o as deniedFor } from "./where-scope-BAyOsPQW.js";
|
|
4
|
+
import { l as withApp } from "./permdock-C1DN_7a-.js";
|
|
5
5
|
import { t as composeWraps } from "./wrap-C5PWzgkq.js";
|
|
6
|
-
import { r as instanceOptions } from "./build-instance-
|
|
7
|
-
import { n as createAgentKernel } from "./kernel-
|
|
6
|
+
import { r as instanceOptions } from "./build-instance-DaBdCRiz.js";
|
|
7
|
+
import { n as createAgentKernel } from "./kernel-_QEUOSU0.js";
|
|
8
8
|
//#region src/agent/create.ts
|
|
9
9
|
function modelRow(modelId) {
|
|
10
10
|
return { id: modelId };
|