permdock 0.5.0 → 0.6.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 +5 -5
- package/dist/a2a/index.js +3 -3
- package/dist/{adoption-scan-B4R5fnMU.js → adoption-scan-DCYe60Pi.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 +4 -4
- package/dist/ai-sdk/index.js +3 -3
- package/dist/{approval-prompt-Djo_PyZc.d.ts → approval-prompt-DvSSPQJX.d.ts} +2 -2
- package/dist/approvals/index.d.ts +3 -3
- package/dist/approvals/index.js +3 -3
- package/dist/{approvals-DJ6Yd5z1.js → approvals-p1PGoVjb.js} +3 -3
- package/dist/{arazzo-B6lebmiQ.js → arazzo-41WuzHou.js} +1 -1
- package/dist/{arazzo-BWhNF-k0.js → arazzo-CaUVBn7D.js} +2 -2
- package/dist/astro/index.d.ts +6 -6
- package/dist/astro/index.js +2 -2
- package/dist/{audience-Dg8XsRaO.js → audience-DabClFLQ.js} +1 -1
- package/dist/authzen/index.d.ts +4 -4
- package/dist/authzen/index.js +2 -2
- package/dist/{automation-BMZPIVUM.d.ts → automation-BNM3TtDo.d.ts} +3 -3
- package/dist/better-auth/index.d.ts +2 -2
- package/dist/better-auth/index.js +1 -1
- package/dist/better-supabase/index.d.ts +7 -7
- package/dist/better-supabase/index.js +6 -6
- package/dist/{bind-CZzhx-Vj.js → bind-CAvgUuKs.js} +4 -4
- package/dist/{bind--9EFVYWF.d.ts → bind-DOyrv6zi.d.ts} +7 -7
- package/dist/{build-instance-BMnAudHn.js → build-instance-Bu_eDqYw.js} +1 -1
- package/dist/{capability-BSslw1QV.d.ts → capability-Drg-1YhL.d.ts} +2 -2
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +3 -3
- package/dist/catalog-BoWglDPI.js +1 -0
- package/dist/{catalog-R_A__RsH.js → catalog-DZVbrF-z.js} +1 -1
- package/dist/{catalog-BECMPrwc.js → catalog-HD2gf5mY.js} +2 -2
- package/dist/{catalog-doc-C9wjsfNY.js → catalog-doc-Cdn7-0pQ.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 +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-CIoHNevm.js → cloud-ytQ3uviA.js} +2 -2
- package/dist/{codemod-Bmj9dWMH.js → codemod-5mpSpnUY.js} +2 -2
- package/dist/{codemod-Cxvvc70T.js → codemod-ua2hHy7w.js} +1 -1
- package/dist/{collect-DloHbDVa.js → collect-Ci6akVwH.js} +2 -2
- package/dist/collect-D7eQDffE.js +1 -0
- package/dist/{collect-CrZJJnEF.js → collect-mLTY4nwb.js} +2 -2
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-Ckm2HqBZ.d.ts → compile-1bsAezL0.d.ts} +3 -3
- package/dist/{completion-BqhRBJD8.js → completion-BTFrHZhX.js} +1 -1
- package/dist/{config-B46rm9sc.js → config-Bj2Ixq3d.js} +1 -1
- package/dist/{config-report-DUgj62Ai.js → config-report-DSpsLpCE.js} +2 -2
- package/dist/{context-bbFHR-0D.js → context-B_u3_bDJ.js} +2 -2
- package/dist/convex/index.d.ts +5 -5
- package/dist/convex/index.js +2 -2
- package/dist/{create-0VZ7Pdiu.d.ts → create-B30OMUOJ.d.ts} +5 -5
- package/dist/{create-BDS7wc3y.d.ts → create-CBMmFie-.d.ts} +9 -9
- package/dist/{create-C3b4B5eF.js → create-CGm28gyI.js} +4 -4
- package/dist/{create-BWRSXgOF.js → create-CQWIpUG-.js} +1 -1
- package/dist/{create-DnrmLnLW.js → create-DCF2SvoT.js} +4 -4
- package/dist/{create-BFfm17UA.d.ts → create-D_NmPOdH.d.ts} +7 -7
- package/dist/{credential-DM2um3ha.js → credential-BcoiejpY.js} +2 -2
- package/dist/{delegation-DaXVdDhM.js → delegation-j6-rc37o.js} +2 -2
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-D8jDHgsl.d.ts → denied-text-CiFQNuMV.d.ts} +2 -2
- package/dist/{describe-BZUsixiL.d.ts → describe-B5qgDvEW.d.ts} +2 -2
- package/dist/{diff-DCePiN6M.js → diff-3jbx6Rm4.js} +3 -3
- package/dist/{diff-CxZo9pTq.js → diff-CmuSD3vc.js} +1 -1
- package/dist/{doctor-CxiwSfqH.js → doctor-3ZqNHX_G.js} +2 -2
- package/dist/{doctor-DFjUxf2f.js → doctor-BdZw53-k.js} +14 -14
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +5 -5
- package/dist/elysia/index.js +3 -3
- package/dist/{errors-C2PXIv4c.d.ts → errors-DH5QEGXh.d.ts} +2 -2
- package/dist/{evaluate-_R8QkWaf.js → evaluate-CNClBvcj.js} +81 -28
- package/dist/{evaluations-16UqqQ6W.d.ts → evaluations-C_1vdSZc.d.ts} +3 -3
- package/dist/{evaluations-DZ2CbV5k.js → evaluations-beAooV0n.js} +1 -1
- package/dist/eve/index.d.ts +5 -5
- package/dist/eve/index.js +3 -3
- package/dist/express/index.d.ts +5 -5
- package/dist/express/index.js +3 -3
- package/dist/fastify/index.d.ts +5 -5
- package/dist/fastify/index.js +3 -3
- package/dist/{fetch-adapter-g0ypLkID.js → fetch-adapter-DD_gfmrC.js} +2 -2
- package/dist/{fetch-adapter-qKJBuRqy.d.ts → fetch-adapter-Dw0MTS3D.d.ts} +4 -4
- package/dist/{fields-D9tPVUUS.js → fields-OYG_JR78.js} +3 -3
- package/dist/{from-snapshot-D2lZt4Dd.js → from-snapshot-CTCMsFZk.js} +4 -4
- package/dist/{grantee-Cn1HyUsI.js → grantee-hxrUsbpM.js} +13 -3
- package/dist/{grantee-match-DHArqY82.js → grantee-match-DbENBHLB.js} +1 -1
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +3 -3
- package/dist/{helpers-DTcZOzhF.js → helpers-CBYVMjwh.js} +1 -1
- package/dist/hono/index.d.ts +5 -5
- package/dist/hono/index.js +3 -3
- package/dist/{hosted-BZIAYvon.js → hosted-B46-5LYE.js} +3 -3
- package/dist/{hosted-DBDX0M-P.d.ts → hosted-BPk51-kX.d.ts} +1 -1
- package/dist/{import-DMmOG27O.js → import-wyqXUyjm.js} +3 -3
- package/dist/{index-Chrs5fQ-.d.ts → index-B8YjkEZ4.d.ts} +6 -6
- package/dist/{index-CxGUswIC.d.ts → index-C-6Letxg.d.ts} +5 -5
- package/dist/{index-SGdIQyzc.d.ts → index-Ch8LpNDp.d.ts} +2 -2
- package/dist/{index-D8EovfsP.d.ts → index-Cp_ilKi1.d.ts} +2 -2
- package/dist/{index-BcHcPyIo.d.ts → index-CueFnxQc.d.ts} +6 -6
- package/dist/{index-DOVf7RJv.d.ts → index-DuWxc5dt.d.ts} +21 -12
- package/dist/index.d.ts +17 -17
- package/dist/index.js +14 -14
- package/dist/{instance-options-Omfd793B.d.ts → instance-options-BsVpyGIk.d.ts} +1 -1
- package/dist/{instance-snapshot-Cxq4ygFc.js → instance-snapshot-BOEhcqIF.js} +10 -9
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-5JatXyND.js → kernel-D0NVb1cK.js} +5 -5
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{manifest-CtKR3GXL.js → manifest-dvL2XEe1.js} +23 -23
- package/dist/{map-error-TCAdw-eW.js → map-error-Dr70oA_3.js} +1 -1
- package/dist/mcp/index.d.ts +9 -9
- package/dist/mcp/index.js +4 -4
- package/dist/{migrate-BShP7Vf4.js → migrate-CIq4-E9F.js} +1 -1
- package/dist/nest/index.d.ts +5 -5
- package/dist/nest/index.js +3 -3
- package/dist/next/index.d.ts +9 -9
- package/dist/next/index.js +3 -3
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +5 -5
- package/dist/node/index.js +2 -2
- package/dist/openai/index.d.ts +5 -5
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +3 -3
- package/dist/{openapi-ahr8rHu3.js → openapi-C4dDTVEd.js} +1 -1
- package/dist/{openapi-DTaEmTSW.js → openapi-DD1SV-5-.js} +1 -1
- package/dist/{operations-CxybZErY.d.ts → operations-X0VM7F3m.d.ts} +1 -1
- package/dist/orpc/index.d.ts +6 -6
- package/dist/orpc/index.js +3 -3
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-Dyw8fyPF.js → output-1im__-08.js} +1 -1
- package/dist/{ownership-BatFgAA4.js → ownership-DqaJNJPn.js} +921 -858
- package/dist/{parse-local-manifest-DgqtruPn.d.ts → parse-local-manifest-5ODwqu8b.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-B9JxkBwC.js → permdock-BrAscV28.js} +5 -5
- package/dist/{permdock-D7eeLJER.d.ts → permdock-SV8ZINYT.d.ts} +4 -4
- package/dist/{permissions-CZKiUfFM.js → permissions-BPxlwVhN.js} +2 -2
- package/dist/{permissions-oEWfl-kl.d.ts → permissions-u_KHg-sN.d.ts} +1 -1
- package/dist/{policies-CO1oOymN.js → policies-DP2nqRoF.js} +1 -1
- package/dist/{policy-Czo4n3Hs.d.ts → policy-77FSAq_V.d.ts} +2 -2
- package/dist/{policy-DLZJ5gAp.js → policy-DbM5YYtV.js} +2 -2
- package/dist/{policy-from-catalog-DzhEc3Y9.js → policy-from-catalog-C2gMa2Dj.js} +5 -5
- package/dist/{policy-types-DzwivBgR.d.ts → policy-types-n0uRTsW8.d.ts} +28 -3
- package/dist/{postgrest-NUqZT-RB.d.ts → postgrest-CEgRbefE.d.ts} +1 -1
- package/dist/{postgrest-CW0IqC-U.js → postgrest-DAjUkF9w.js} +10 -1
- package/dist/{powersync-bYUDLOAO.js → powersync-BkWWCS1K.js} +6 -6
- package/dist/{powersync-BHfuehf3.js → powersync-DISt6SUe.js} +2 -2
- package/dist/powersync-MMJ2mI2q.js +1 -0
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{problem-details-DXlt-vks.d.ts → problem-details-B45V5d2b.d.ts} +1 -1
- package/dist/{protected-DfjY5mLA.js → protected-BlF0F6wL.js} +1 -1
- package/dist/{protected-DEPHc2xV.d.ts → protected-RFGpakN9.d.ts} +5 -5
- package/dist/{provider-CC-u3bYP.js → provider-B1al-AZz.js} +2 -2
- package/dist/{provider-DMVt6yYn.d.ts → provider-DILL9oPK.d.ts} +1 -1
- package/dist/{provider-store-B5Yrkhzr.js → provider-store-DM6DNcta.js} +2 -2
- package/dist/pull-CvpINcMK.js +1 -0
- package/dist/{pull-BgIfno6w.js → pull-jEwbf80J.js} +1 -1
- package/dist/{push-CmFVBOeI.js → push-BD4f15co.js} +2 -2
- package/dist/{pushed-policy-DobP7AHI.js → pushed-policy-CqtxkV4G.js} +1 -1
- package/dist/{pushed-policy-BImMTTIM.d.ts → pushed-policy-DCW91KQU.d.ts} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +2 -2
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +9 -9
- package/dist/react-native/index.js +10 -8
- package/dist/{replay-D7iKcLFe.d.ts → replay-Bkm-Ne4l.d.ts} +1 -1
- package/dist/{request-context-BTRTG7OT.js → request-context-C81Pip9n.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{rls-BA8an5Ap.js → rls-BAqP4q66.js} +1 -1
- package/dist/{rls-j6t43t7n.js → rls-DTvYd-lI.js} +12 -12
- package/dist/{role-builder-CXbis5-X.js → role-builder-uWQZ4v84.js} +1 -1
- package/dist/{rpc-aPyNi6tA.js → rpc-VSl5ylaQ.js} +1 -1
- package/dist/{run-DOfMtc9V.js → run-CUKuz0A8.js} +2 -2
- package/dist/run-DDwUaJDU.js +1 -0
- package/dist/{run-ticket-BjhTOi6u.d.ts → run-ticket-DocwaTKn.d.ts} +2 -2
- package/dist/{saas-FO-Q8oj0.js → saas-BCXRuXca.js} +5 -5
- package/dist/{scan-BOI5tJ-6.js → scan-qvOe0hS3.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +4 -4
- package/dist/{server-DqCT4CgZ.js → server-C3WXAHZj.js} +1 -1
- package/dist/{server-types-BLd4MnBX.d.ts → server-types-CKQiCnON.d.ts} +9 -9
- package/dist/{shared-CD11nBbC.js → shared-BAK8t4Uo.js} +2 -1
- package/dist/{sink-Bj_lDUDq.d.ts → sink-4-eQIRWf.d.ts} +4 -4
- package/dist/{snapshot-CXUWfsNy.js → snapshot-B7DkYg6g.js} +1 -1
- package/dist/{snapshot-cache-DqK9eDmM.d.ts → snapshot-cache-PXI-vGpY.d.ts} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +3 -3
- package/dist/{sources-BV9j0DeZ.d.ts → sources-Xc4zkszI.d.ts} +2 -2
- package/dist/{src-DLfUWFAI.js → src-Cu2m75uo.js} +24 -15
- package/dist/ssf/index.d.ts +3 -3
- package/dist/ssf/index.js +1 -1
- package/dist/{standard-webhooks-6lg8v_is.d.ts → standard-webhooks-rbD7LS6h.d.ts} +2 -2
- package/dist/{store-4u_hxjWa.js → store-BDutJkDL.js} +1 -1
- package/dist/{store-options-BqEakYRa.js → store-options-u0ycEe8s.js} +4 -4
- package/dist/{stores-ClZUgeoP.d.ts → stores-BUGNbJTt.d.ts} +5 -5
- package/dist/{stores-BbsD4fAR.js → stores-CGhM8BN_.js} +1 -1
- package/dist/{stream-7-xmnf3U.d.ts → stream-CeCMJmBB.d.ts} +2 -2
- package/dist/supabase/index.d.ts +5 -5
- package/dist/supabase/index.js +2 -2
- package/dist/supabase/middleware.d.ts +6 -6
- package/dist/supabase/middleware.js +5 -5
- package/dist/{supabase-9pqI57pW.js → supabase-By_frk3U.js} +2 -2
- package/dist/{supabase-hook-DdDQhMlw.js → supabase-hook-BMoEhZir.js} +14 -9
- package/dist/supabase-hook-CCw5m35C.js +1 -0
- package/dist/{supabase-Dxlp8A94.js → supabase-x5JtR2tc.js} +3 -3
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +2 -2
- 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 +1 -1
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/sveltekit/index.js +2 -2
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/tanstack-start/index.js +2 -2
- package/dist/terminal/index.d.ts +6 -6
- package/dist/terminal/index.js +3 -3
- package/dist/testing/index.d.ts +20 -20
- package/dist/testing/index.js +18 -18
- package/dist/testing/saas/index.d.ts +5 -5
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.d.ts +1 -1
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +6 -6
- package/dist/trpc/index.js +3 -3
- package/dist/{types-C8-KNsFf.d.ts → types-8RnwUAvE.d.ts} +5 -5
- package/dist/{types-BNORmDM8.d.ts → types-B3_ooZgZ.d.ts} +4 -4
- package/dist/{types-CCpc2Dcv.d.ts → types-BdtSDbBO.d.ts} +2 -2
- package/dist/{types-DX0LaKTb.d.ts → types-BtHtcKMr.d.ts} +3 -3
- package/dist/{types-CdlxsYQh.d.ts → types-BzzaHxt3.d.ts} +1 -1
- package/dist/{types-DiQjupG2.d.ts → types-C791HFu9.d.ts} +2 -2
- package/dist/{types-BjV-fqcA.d.ts → types-C863OQiR.d.ts} +4 -4
- package/dist/{types-fbZ7JEXr.d.ts → types-CVZSNocA.d.ts} +4 -4
- package/dist/{types-tIgIeIKJ.d.ts → types-CX7AvRqP.d.ts} +4 -4
- package/dist/{types-_sHy8BQf.d.ts → types-C_IiEs64.d.ts} +1 -1
- package/dist/{types-5Ut_pbKy.d.ts → types-Dfv0aTER.d.ts} +4 -2
- package/dist/{types-CZTnPFzM.d.ts → types-Druu9wLM.d.ts} +2 -2
- package/dist/{types-ClZaWzfb.d.ts → types-_WhUP7ud.d.ts} +3 -3
- package/dist/{types-BqAKcRNW.d.ts → types-lUlG3TVd.d.ts} +2 -2
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DHtE8j4E.js → usage-CRVl9V3t.js} +1 -1
- package/dist/usage-CZpSQP6L.js +1 -0
- package/dist/{usage-T5mXq98v.js → usage-SveTRTyr.js} +4 -4
- package/dist/{validation-error-Bg5Tpluk.d.ts → validation-error-DHUrAkku.d.ts} +1 -1
- package/dist/{verify-DbCL9bnB.js → verify-BaAKx7t6.js} +11 -11
- package/dist/{vocabulary-D6lPdb4Z.d.ts → vocabulary-CN8H_9UF.d.ts} +2 -0
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-CKy4MQSY.d.ts → waiter-B986w1oK.d.ts} +2 -2
- package/dist/watch--ovlPOc0.js +1 -0
- package/dist/{watch-CszoTJMq.js → watch-vea54PRw.js} +1 -1
- package/dist/webmcp/index.d.ts +2 -2
- package/dist/{where-scope-Dv-WTP-w.js → where-scope-C9vfEphl.js} +2 -2
- package/dist/{who-can-D0QoYbEb.js → who-can-DWBAcaCQ.js} +2 -2
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +2 -2
- package/dist/workflow-sdk/index.d.ts +5 -5
- package/dist/{wrap-Bd1Tejur.d.ts → wrap-C5jC6sKI.d.ts} +2 -2
- package/package.json +2 -2
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/skills/permdock-tenancy/references/ownership-and-custom-roles.md +1 -0
- package/dist/catalog-DjhMYYCq.js +0 -1
- package/dist/collect-FlXJlhus.js +0 -1
- package/dist/powersync-CbzkqL_M.js +0 -1
- package/dist/pull-ByOks_Tg.js +0 -1
- package/dist/run-CNsApDpd.js +0 -1
- package/dist/supabase-hook-CXcGpHqq.js +0 -1
- package/dist/usage-CHOtwL19.js +0 -1
- package/dist/watch-Cb-NcaUw.js +0 -1
|
@@ -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-ua2hHy7w.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
|
-
const { runCodemod } = await import("./codemod-
|
|
25
|
+
const { runCodemod } = await import("./codemod-ua2hHy7w.js");
|
|
26
26
|
return runCodemod({
|
|
27
27
|
cwd: ctx.cwd,
|
|
28
28
|
version: args["version"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-CWTY6uih.js";
|
|
2
2
|
import { a as rel } from "./files-D_JIzUrP.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-dvL2XEe1.js";
|
|
5
5
|
import { i as renameMessage, n as DEFAULT_CHANGES, r as flagRename, t as COMMAND_MOVES } from "./renames-CGj7YwcQ.js";
|
|
6
6
|
import { r as refuseDirty, t as applyFiles } from "./files-C5ZI27eV.js";
|
|
7
7
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
@@ -29,10 +29,10 @@ 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
|
-
const { watchCollect } = await import("./watch
|
|
32
|
+
const { watchCollect } = await import("./watch--ovlPOc0.js");
|
|
33
33
|
return watchCollect(ctx, overrides);
|
|
34
34
|
}
|
|
35
|
-
const result = await (await import("./collect-
|
|
35
|
+
const result = await (await import("./collect-D7eQDffE.js")).runCollect({
|
|
36
36
|
cwd: ctx.cwd,
|
|
37
37
|
config: ctx.config,
|
|
38
38
|
collect: overrides,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { r as runCollect } from "./collect-mLTY4nwb.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { T as isOperationEffect } from "./src-
|
|
2
|
+
import { T as isOperationEffect } from "./src-Cu2m75uo.js";
|
|
3
3
|
import { o as isPermission } from "./permission-registry-Br4jSNVi.js";
|
|
4
4
|
import { r as isOperationRisk } from "./permissions-B-wCP5ZC.js";
|
|
5
5
|
import { a as describeError, i as configError } from "./errors-CWTY6uih.js";
|
|
6
6
|
import { a as rel, r as listSourceFiles, s as writeFileEnsuringDir, t as defaultSrcPath } from "./files-D_JIzUrP.js";
|
|
7
|
-
import { a as formatCatalogJson, n as catalogForCompare, t as buildCatalog } from "./catalog-doc-
|
|
7
|
+
import { a as formatCatalogJson, n as catalogForCompare, t as buildCatalog } from "./catalog-doc-Cdn7-0pQ.js";
|
|
8
8
|
import { a as loadModule, i as loadConfiguredPolicy, r as leavesOf, s as pickNamed, t as asPermissionTree } from "./load-DFS_ry0W.js";
|
|
9
9
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
10
10
|
import { t as shortDiff } from "./text-diff-BQcUapOb.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-B-dsAT6j.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-1bsAezL0.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 { Rt as Instant,
|
|
2
|
-
import { N as ResourceNode } from "./vocabulary-
|
|
3
|
-
import { c as WhereResult } from "./permdock-
|
|
1
|
+
import { Rt as Instant, ar as Subject, cn as Scope, ur as Condition } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { N as ResourceNode } from "./vocabulary-CN8H_9UF.js";
|
|
3
|
+
import { c as WhereResult } from "./permdock-SV8ZINYT.js";
|
|
4
4
|
import { r as RelationsMapping, t as GraphSql } from "./graph-sql-B-dsAT6j.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-CWTY6uih.js";
|
|
2
2
|
import { a as suggestion, o as GLOBAL_FLAGS } from "./args-IIolxxKA.js";
|
|
3
|
-
import { a as resolve } from "./manifest-
|
|
3
|
+
import { a as resolve } from "./manifest-dvL2XEe1.js";
|
|
4
4
|
import { t as defineLeaf } from "./command-L8EstFNm.js";
|
|
5
5
|
//#region src/cli/core/completion.ts
|
|
6
6
|
const SHELLS = [
|
|
@@ -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-DSpsLpCE.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-D_JIzUrP.js";
|
|
2
2
|
import { r as CONFIG_REPORT_SCHEMA } from "./version-CEbQ5UeM.js";
|
|
3
|
-
import { n as guessPermissions, t as barrelFile } from "./collect-
|
|
3
|
+
import { n as guessPermissions, t as barrelFile } from "./collect-mLTY4nwb.js";
|
|
4
4
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
5
5
|
import "./sources-vs5dGOsS.js";
|
|
6
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
+
import { t as DOCS_BASE } from "./manifest-dvL2XEe1.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) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { i as isPromiseLike } from "./store-options-
|
|
3
|
-
import { n as switchTenant, t as providerStore } from "./provider-store-
|
|
2
|
+
import { i as isPromiseLike } from "./store-options-u0ycEe8s.js";
|
|
3
|
+
import { n as switchTenant, t as providerStore } from "./provider-store-DM6DNcta.js";
|
|
4
4
|
import { getContext, onDestroy, setContext } from "svelte";
|
|
5
5
|
import { toStore } from "svelte/store";
|
|
6
6
|
//#region src/svelte/context.ts
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Policy, j as PolicyVocabulary, rr as Principal } from "../policy-types-
|
|
2
|
-
import { w as Permission } from "../vocabulary-
|
|
3
|
-
import { r as PermDock } from "../permdock-
|
|
4
|
-
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-
|
|
5
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
1
|
+
import { T as Policy, j as PolicyVocabulary, rr as Principal } from "../policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "../vocabulary-CN8H_9UF.js";
|
|
3
|
+
import { r as PermDock } from "../permdock-SV8ZINYT.js";
|
|
4
|
+
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-DH5QEGXh.js";
|
|
5
|
+
import { t as InstanceOptions } from "../instance-options-BsVpyGIk.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-ZfUHbKvf.js";
|
|
3
3
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-BKy0EfhN.js";
|
|
4
|
-
import { c as withApp } from "../permdock-
|
|
5
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
4
|
+
import { c as withApp } from "../permdock-BrAscV28.js";
|
|
5
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-Bu_eDqYw.js";
|
|
6
6
|
import { n as tenantScope, t as actorFrom } from "../adapter-context-CRhqyzCk.js";
|
|
7
7
|
//#region src/convex/create.ts
|
|
8
8
|
/** Convex's runtime sends `data` to the client only for an error carrying this symbol. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ln as DeniedDecision, Mn as ApprovalRequiredDecision, T as Policy,
|
|
2
|
-
import { t as Operation } from "./operations-
|
|
3
|
-
import { i as PermDockOptions, p as PrincipalSource, r as PermDock } from "./permdock-
|
|
4
|
-
import { m as ApprovalStore, p as ApprovalStatus } from "./types-
|
|
1
|
+
import { Ln as DeniedDecision, Mn as ApprovalRequiredDecision, T as Policy, ar as Subject, j as PolicyVocabulary, rr as Principal, zn as GrantedDecision } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { t as Operation } from "./operations-X0VM7F3m.js";
|
|
3
|
+
import { i as PermDockOptions, p as PrincipalSource, r as PermDock } from "./permdock-SV8ZINYT.js";
|
|
4
|
+
import { m as ApprovalStore, p as ApprovalStatus } from "./types-BdtSDbBO.js";
|
|
5
5
|
import { n as ApprovalErrorCode } from "./errors-BWXBMaKK.js";
|
|
6
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
6
|
+
import { t as ApprovalPrompt } from "./approval-prompt-DvSSPQJX.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
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $n as Delegation, Nn as Decision, T as Policy,
|
|
2
|
-
import { w as Permission } from "./vocabulary-
|
|
3
|
-
import { t as Operation } from "./operations-
|
|
4
|
-
import { r as PermDock } from "./permdock-
|
|
5
|
-
import { m as ApprovalStore } from "./types-
|
|
6
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
1
|
+
import { $n as Delegation, Nn as Decision, T as Policy, ar as Subject, j as PolicyVocabulary, rr as Principal } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "./vocabulary-CN8H_9UF.js";
|
|
3
|
+
import { t as Operation } from "./operations-X0VM7F3m.js";
|
|
4
|
+
import { r as PermDock } from "./permdock-SV8ZINYT.js";
|
|
5
|
+
import { m as ApprovalStore } from "./types-BdtSDbBO.js";
|
|
6
|
+
import { t as InstanceOptions } from "./instance-options-BsVpyGIk.js";
|
|
7
7
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
9
|
-
import { o as OtelWrap } from "./types-
|
|
10
|
-
import { t as DeniedText } from "./denied-text-
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-C5jC6sKI.js";
|
|
9
|
+
import { o as OtelWrap } from "./types-lUlG3TVd.js";
|
|
10
|
+
import { t as DeniedText } from "./denied-text-CiFQNuMV.js";
|
|
11
11
|
//#region src/agent/types.d.ts
|
|
12
12
|
/** The part of an operation a tool decision reads; an `OperationMap` entry is one. */
|
|
13
13
|
type ToolBinding = Pick<Operation, "permission" | "data" | "results"> & Partial<Pick<Operation, "name" | "meta">>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-CrU8nQeX.js";
|
|
3
|
-
import { a as deniedFor } from "./where-scope-
|
|
4
|
-
import { c as withApp } from "./permdock-
|
|
3
|
+
import { a as deniedFor } from "./where-scope-C9vfEphl.js";
|
|
4
|
+
import { c as withApp } from "./permdock-BrAscV28.js";
|
|
5
5
|
import { t as composeWraps } from "./wrap-gX61EtpB.js";
|
|
6
|
-
import { r as instanceOptions } from "./build-instance-
|
|
7
|
-
import { n as createAgentKernel } from "./kernel-
|
|
6
|
+
import { r as instanceOptions } from "./build-instance-Bu_eDqYw.js";
|
|
7
|
+
import { n as createAgentKernel } from "./kernel-D0NVb1cK.js";
|
|
8
8
|
//#region src/agent/create.ts
|
|
9
9
|
function modelRow(modelId) {
|
|
10
10
|
return { id: modelId };
|
|
@@ -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-CrU8nQeX.js";
|
|
3
3
|
import { i as dateAt, p as nowSeconds } from "./time-DkWjdL98.js";
|
|
4
|
-
import { s as policyDocumentFromClaims } from "./hosted-
|
|
4
|
+
import { s as policyDocumentFromClaims } from "./hosted-B46-5LYE.js";
|
|
5
5
|
import { l as isApprovalErrorCode, s as ApprovalError, t as APPROVAL_HEADER } from "./types-DqzsnlSA.js";
|
|
6
6
|
import { h as toCloudEvent, l as isAbsoluteUri } from "./sink-BEZSlMS_.js";
|
|
7
7
|
import { n as parseCatalogEventData, t as catalogFingerprint } from "./catalog-fingerprint-CCP0-yQS.js";
|
|
@@ -3,13 +3,13 @@ import { n as freezeDeep } from "./freeze-CrU8nQeX.js";
|
|
|
3
3
|
import { n as problemDetails } from "./problem-details-cn5X30gZ.js";
|
|
4
4
|
import { c as listPermissions } from "./permission-registry-Br4jSNVi.js";
|
|
5
5
|
import { n as resourceRef } from "./resource-ref-CaS9yVPi.js";
|
|
6
|
-
import { c as withApp, i as challengeScope } from "./permdock-
|
|
6
|
+
import { c as withApp, i as challengeScope } from "./permdock-BrAscV28.js";
|
|
7
7
|
import { r as hasCredentials } from "./http-BBoKefeS.js";
|
|
8
8
|
import { i as decisionResponse, o as notFoundProblem, s as problemFromDecision, t as ANONYMOUS, u as unauthenticatedProblem } from "./problem-CTviyH5L.js";
|
|
9
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
10
|
-
import { n as applyApprovalResume, o as evaluationsHandler, u as InvalidSignatureError } from "./evaluations-
|
|
9
|
+
import { n as resolveOrNull } from "./build-instance-Bu_eDqYw.js";
|
|
10
|
+
import { n as applyApprovalResume, o as evaluationsHandler, u as InvalidSignatureError } from "./evaluations-beAooV0n.js";
|
|
11
11
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-CRhqyzCk.js";
|
|
12
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
12
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-C81Pip9n.js";
|
|
13
13
|
//#region src/server/kernel-problems.ts
|
|
14
14
|
const NOT_DELEGATED = freezeDeep({
|
|
15
15
|
outcome: "denied",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Nn as Decision, Pn as Denial, Rt as Instant, T as Policy, dt as TokenVerifier, j as PolicyVocabulary, qt as AuthEvent, rr as Principal, ut as TokenSigner } from "./policy-types-
|
|
2
|
-
import { w as Permission } from "./vocabulary-
|
|
3
|
-
import { i as PermDockOptions, p as PrincipalSource, r as PermDock, t as DecideOptions } 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 { n as RunAutomation, r as RunBinding } from "./run-ticket-
|
|
1
|
+
import { Nn as Decision, Pn as Denial, Rt as Instant, T as Policy, dt as TokenVerifier, j as PolicyVocabulary, qt as AuthEvent, rr as Principal, ut as TokenSigner } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "./vocabulary-CN8H_9UF.js";
|
|
3
|
+
import { i as PermDockOptions, p as PrincipalSource, r as PermDock, t as DecideOptions } from "./permdock-SV8ZINYT.js";
|
|
4
|
+
import { m as ApprovalStore } from "./types-BdtSDbBO.js";
|
|
5
|
+
import { a as AutomationSource } from "./automation-BNM3TtDo.js";
|
|
6
|
+
import { n as ApprovalWaiter } from "./waiter-B986w1oK.js";
|
|
7
|
+
import { n as RunAutomation, r as RunBinding } from "./run-ticket-DocwaTKn.js";
|
|
8
8
|
//#region src/workflow/create.d.ts
|
|
9
9
|
type WorkflowPermDockOptions = PermDockOptions & {
|
|
10
10
|
/** Signs the run tickets `start` mints. */
|
|
@@ -7,8 +7,8 @@ import { c as listPermissions, h as formerKeys } from "./permission-registry-Br4
|
|
|
7
7
|
import { g as secondsOf, l as isRfc3339, m as rfc3339, p as nowSeconds } from "./time-DkWjdL98.js";
|
|
8
8
|
import { t as canonicalJson } from "./canonical-json-BC8_nMTw.js";
|
|
9
9
|
import { r as sha256Digest } from "./sha256-D9ihqmvd.js";
|
|
10
|
-
import { n as coveredByDelegation } from "./delegation-
|
|
11
|
-
import { o as flattenGrantee } from "./grantee-
|
|
10
|
+
import { n as coveredByDelegation } from "./delegation-j6-rc37o.js";
|
|
11
|
+
import { o as flattenGrantee } from "./grantee-hxrUsbpM.js";
|
|
12
12
|
import { t as anonymousSubject } from "./subject-BGoM5o8B.js";
|
|
13
13
|
//#region src/core/credential.ts
|
|
14
14
|
/** A feed id: lowercase, so a mail system that lowercases a local part still matches. At most 16 characters, so `pdfeed_<id>_<secret>` fits an email local part. */
|
|
@@ -6,9 +6,9 @@ import { g as formerScopes, m as annotationsFor, n as findPermission } from "./p
|
|
|
6
6
|
import { o as epochSeconds } from "./time-DkWjdL98.js";
|
|
7
7
|
import { d as scopeList, m as tenantOf, o as resolveScope, p as subjectMemberships } from "./scopes-CUPSjo9q.js";
|
|
8
8
|
import { t as isoInstant } from "./instant-BluqDvyS.js";
|
|
9
|
-
import { o as flattenGrantee } from "./grantee-
|
|
9
|
+
import { o as flattenGrantee } from "./grantee-hxrUsbpM.js";
|
|
10
10
|
import { t as isActive } from "./validity-CZ7-y0Cj.js";
|
|
11
|
-
import { n as matchGrantee } from "./grantee-match-
|
|
11
|
+
import { n as matchGrantee } from "./grantee-match-DbENBHLB.js";
|
|
12
12
|
//#region src/conditions/evaluate.ts
|
|
13
13
|
function resolveRef(ref, subject) {
|
|
14
14
|
return resolveConditionRef(ref, subject);
|
package/dist/delivery/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as DeliveryFailureCause, Zt as DeliveryChannel, tn as EmailCategory } from "../policy-types-
|
|
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 { a as DeliveryPermDock, c as MemoryDelivery, d as memoryDeliveryTransport, f as Audience, g as subscribersFor, h as audience, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as SubscriberEvent, n as webhookTransport, o as DeliveryPermDockOptions, p as AudienceOptions, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions } from "../index-
|
|
1
|
+
import { $t as DeliveryFailureCause, Zt as DeliveryChannel, tn as EmailCategory } from "../policy-types-n0uRTsW8.js";
|
|
2
|
+
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-DvSSPQJX.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-BtHtcKMr.js";
|
|
4
|
+
import { a as DeliveryPermDock, c as MemoryDelivery, d as memoryDeliveryTransport, f as Audience, g as subscribersFor, h as audience, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as SubscriberEvent, n as webhookTransport, o as DeliveryPermDockOptions, p as AudienceOptions, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions } from "../index-CueFnxQc.js";
|
|
5
5
|
export { type ApprovalPrompt, type ApprovalUrl, type Audience, type AudienceOptions, type ChatMessage, type ChatTransport, 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 Recipient, type SubscriberEvent, type TransportItem, type TransportMessages, type TransportOptions, type WebhookMessage, type WebhookTransport, type WebhookTransportOptions, approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, subscribersFor, webhookTransport };
|
package/dist/delivery/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as approvalUrlFor, t as approvalPrompt } from "../approval-prompt-Dg5LeAcT.js";
|
|
2
|
-
import { n as subscribersFor, t as audience } from "../audience-
|
|
2
|
+
import { n as subscribersFor, t as audience } from "../audience-DabClFLQ.js";
|
|
3
3
|
import { i as isDeliveryTarget, n as isAddrSpec } from "../target-Bw37TFNA.js";
|
|
4
4
|
import { n as createPermDock, r as memoryDeliveryTransport, t as webhookTransport } from "../delivery-DCAgNyCn.js";
|
|
5
5
|
export { approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, subscribersFor, webhookTransport };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Nn as Decision } from "./policy-types-
|
|
2
|
-
import { w as Permission } from "./vocabulary-
|
|
1
|
+
import { Nn as Decision } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "./vocabulary-CN8H_9UF.js";
|
|
3
3
|
//#region src/agent/denied-text.d.ts
|
|
4
4
|
/** What an agent adapter's `deniedText` receives: the refusal and the text PermDock wrote for it. */
|
|
5
5
|
type DeniedTextEvent = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { In as DenialReason, Ln as DeniedDecision, Nn as Decision } from "./policy-types-
|
|
2
|
-
import { w as Permission } from "./vocabulary-
|
|
1
|
+
import { In as DenialReason, Ln as DeniedDecision, Nn as Decision } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "./vocabulary-CN8H_9UF.js";
|
|
3
3
|
//#region src/core/describe.d.ts
|
|
4
4
|
type DecisionDescription = {
|
|
5
5
|
readonly kind: "granted" | "denied" | "approval" | "tenant" | "delegation" | "server-only" | "upgrade";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as memoryCustomRoleSource } from "./src-
|
|
1
|
+
import { E as memoryCustomRoleSource } from "./src-Cu2m75uo.js";
|
|
2
2
|
import { n as findPermission } from "./permission-registry-Br4jSNVi.js";
|
|
3
3
|
import { g as secondsOf } from "./time-DkWjdL98.js";
|
|
4
4
|
import { t as canonicalJson } from "./canonical-json-BC8_nMTw.js";
|
|
5
|
-
import { t as getPermDock } from "./permdock-
|
|
5
|
+
import { t as getPermDock } from "./permdock-BrAscV28.js";
|
|
6
6
|
import { i as configError, u as usageResult } from "./errors-CWTY6uih.js";
|
|
7
|
-
import { t as buildCatalog } from "./catalog-doc-
|
|
7
|
+
import { t as buildCatalog } from "./catalog-doc-Cdn7-0pQ.js";
|
|
8
8
|
import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-DFS_ry0W.js";
|
|
9
9
|
import { t as parseCatalog } from "./parse-Cxq0WxrA.js";
|
|
10
10
|
import { t as operationFindings } from "./operation-findings-DgATDpvh.js";
|
|
@@ -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-3jbx6Rm4.js")).runDiff({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
sources: [args["before"], args["after"]].filter((value) => value !== void 0),
|
|
@@ -10,7 +10,7 @@ const doctor = defineLeaf({
|
|
|
10
10
|
description: "Check codes or groups to run",
|
|
11
11
|
valueHint: "code",
|
|
12
12
|
async complete() {
|
|
13
|
-
const { DOCTOR_CHECKS } = await import("./doctor-
|
|
13
|
+
const { DOCTOR_CHECKS } = await import("./doctor-BdZw53-k.js");
|
|
14
14
|
return [.../* @__PURE__ */ new Set([...DOCTOR_CHECKS.map(({ code }) => code), ...DOCTOR_CHECKS.flatMap(({ groups }) => groups)])];
|
|
15
15
|
}
|
|
16
16
|
},
|
|
@@ -27,7 +27,7 @@ const doctor = defineLeaf({
|
|
|
27
27
|
if (answer === void 0) return CANCELLED;
|
|
28
28
|
fix = answer;
|
|
29
29
|
}
|
|
30
|
-
return (await import("./doctor-
|
|
30
|
+
return (await import("./doctor-BdZw53-k.js")).runDoctor({
|
|
31
31
|
cwd: ctx.cwd,
|
|
32
32
|
config: ctx.config,
|
|
33
33
|
only: flags.only,
|
|
@@ -3,17 +3,17 @@ import { c as listPermissions, h as formerKeys } from "./permission-registry-Br4
|
|
|
3
3
|
import { u as isPrincipalRelation } from "./resource-relations-D_jw0BFx.js";
|
|
4
4
|
import { t as canonicalJson } from "./canonical-json-BC8_nMTw.js";
|
|
5
5
|
import { a as normalizeMemberships, d as scopeList, o as resolveScope } from "./scopes-CUPSjo9q.js";
|
|
6
|
-
import { o as flattenGrantee } from "./grantee-
|
|
7
|
-
import { c as separationConflicts } from "./policy-
|
|
8
|
-
import {
|
|
9
|
-
import { s as parseCredential } from "./credential-
|
|
6
|
+
import { o as flattenGrantee } from "./grantee-hxrUsbpM.js";
|
|
7
|
+
import { c as separationConflicts } from "./policy-DbM5YYtV.js";
|
|
8
|
+
import { C as validateCustomRole } from "./evaluate-CNClBvcj.js";
|
|
9
|
+
import { s as parseCredential } from "./credential-BcoiejpY.js";
|
|
10
10
|
import { a as describeError } from "./errors-CWTY6uih.js";
|
|
11
11
|
import { t as policyRowConditionKeys } from "./row-conditions-h2HythXQ.js";
|
|
12
12
|
import { a as rel, n as doctorSrcPath, o as sqlFiles, r as listSourceFiles } from "./files-D_JIzUrP.js";
|
|
13
13
|
import { i as DOCTOR_REPORT_SCHEMA } from "./version-CEbQ5UeM.js";
|
|
14
|
-
import { r as catalogOAuthScopes, s as jsonSchemaOf } from "./catalog-doc-
|
|
14
|
+
import { r as catalogOAuthScopes, s as jsonSchemaOf } from "./catalog-doc-Cdn7-0pQ.js";
|
|
15
15
|
import { a as loadModule, i as loadConfiguredPolicy, n as asPolicy, s as pickNamed } from "./load-DFS_ry0W.js";
|
|
16
|
-
import { r as runCollect } from "./collect-
|
|
16
|
+
import { r as runCollect } from "./collect-mLTY4nwb.js";
|
|
17
17
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
18
18
|
import { n as supabaseTenantClaim } from "./budget-NbEtbJC_.js";
|
|
19
19
|
import { s as quoteSqlLiteral } from "./sql-B5T1IL83.js";
|
|
@@ -21,19 +21,19 @@ import { d as keptKeys, r as PERMDOCK_SCHEMA } from "./sources-vs5dGOsS.js";
|
|
|
21
21
|
import { t as parseCatalog } from "./parse-Cxq0WxrA.js";
|
|
22
22
|
import "./markers-C6joDI3o.js";
|
|
23
23
|
import { t as didYouMean } from "./args-IIolxxKA.js";
|
|
24
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
24
|
+
import { t as DOCS_BASE } from "./manifest-dvL2XEe1.js";
|
|
25
25
|
import { t as createStyle } from "./style-Uao76wO7.js";
|
|
26
|
-
import { r as findingOf } from "./output-
|
|
26
|
+
import { r as findingOf } from "./output-1im__-08.js";
|
|
27
27
|
import { i as runSkillsInstall } from "./skills-B6lVdD_W.js";
|
|
28
28
|
import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-DcJABbLW.js";
|
|
29
29
|
import { l as partPath } from "./output-files-DhRBBE4n.js";
|
|
30
|
-
import { _ as pd045, a as supabaseHookManifest, f as pd039, g as attrsPlan, m as resolveSchemas, n as hookOut, v as readSupabaseConfig, y as supabaseConfig } from "./supabase-hook-
|
|
30
|
+
import { _ as pd045, a as supabaseHookManifest, f as pd039, g as attrsPlan, m as resolveSchemas, n as hookOut, v as readSupabaseConfig, y as supabaseConfig } from "./supabase-hook-BMoEhZir.js";
|
|
31
31
|
import { i as group, n as membershipColumns, o as sqlStatements, r as tableKey } from "./deciding-columns-Sq12mEA6.js";
|
|
32
|
-
import {
|
|
33
|
-
import { a as pd010, c as pd014, d as pd038, f as pd041, i as pd008, l as pd015, n as pd001, o as pd011, p as pd057, r as pd007, s as pd013, t as runUsage, u as pd036 } from "./usage-
|
|
34
|
-
import { d as rowConditionMessage, f as commandFor, i as graphPlan, m as tableFor, p as compileGrants, s as ROW_CONDITION_FIX, u as helperTablePolicies } from "./verify-
|
|
35
|
-
import { t as FIELD_VIEWS } from "./fields-
|
|
36
|
-
import { r as staleFiles, t as powersyncFiles } from "./powersync-
|
|
32
|
+
import { C as byKey, L as graphSqlName, N as contextRefs, a as guardedTables, t as ownershipRules } from "./ownership-DqaJNJPn.js";
|
|
33
|
+
import { a as pd010, c as pd014, d as pd038, f as pd041, i as pd008, l as pd015, n as pd001, o as pd011, p as pd057, r as pd007, s as pd013, t as runUsage, u as pd036 } from "./usage-SveTRTyr.js";
|
|
34
|
+
import { d as rowConditionMessage, f as commandFor, i as graphPlan, m as tableFor, p as compileGrants, s as ROW_CONDITION_FIX, u as helperTablePolicies } from "./verify-BaAKx7t6.js";
|
|
35
|
+
import { t as FIELD_VIEWS } from "./fields-OYG_JR78.js";
|
|
36
|
+
import { r as staleFiles, t as powersyncFiles } from "./powersync-BkWWCS1K.js";
|
|
37
37
|
import { n as legacyHelperNames, r as retirePlan, t as legacyHelperCalls } from "./retire-CALjIQ7e.js";
|
|
38
38
|
import { t as supautilsRejections } from "./supautils-B6HYL9eL.js";
|
|
39
39
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
package/dist/drizzle/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Rt as Instant,
|
|
2
|
-
import { c as WhereResult } from "../permdock-
|
|
1
|
+
import { Rt as Instant, ar as Subject, ur as Condition } from "../policy-types-n0uRTsW8.js";
|
|
2
|
+
import { c as WhereResult } from "../permdock-SV8ZINYT.js";
|
|
3
3
|
import { r as RelationsMapping } from "../graph-sql-B-dsAT6j.js";
|
|
4
|
-
import { s as MembershipsMapping } from "../compile-
|
|
4
|
+
import { s as MembershipsMapping } from "../compile-1bsAezL0.js";
|
|
5
5
|
import { n as WithSubjectOptions, t as RowCheck } from "../row-check-Dt35czLy.js";
|
|
6
6
|
import { SQL, Table } from "drizzle-orm";
|
|
7
7
|
//#region src/drizzle/types.d.ts
|
package/dist/elysia/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as Policy, j as PolicyVocabulary, rr as Principal } from "../policy-types-
|
|
2
|
-
import { w as Permission } from "../vocabulary-
|
|
3
|
-
import { r as PermDock } from "../permdock-
|
|
1
|
+
import { T as Policy, j as PolicyVocabulary, rr as Principal } from "../policy-types-n0uRTsW8.js";
|
|
2
|
+
import { w as Permission } from "../vocabulary-CN8H_9UF.js";
|
|
3
|
+
import { r as PermDock } from "../permdock-SV8ZINYT.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-R07lFBnX.js";
|
|
5
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-CKQiCnON.js";
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-DOyrv6zi.js";
|
|
7
7
|
import { Elysia } from "elysia";
|
|
8
8
|
//#region src/elysia/create.d.ts
|
|
9
9
|
type ElysiaRequestContext = {
|
package/dist/elysia/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as parsedBody, r as hasCredentials } from "../http-BBoKefeS.js";
|
|
2
|
-
import { d as discoverViaSignatureAgent, m as webBotAuthVerifier, u as InvalidSignatureError } from "../evaluations-
|
|
3
|
-
import { t as problemFromError } from "../map-error-
|
|
4
|
-
import { a as socketConnection, i as decorate, r as bindKernel } from "../bind-
|
|
2
|
+
import { d as discoverViaSignatureAgent, m as webBotAuthVerifier, u as InvalidSignatureError } from "../evaluations-beAooV0n.js";
|
|
3
|
+
import { t as problemFromError } from "../map-error-Dr70oA_3.js";
|
|
4
|
+
import { a as socketConnection, i as decorate, r as bindKernel } from "../bind-CAvgUuKs.js";
|
|
5
5
|
import { a as onRevoked, n as closeReason, t as POLICY_VIOLATION } from "../stream-CvdUS9V1.js";
|
|
6
6
|
import { Elysia } from "elysia";
|
|
7
7
|
//#region src/elysia/create.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Nn as Decision, an as WireDenial,
|
|
2
|
-
import { t as Disclosure } from "./problem-details-
|
|
1
|
+
import { Nn as Decision, an as WireDenial, ar as Subject } from "./policy-types-n0uRTsW8.js";
|
|
2
|
+
import { t as Disclosure } from "./problem-details-B45V5d2b.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
//#region src/core/errors.d.ts
|
|
5
5
|
/** Where and how a human approves; carries no secret. */
|