permdock 0.34.0 → 0.35.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/{adoption-scan-BPW1eWy5.js → adoption-scan-oaPsvHSN.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/app/index.d.ts +1 -1
- package/dist/{approval-prompt-CJvYBdja.d.ts → approval-prompt-BKxaKtby.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-DqzmZG-x.js → arazzo-1oDMApA_.js} +1 -1
- package/dist/{arazzo-BUXKjylF.js → arazzo-B2PszcDL.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/authzen/index.d.ts +6 -6
- package/dist/{automation-BqUmdFfe.d.ts → automation-C7WH5XcZ.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +13 -13
- package/dist/better-supabase/index.js +2 -2
- package/dist/{bind-Bwk9tt1z.d.ts → bind-BnrOLyJq.d.ts} +7 -7
- package/dist/{bsb-access-tags-Nv4nDQ2U.js → bsb-access-tags-uDuwPUbT.js} +2 -2
- package/dist/{bsb-action-keys-CYEREFMg.js → bsb-action-keys-BfZAwg-9.js} +1 -1
- package/dist/{capability-qoD_jlcI.d.ts → capability-BW-vAxJi.d.ts} +1 -1
- package/dist/{casbin-qEW6RfXA.js → casbin-DrdS0vLy.js} +1 -1
- package/dist/{casbin-CM9mWO1V.js → casbin-vtIUd-6L.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +2 -2
- package/dist/cli/index.d.ts +6 -6
- package/dist/cli/index.js +2 -2
- package/dist/cli/plugins/app.d.ts +1 -1
- package/dist/cli/plugins/app.js +1 -1
- package/dist/cli/plugins/better-supabase.d.ts +1 -1
- package/dist/cli/plugins/openapi.d.ts +1 -1
- package/dist/cli/plugins/openapi.js +1 -1
- package/dist/cli/plugins/powersync.d.ts +1 -1
- package/dist/cli/plugins/powersync.js +1 -1
- package/dist/cli/plugins/rls.d.ts +2 -2
- package/dist/cli/plugins/rls.js +1 -1
- package/dist/cli/plugins/schemas.d.ts +1 -1
- package/dist/cli/plugins/schemas.js +1 -1
- package/dist/cli/plugins/scim.d.ts +2 -2
- package/dist/cli/plugins/supabase-hook.d.ts +2 -2
- package/dist/cli/plugins/supabase-hook.js +1 -1
- package/dist/cli/plugins/supabase.d.ts +3 -3
- package/dist/cli/plugins/supabase.js +2 -2
- package/dist/cli/plugins/ui.d.ts +1 -1
- package/dist/cli/plugins/ui.js +1 -1
- package/dist/{client-subject-Dzo49nco.d.ts → client-subject-YAGMzRa-.d.ts} +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/{cloud-CNGblWX0.js → cloud-BQnIR-SS.js} +1 -1
- package/dist/{codemod-BtJFcsD7.js → codemod-C0OHCnaj.js} +6 -6
- package/dist/{codemod-Dlhxov9D.js → codemod-rv5XSBNw.js} +1 -1
- package/dist/{collect-CE5wK0AX.js → collect-Ba7ccZ23.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-nR1gQhXo.js → compile-BRDpja_Y.js} +2 -2
- package/dist/{compile-DNgpHgcK.d.ts → compile-CoUadQXF.d.ts} +2 -2
- package/dist/{completion-BIN9YXIe.js → completion-Dgjdte2-.js} +1 -1
- package/dist/{config-7QvEq57a.js → config-Dan6vcvj.js} +2 -2
- package/dist/{config-CoYhD6ur.js → config-anQ9E37F.js} +1 -1
- package/dist/{config-report-D_L1HXDb.js → config-report-C43BSFHY.js} +1 -1
- package/dist/{config-shape-BTojaD-H.js → config-shape-BODqM-rG.js} +1 -1
- package/dist/{context-D8tN3SZm.js → context-rioF4fQl.js} +1 -1
- package/dist/convex/index.d.ts +4 -4
- package/dist/{core-DPuDmlbL.d.ts → core-DCMIztx1.d.ts} +2 -2
- package/dist/{create-BKrKxipb.d.ts → create-BYL8xCJB.d.ts} +4 -4
- package/dist/{create-CdB9FCZh.d.ts → create-T_NqxU31.d.ts} +7 -7
- package/dist/{create-CdbVXh5I.d.ts → create-iCwrnaFE.d.ts} +6 -6
- package/dist/{credentials-Dl0-R2aB.d.ts → credentials-DzNrCNZY.d.ts} +2 -2
- package/dist/{define-permdock-4IkoNaB3.d.ts → define-permdock-Bhye7WSY.d.ts} +6 -6
- package/dist/{definition-options-DO0kIrB9.js → definition-options-DLBlRrPO.js} +1 -8
- package/dist/delivery/index.d.ts +4 -4
- package/dist/{denied-text-CllTzVJM.d.ts → denied-text-DgNqDAPH.d.ts} +1 -1
- package/dist/{describe-FT1oVN_o.d.ts → describe-DEoWvk00.d.ts} +1 -1
- package/dist/{doctor-Bn5OPJMB.js → doctor-GnMgqGO8.js} +25 -24
- package/dist/{doctor-C9lLeLp2.js → doctor-sAqU02Fx.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/{errors-BGosrHl8.d.ts → errors-BliKrfmP.d.ts} +1 -1
- package/dist/{evaluations-CaXNkxTp.d.ts → evaluations-CUkSKioS.d.ts} +3 -3
- package/dist/eve/index.d.ts +4 -4
- package/dist/{execute-DsHFIBuO.js → execute-xF5fwAel.js} +3 -3
- package/dist/express/index.d.ts +4 -4
- package/dist/fastify/index.d.ts +4 -4
- package/dist/{fetch-adapter-Dci9NnyZ.d.ts → fetch-adapter-Ds2-fUUi.d.ts} +2 -2
- package/dist/gen-BPYFr_tZ.js +1 -0
- package/dist/{gen-Fi4GcvIY.js → gen-djPw1RS-.js} +2 -2
- package/dist/{gen-kind-DR2-to9P.js → gen-kind-Vhq_ZIZm.js} +1 -1
- package/dist/{generate-BSD_eI61.js → generate-BcH-uL0z.js} +10 -10
- package/dist/{generate-QEHCJSyv.js → generate-CYHeuPq8.js} +3 -3
- package/dist/{generate-options-BZ2nqy28.js → generate-options-DDSeUTFU.js} +6 -6
- package/dist/h3/index.d.ts +4 -4
- package/dist/hono/index.d.ts +4 -4
- package/dist/{hook-sql-CbkH78FC.js → hook-sql-EksAnz-T.js} +7 -7
- package/dist/{hosted-BISipW6F.d.ts → hosted-DZgmEG4b.d.ts} +1 -1
- package/dist/identity-scopes-CRVAV0HU.js +11 -0
- package/dist/{import-DppjSugv.js → import-C45gc74U.js} +1 -1
- package/dist/{index-giCl-aQY.d.ts → index-BOJPdIBk.d.ts} +4 -4
- package/dist/{index-Co_e22iJ.d.ts → index-CAE_Z53Y.d.ts} +1 -1
- package/dist/{index-BF4IlvkT.d.ts → index-CWBCzwOp.d.ts} +4 -4
- package/dist/{index-BDJ2OZvV.d.ts → index-Cjr8Q-uq.d.ts} +6 -6
- package/dist/{index-CWwWkz10.d.ts → index-DBBRSw6r.d.ts} +2 -2
- package/dist/{index-BO5f180f.d.ts → index-ktQ7E4qB.d.ts} +4 -4
- package/dist/index.d.ts +15 -15
- package/dist/{init-DJYSpo-H.js → init-B6aZxzd7.js} +1 -1
- package/dist/{init-BOYIObRF.js → init-CCBVeyW8.js} +3 -3
- package/dist/{inspect-functions-CwEAQpVF.js → inspect-functions-BUACOlgS.js} +1 -1
- package/dist/{instance-options-hq5Cp2Ih.d.ts → instance-options-DDERlopm.d.ts} +1 -1
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{keys-U2V0maaq.js → keys-BWhAnANj.js} +1 -1
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{lazy-provider-W8KwlWJU.d.ts → lazy-provider-Clt2095H.d.ts} +1 -1
- package/dist/{login-Dv8TFykx.js → login-BnE2iUUA.js} +1 -1
- package/dist/{login-xgjt0a5o.js → login-d631Tpa9.js} +3 -3
- package/dist/{manager-chain-FggG63qD.js → manager-chain-CFkceFls.js} +1 -1
- package/dist/{manifest-BUeAHWDT.js → manifest-1w67doim.js} +34 -34
- package/dist/mcp/index.d.ts +8 -8
- package/dist/{measure-DZtly0oE.js → measure-BKsYdwKd.js} +1 -1
- package/dist/{model-D0EKt-ED.js → model-BYCtXS_g.js} +1 -1
- package/dist/{module-values-B09BBJIj.js → module-values-D-AiNhBp.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/next/index.d.ts +11 -11
- 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/openai/index.d.ts +4 -4
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-g58VVrsc.js → openapi-BnKSxOrh.js} +1 -1
- package/dist/{openapi-Bfakk4cF.js → openapi-CN2Oq9zN.js} +1 -1
- package/dist/{openapi-document-ZWpur4f1.js → openapi-document-XnGRbWBb.js} +1 -1
- package/dist/orpc/index.d.ts +5 -5
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-D4FLF3_v.js → output-dO4bArCS.js} +1 -1
- package/dist/{ownership-DvmaGcup.js → ownership-CSdLGGfW.js} +1 -1
- package/dist/{parse-local-manifest-AJWs3pkW.d.ts → parse-local-manifest-DoLQFkRb.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/{permdock-V86uejcm.d.ts → permdock-DkvkGVF0.d.ts} +2 -2
- package/dist/{pipeline-DCERGTTY.js → pipeline-BAGSNnct.js} +2 -2
- package/dist/{plugin-BnvEp5tS.d.ts → plugin-DDPXES4k.d.ts} +2 -2
- package/dist/{policy-DZORR-Fw.d.ts → policy-BoUbJ2c0.d.ts} +1 -1
- package/dist/{policy-DoHkOOTQ.js → policy-CTn-9VQm.js} +1 -1
- package/dist/{policy-bundle-CsnNAo-n.js → policy-bundle-BHd1dqU9.js} +3 -3
- package/dist/{policy-types-BnBZvh7N.d.ts → policy-types-DuM3k5Ao.d.ts} +1 -1
- package/dist/{postgrest-BG0ipED3.d.ts → postgrest-B1bTbVE4.d.ts} +2 -2
- package/dist/{powersync-Dbpn-n0o.js → powersync-CZkZgVyi.js} +1 -1
- package/dist/{powersync-CTKfjnPT.js → powersync-DJ7dY-Vf.js} +6 -6
- package/dist/{powersync-Cz3MUw6R.js → powersync-Jj57J-X8.js} +1 -1
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-aGL_gT4j.d.ts → protected-action-gBxeetqY.d.ts} +5 -5
- package/dist/{provider-W8KwlWJU.d.ts → provider-Clt2095H.d.ts} +1 -1
- package/dist/{prune-config--x-cEF8G.js → prune-config-Bwz4wNQA.js} +5 -5
- package/dist/pull-BOC-0kJV.js +1 -0
- package/dist/{pull-BQELP7aV.js → pull-Cj_ngsuu.js} +1 -1
- package/dist/{pushed-policy-CQaXRDe3.d.ts → pushed-policy-C65TbLtU.d.ts} +1 -1
- package/dist/{rbac-BRMnQ9Rl.js → rbac-DbyaaNLa.js} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/lazy.d.ts +6 -6
- package/dist/react/provider-client-lazy.d.ts +1 -1
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react-native/index.d.ts +15 -15
- package/dist/react-native/index.js +1 -1
- package/dist/{rename-BjP2CFUY.js → rename-CI6NIF9t.js} +1 -1
- package/dist/replay-B__gzUx3.d.ts +3 -0
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-xBg9s2IJ.js → resolve-names-CuEhEQyB.js} +1 -1
- package/dist/{resolver-C_a-bddD.js → resolver-D2c1CcoZ.js} +1 -1
- package/dist/{rls-rk-QH4fc.js → rls-BDtyip5c.js} +7 -7
- package/dist/{rls-BzCz7ZV0.js → rls-DcqSn7b2.js} +3 -3
- package/dist/{rls-files-Bu0O7cZ6.js → rls-files-CRRtjXxG.js} +1 -1
- package/dist/{rls-options-f1wRhXSG.d.ts → rls-options-DCLdZaTZ.d.ts} +1 -1
- package/dist/{rpc-DyCWVn6C.d.ts → rpc-BYFB37KV.d.ts} +1 -1
- package/dist/run-DOP1UKWw.js +1 -0
- package/dist/{run-DTz-e3Od.js → run-DvbrPkgt.js} +3 -3
- package/dist/{run-ticket-mVPqm6M6.d.ts → run-ticket-CRldclc7.d.ts} +2 -2
- package/dist/{scan-Cn79IAJs.js → scan-CmfWbAbz.js} +1 -1
- package/dist/{schema-CbzVUpWv.js → schema-CO3btX_O.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/seeds/index.d.ts +1 -1
- package/dist/{seeds-DLjPbhvM.d.ts → seeds-BZMPfWcC.d.ts} +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/{server-types-BlMijUtb.d.ts → server-types-FkdDSB9h.d.ts} +8 -8
- package/dist/{sink-DhrVLPSJ.d.ts → sink-CoMI_OVw.d.ts} +2 -2
- package/dist/{skills-oZ8Ng2e7.js → skills-C28GUaJC.js} +1 -1
- package/dist/{skills-BKrN1qej.js → skills-CA8GfQxQ.js} +1 -1
- package/dist/{snapshot-cache-CVYqOThu.d.ts → snapshot-cache-R1lJjYmI.d.ts} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/{sources-Bq7k7g34.d.ts → sources-Dp6FQ8np.d.ts} +1 -1
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-D6SPYjSQ.d.ts → standard-webhooks-D2FwHtMX.d.ts} +2 -2
- package/dist/{store-core-Bq7Qc9QM.d.ts → store-core-aluQ3R1M.d.ts} +4 -4
- package/dist/{stores-Dn7TpQFa.d.ts → stores-hHICuiQl.d.ts} +5 -5
- package/dist/{subject-cache-UKUgQCEX.d.ts → subject-cache-Bn4oJY_R.d.ts} +1 -1
- package/dist/supabase/index.d.ts +8 -8
- package/dist/supabase/index.js +3 -3
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +1 -1
- package/dist/{supabase-DrazwRER.js → supabase-ByhSqBDB.js} +2 -2
- package/dist/{supabase-BNPS-Gr1.js → supabase-DXEcFJGM.js} +2 -2
- package/dist/supabase-hook-C_ViYz3g.js +2 -0
- package/dist/{supabase-hook-t1HnQf8U.js → supabase-hook-D-ybV98H.js} +5 -5
- package/dist/{supabase-schemas-_ubYYw9i.js → supabase-schemas-CVhpyYB6.js} +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/source.d.ts +5 -5
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/{table-reads-Ci-ZVo5m.js → table-reads-BcceuV7h.js} +1 -1
- package/dist/{table-reads-B7z40Yu-.js → table-reads-BoF_58yh.js} +1 -1
- package/dist/{tables-Bxmf2beb.js → tables-BTXmioCH.js} +85 -12
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/{tenant-check-DW0kbH-a.js → tenant-check-DNbm8OiV.js} +3 -3
- package/dist/terminal/index.d.ts +5 -5
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/fixtures/index.d.ts +3 -3
- package/dist/testing/index.d.ts +22 -22
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/trpc/index.d.ts +5 -5
- package/dist/{type-helpers-CVN-p62O.d.ts → type-helpers-CsWH9z8p.d.ts} +1 -1
- package/dist/{types-5cvjmHTG.d.ts → types-BGN3coSe.d.ts} +1 -1
- package/dist/{types-BmTW35E5.d.ts → types-BwjOhlgx.d.ts} +4 -4
- package/dist/{types-Dl2jRkyq.d.ts → types-BzsplNgO.d.ts} +4 -4
- package/dist/{types-CrUguLsE.d.ts → types-CBUYbPwl.d.ts} +2 -2
- package/dist/{types-CgaGxF5q.d.ts → types-CKwI6AT4.d.ts} +1 -1
- package/dist/{types-B_I8TBA9.d.ts → types-Cvfe-G_N.d.ts} +2 -2
- package/dist/{types-CDkJNA3a.d.ts → types-D3GI2B9O.d.ts} +3 -3
- package/dist/{types-DNOJRhyn.d.ts → types-D417woMp.d.ts} +3 -3
- package/dist/{types-BMKDvcXc.d.ts → types-DRMoZjJm.d.ts} +2 -2
- package/dist/{types-config-CyawIkMF.d.ts → types-config-DYRoZ8Iw.d.ts} +11 -5
- package/dist/{types-gp1w86cV.d.ts → types-dtDg4goh.d.ts} +4 -4
- package/dist/{types-run-ByHuYUen.d.ts → types-run-CeCrWO0v.d.ts} +1 -1
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-B8ca_Nj_.js → usage-BGuSrwiW.js} +2 -2
- package/dist/usage-CW6PfRfC.js +1 -0
- package/dist/{usage-Do7LQ4i4.js → usage-D5QwWiNp.js} +1 -1
- package/dist/{validation-error-BKgVVMc1.d.ts → validation-error-MZ7KLNHt.d.ts} +1 -1
- package/dist/{verify-ZojGAC3f.js → verify-GWeopgxU.js} +3 -3
- package/dist/vue/index.d.ts +5 -5
- package/dist/{waiter-Bov7Cig6.d.ts → waiter-DdwtUSzB.d.ts} +2 -2
- package/dist/{warm-BKD3FN6k.d.ts → warm-znYuJoUZ.d.ts} +1 -1
- package/dist/{watch-D-5ztqN8.js → watch-14vng0pg.js} +1 -1
- package/dist/watch-Be7ja4dL.js +1 -0
- package/dist/{watch-EzX_aG73.js → watch-DuIAsqFR.js} +2 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-CaAA3ubO.d.ts → wrap-C36-eV-C.d.ts} +2 -2
- package/package.json +1 -1
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/dist/gen-CpS9JkCb.js +0 -1
- package/dist/pull-C_ZiPZ5X.js +0 -1
- package/dist/replay-Dg5-l7xu.d.ts +0 -3
- package/dist/run-BvtApZDp.js +0 -1
- package/dist/supabase-hook-D0Yzbl19.js +0 -2
- package/dist/usage-CKTsomEq.js +0 -1
- package/dist/watch-J1PfGMfb.js +0 -1
|
@@ -27,7 +27,7 @@ const login = defineLeaf({
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
async run(ctx, { flags }) {
|
|
30
|
-
const { runLogin } = await import("./login-
|
|
30
|
+
const { runLogin } = await import("./login-BnE2iUUA.js");
|
|
31
31
|
return runLogin({
|
|
32
32
|
cwd: ctx.cwd,
|
|
33
33
|
url: given(flags.url),
|
|
@@ -43,7 +43,7 @@ const login = defineLeaf({
|
|
|
43
43
|
const logout = defineLeaf({
|
|
44
44
|
flags: { ...urlFlag },
|
|
45
45
|
async run(ctx, { flags }) {
|
|
46
|
-
const { runLogout } = await import("./login-
|
|
46
|
+
const { runLogout } = await import("./login-BnE2iUUA.js");
|
|
47
47
|
return runLogout({
|
|
48
48
|
url: given(flags.url),
|
|
49
49
|
json: ctx.json,
|
|
@@ -55,7 +55,7 @@ const logout = defineLeaf({
|
|
|
55
55
|
const whoami = defineLeaf({
|
|
56
56
|
flags: { ...urlFlag },
|
|
57
57
|
async run(ctx, { flags }) {
|
|
58
|
-
const { runWhoami } = await import("./login-
|
|
58
|
+
const { runWhoami } = await import("./login-BnE2iUUA.js");
|
|
59
59
|
return runWhoami({
|
|
60
60
|
url: given(flags.url),
|
|
61
61
|
json: ctx.json,
|
|
@@ -2,7 +2,7 @@ import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
|
2
2
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
|
|
4
4
|
import { a as rel } from "./files-DAR51W3J.js";
|
|
5
|
-
import { a as readConfig } from "./config-
|
|
5
|
+
import { a as readConfig } from "./config-Dan6vcvj.js";
|
|
6
6
|
import { a as REQUEST_APPROVER_IDS, d as checkedManagers, f as isManagerRows, i as MANAGES_ROW, n as MANAGED_ROW_IDS, r as MANAGED_ROW_IDS_IN, t as ACCESSIBLE_ROW_IDS } from "./approval-chain-BEeExHpb.js";
|
|
7
7
|
import { a as parseSqlFile, n as charIndex, u as removeStatements } from "./ast-Dnm2TOHN.js";
|
|
8
8
|
import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
|
|
@@ -30,20 +30,20 @@ const SECTIONS = [
|
|
|
30
30
|
docs: "init",
|
|
31
31
|
effects: ["files"],
|
|
32
32
|
config: false,
|
|
33
|
-
load: async () => (await import("./init-
|
|
33
|
+
load: async () => (await import("./init-CCBVeyW8.js")).init
|
|
34
34
|
}),
|
|
35
35
|
group("preset", "Decode a preset code, or print its permdock.com/create link", "preset", [leaf("decode", "Print what a preset code holds", {
|
|
36
36
|
examples: ["permdock preset decode p1AQIDBAc"],
|
|
37
37
|
docs: "preset",
|
|
38
38
|
effects: [],
|
|
39
39
|
config: false,
|
|
40
|
-
load: async () => (await import("./init-
|
|
40
|
+
load: async () => (await import("./init-CCBVeyW8.js")).presetDecode
|
|
41
41
|
}), leaf("url", "Print the permdock.com/create link that opens a code", {
|
|
42
42
|
examples: ["permdock preset url p1AQIDBAc"],
|
|
43
43
|
docs: "preset",
|
|
44
44
|
effects: [],
|
|
45
45
|
config: false,
|
|
46
|
-
load: async () => (await import("./init-
|
|
46
|
+
load: async () => (await import("./init-CCBVeyW8.js")).presetUrl
|
|
47
47
|
})]),
|
|
48
48
|
group("skills", "Install, update or list the PermDock Agent Skills", "skills", [
|
|
49
49
|
leaf("install", "Copy the Agent Skills into the agent folders", {
|
|
@@ -55,21 +55,21 @@ const SECTIONS = [
|
|
|
55
55
|
docs: "skills",
|
|
56
56
|
effects: ["files"],
|
|
57
57
|
config: false,
|
|
58
|
-
load: async () => (await import("./skills-
|
|
58
|
+
load: async () => (await import("./skills-CA8GfQxQ.js")).install
|
|
59
59
|
}),
|
|
60
60
|
leaf("update", "Replace installed skills with this version's", {
|
|
61
61
|
examples: ["permdock skills update"],
|
|
62
62
|
docs: "skills",
|
|
63
63
|
effects: ["files"],
|
|
64
64
|
config: false,
|
|
65
|
-
load: async () => (await import("./skills-
|
|
65
|
+
load: async () => (await import("./skills-CA8GfQxQ.js")).update
|
|
66
66
|
}),
|
|
67
67
|
leaf("list", "List the skills and where each is installed", {
|
|
68
68
|
examples: ["permdock skills list"],
|
|
69
69
|
docs: "skills",
|
|
70
70
|
effects: [],
|
|
71
71
|
config: false,
|
|
72
|
-
load: async () => (await import("./skills-
|
|
72
|
+
load: async () => (await import("./skills-CA8GfQxQ.js")).list
|
|
73
73
|
})
|
|
74
74
|
]),
|
|
75
75
|
leaf("doctor", "Check a PermDock installation and print a fix for each finding", {
|
|
@@ -83,7 +83,7 @@ const SECTIONS = [
|
|
|
83
83
|
effects: ["files", "database:read"],
|
|
84
84
|
config: true,
|
|
85
85
|
findings: true,
|
|
86
|
-
load: async () => (await import("./doctor-
|
|
86
|
+
load: async () => (await import("./doctor-sAqU02Fx.js")).doctor
|
|
87
87
|
}),
|
|
88
88
|
leaf("completion", "Print the shell completion script for bash, zsh or fish", {
|
|
89
89
|
examples: ["permdock completion zsh > ~/.zfunc/_permdock", "eval \"$(permdock completion bash)\""],
|
|
@@ -91,7 +91,7 @@ const SECTIONS = [
|
|
|
91
91
|
effects: [],
|
|
92
92
|
config: false,
|
|
93
93
|
shellOutput: true,
|
|
94
|
-
load: async () => (await import("./completion-
|
|
94
|
+
load: async () => (await import("./completion-Dgjdte2-.js")).completion
|
|
95
95
|
})
|
|
96
96
|
]
|
|
97
97
|
},
|
|
@@ -107,7 +107,7 @@ const SECTIONS = [
|
|
|
107
107
|
docs: "collect",
|
|
108
108
|
effects: ["files"],
|
|
109
109
|
config: true,
|
|
110
|
-
load: async () => (await import("./collect-
|
|
110
|
+
load: async () => (await import("./collect-Ba7ccZ23.js")).collect
|
|
111
111
|
}),
|
|
112
112
|
leaf("catalog", "Export the catalog as catalog JSON, JSON Schema or Markdown", {
|
|
113
113
|
examples: ["permdock catalog --out permissions.catalog.json", "permdock catalog --kind markdown"],
|
|
@@ -125,7 +125,7 @@ const SECTIONS = [
|
|
|
125
125
|
docs: "generate",
|
|
126
126
|
effects: ["files"],
|
|
127
127
|
config: true,
|
|
128
|
-
load: async () => (await import("./generate-
|
|
128
|
+
load: async () => (await import("./generate-CYHeuPq8.js")).generate
|
|
129
129
|
}),
|
|
130
130
|
leaf("usage", "Report unused, ungranted and role-less permissions and conditions on undeclared fields", {
|
|
131
131
|
examples: ["permdock usage", "permdock usage --fail-on warning"],
|
|
@@ -133,7 +133,7 @@ const SECTIONS = [
|
|
|
133
133
|
effects: [],
|
|
134
134
|
config: true,
|
|
135
135
|
findings: true,
|
|
136
|
-
load: async () => (await import("./usage-
|
|
136
|
+
load: async () => (await import("./usage-D5QwWiNp.js")).usage
|
|
137
137
|
}),
|
|
138
138
|
leaf("diff", "Compare two policies or catalogs; exit 1 on a breaking change", {
|
|
139
139
|
examples: ["permdock diff main.catalog.json permissions.catalog.json", "permdock diff ./old-policy.ts ./src/policy.ts --impact"],
|
|
@@ -175,7 +175,7 @@ const SECTIONS = [
|
|
|
175
175
|
docs: "keys",
|
|
176
176
|
effects: ["rewrite", "files"],
|
|
177
177
|
config: true,
|
|
178
|
-
load: async () => (await import("./keys-
|
|
178
|
+
load: async () => (await import("./keys-BWhAnANj.js")).keysRename
|
|
179
179
|
})]),
|
|
180
180
|
group("policy", "Write the static grants of a policy as a content-addressed bundle", "policy", [leaf("bundle", "Write the policy bundle that rls.staticGrants 'ref' pins by hash", {
|
|
181
181
|
examples: [
|
|
@@ -186,7 +186,7 @@ const SECTIONS = [
|
|
|
186
186
|
docs: "policy",
|
|
187
187
|
effects: ["files"],
|
|
188
188
|
config: true,
|
|
189
|
-
load: async () => (await import("./policy-
|
|
189
|
+
load: async () => (await import("./policy-CTn-9VQm.js")).policyBundle
|
|
190
190
|
})]),
|
|
191
191
|
group("claims", "Measure the memberships claim of an access token", "claims", [leaf("size", "Report claim bytes, token characters and the budget cut", {
|
|
192
192
|
examples: ["permdock claims size --memberships 60", "permdock claims size --memberships 11 --roles 3 --json"],
|
|
@@ -201,7 +201,7 @@ const SECTIONS = [
|
|
|
201
201
|
effects: [],
|
|
202
202
|
config: true,
|
|
203
203
|
findings: true,
|
|
204
|
-
load: async () => (await import("./config-
|
|
204
|
+
load: async () => (await import("./config-anQ9E37F.js")).config
|
|
205
205
|
})
|
|
206
206
|
]
|
|
207
207
|
},
|
|
@@ -214,7 +214,7 @@ const SECTIONS = [
|
|
|
214
214
|
docs: "rls",
|
|
215
215
|
effects: ["files", "database:read"],
|
|
216
216
|
config: true,
|
|
217
|
-
load: async () => (await import("./rls-
|
|
217
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).importPolicies
|
|
218
218
|
}),
|
|
219
219
|
leaf("verify", "Run the fixtures against the policies, or compare a live database", {
|
|
220
220
|
examples: [
|
|
@@ -226,35 +226,35 @@ const SECTIONS = [
|
|
|
226
226
|
effects: ["files", "database:read"],
|
|
227
227
|
config: true,
|
|
228
228
|
findings: true,
|
|
229
|
-
load: async () => (await import("./rls-
|
|
229
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).verify
|
|
230
230
|
}),
|
|
231
231
|
leaf("migrate", "Rewrite hand-written policies onto the generated helpers", {
|
|
232
232
|
examples: ["permdock rls migrate --sql supabase/migrations --dry-run", "permdock rls migrate --sql supabase/migrations"],
|
|
233
233
|
docs: "rls",
|
|
234
234
|
effects: ["rewrite", "files"],
|
|
235
235
|
config: true,
|
|
236
|
-
load: async () => (await import("./rls-
|
|
236
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).migrate
|
|
237
237
|
}),
|
|
238
238
|
leaf("explain", "Show the tables, membership sources and triggers the SQL binds to", {
|
|
239
239
|
examples: ["permdock rls explain", "permdock rls explain --db-url-stdin --json"],
|
|
240
240
|
docs: "rls",
|
|
241
241
|
effects: ["database:read"],
|
|
242
242
|
config: true,
|
|
243
|
-
load: async () => (await import("./rls-
|
|
243
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).explain
|
|
244
244
|
}),
|
|
245
245
|
leaf("measure", "Run requests as a user and count version reads, helper times and share keys", {
|
|
246
246
|
examples: ["permdock rls measure --as <user-id> --local", "permdock rls measure --as <user-id>,<user-id> --tenant <tenant-id> --requests 50 --db-url-stdin"],
|
|
247
247
|
docs: "rls",
|
|
248
248
|
effects: ["database:read"],
|
|
249
249
|
config: true,
|
|
250
|
-
load: async () => (await import("./rls-
|
|
250
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).measure
|
|
251
251
|
}),
|
|
252
252
|
leaf("report", "List each table's policies by command, role, origin and helper calls", {
|
|
253
253
|
examples: ["permdock rls report", "permdock rls report --local --json"],
|
|
254
254
|
docs: "rls",
|
|
255
255
|
effects: ["database:read"],
|
|
256
256
|
config: true,
|
|
257
|
-
load: async () => (await import("./rls-
|
|
257
|
+
load: async () => (await import("./rls-DcqSn7b2.js")).report
|
|
258
258
|
})
|
|
259
259
|
]),
|
|
260
260
|
group("supabase", "Generate the Supabase Custom Access Token Hook, or inspect its manifest", "supabase", [leaf("inspect", "Print or write the hook and helper manifest", {
|
|
@@ -262,14 +262,14 @@ const SECTIONS = [
|
|
|
262
262
|
docs: "supabase",
|
|
263
263
|
effects: ["files"],
|
|
264
264
|
config: true,
|
|
265
|
-
load: async () => (await import("./supabase-
|
|
265
|
+
load: async () => (await import("./supabase-DXEcFJGM.js")).inspect
|
|
266
266
|
})]),
|
|
267
267
|
group("powersync", "Generate PowerSync Sync Streams from the policy, or verify them", "powersync", [leaf("verify", "Fail on stale streams or a stream that syncs a denied row", {
|
|
268
268
|
examples: ["permdock powersync verify", "permdock powersync verify --db-url-stdin"],
|
|
269
269
|
docs: "powersync",
|
|
270
270
|
effects: ["database:read"],
|
|
271
271
|
config: true,
|
|
272
|
-
load: async () => (await import("./powersync-
|
|
272
|
+
load: async () => (await import("./powersync-Jj57J-X8.js")).verify
|
|
273
273
|
})])
|
|
274
274
|
]
|
|
275
275
|
},
|
|
@@ -282,13 +282,13 @@ const SECTIONS = [
|
|
|
282
282
|
effects: ["files"],
|
|
283
283
|
config: true,
|
|
284
284
|
findings: true,
|
|
285
|
-
load: async () => (await import("./openapi-
|
|
285
|
+
load: async () => (await import("./openapi-CN2Oq9zN.js")).annotateRoutes
|
|
286
286
|
}), leaf("import", "Turn an OpenAPI document into a generated definition", {
|
|
287
287
|
examples: ["permdock openapi import --doc openapi.yaml --out src/permissions.generated.ts"],
|
|
288
288
|
docs: "openapi",
|
|
289
289
|
effects: ["files", "network"],
|
|
290
290
|
config: false,
|
|
291
|
-
load: async () => (await import("./openapi-
|
|
291
|
+
load: async () => (await import("./openapi-CN2Oq9zN.js")).importDocument
|
|
292
292
|
})]),
|
|
293
293
|
group("arazzo", "Check Arazzo workflows against the permissions", "arazzo", [leaf("check", "Resolve every Arazzo step to x-permdock-permissions", {
|
|
294
294
|
examples: ["permdock arazzo check --doc arazzo.json --openapi openapi.json"],
|
|
@@ -296,7 +296,7 @@ const SECTIONS = [
|
|
|
296
296
|
effects: [],
|
|
297
297
|
config: true,
|
|
298
298
|
findings: true,
|
|
299
|
-
load: async () => (await import("./arazzo-
|
|
299
|
+
load: async () => (await import("./arazzo-B2PszcDL.js")).check
|
|
300
300
|
})]),
|
|
301
301
|
leaf("scan", "List authorization checks written without PermDock, to adopt it in an existing app", {
|
|
302
302
|
examples: ["permdock scan", "permdock scan --src app,lib --pattern isBeta"],
|
|
@@ -304,7 +304,7 @@ const SECTIONS = [
|
|
|
304
304
|
effects: [],
|
|
305
305
|
config: true,
|
|
306
306
|
findings: true,
|
|
307
|
-
load: async () => (await import("./scan-
|
|
307
|
+
load: async () => (await import("./scan-CmfWbAbz.js")).scan
|
|
308
308
|
}),
|
|
309
309
|
group("casl", "Import CASL rules into a generated module", "casl", [leaf("import", "Turn CASL rules per role into a permissions and policy module", {
|
|
310
310
|
examples: ["permdock casl import --rules rules.json --out src/permissions.generated.ts"],
|
|
@@ -318,7 +318,7 @@ const SECTIONS = [
|
|
|
318
318
|
docs: "casbin",
|
|
319
319
|
effects: ["files"],
|
|
320
320
|
config: false,
|
|
321
|
-
load: async () => (await import("./casbin-
|
|
321
|
+
load: async () => (await import("./casbin-vtIUd-6L.js")).casbinImport
|
|
322
322
|
})])
|
|
323
323
|
]
|
|
324
324
|
},
|
|
@@ -330,34 +330,34 @@ const SECTIONS = [
|
|
|
330
330
|
docs: "login",
|
|
331
331
|
effects: ["network", "files"],
|
|
332
332
|
config: false,
|
|
333
|
-
load: async () => (await import("./login-
|
|
333
|
+
load: async () => (await import("./login-d631Tpa9.js")).login
|
|
334
334
|
}),
|
|
335
335
|
leaf("logout", "Revoke and delete the stored PermDock Cloud login", {
|
|
336
336
|
examples: ["permdock logout"],
|
|
337
337
|
docs: "login",
|
|
338
338
|
effects: ["network", "files"],
|
|
339
339
|
config: false,
|
|
340
|
-
load: async () => (await import("./login-
|
|
340
|
+
load: async () => (await import("./login-d631Tpa9.js")).logout
|
|
341
341
|
}),
|
|
342
342
|
leaf("whoami", "Print the PermDock Cloud identity the CLI acts as", {
|
|
343
343
|
examples: ["permdock whoami", "permdock whoami --json"],
|
|
344
344
|
docs: "login",
|
|
345
345
|
effects: [],
|
|
346
346
|
config: false,
|
|
347
|
-
load: async () => (await import("./login-
|
|
347
|
+
load: async () => (await import("./login-d631Tpa9.js")).whoami
|
|
348
348
|
}),
|
|
349
349
|
group("cloud", "Publish to or pull from a PermDock Cloud project", "cloud", [leaf("push", "Publish the catalog, policy and manifest to a Cloud project", {
|
|
350
350
|
examples: ["permdock cloud push --dry-run", "permdock cloud push --project prj_123"],
|
|
351
351
|
docs: "cloud",
|
|
352
352
|
effects: ["network", "cloud:write"],
|
|
353
353
|
config: true,
|
|
354
|
-
load: async () => (await import("./cloud-
|
|
354
|
+
load: async () => (await import("./cloud-BQnIR-SS.js")).push
|
|
355
355
|
}), leaf("pull", "Write a Cloud project's published catalog and manifest", {
|
|
356
356
|
examples: ["permdock cloud pull --project prj_123"],
|
|
357
357
|
docs: "cloud",
|
|
358
358
|
effects: ["network", "files"],
|
|
359
359
|
config: true,
|
|
360
|
-
load: async () => (await import("./cloud-
|
|
360
|
+
load: async () => (await import("./cloud-BQnIR-SS.js")).pull
|
|
361
361
|
})])
|
|
362
362
|
]
|
|
363
363
|
},
|
|
@@ -372,7 +372,7 @@ const SECTIONS = [
|
|
|
372
372
|
docs: "codemod",
|
|
373
373
|
effects: ["rewrite"],
|
|
374
374
|
config: false,
|
|
375
|
-
load: async () => (await import("./codemod-
|
|
375
|
+
load: async () => (await import("./codemod-C0OHCnaj.js")).codemod
|
|
376
376
|
})]
|
|
377
377
|
}
|
|
378
378
|
];
|
|
@@ -384,7 +384,7 @@ const COMPLETE_LEAF = leaf("__complete", "Print completion candidates for a part
|
|
|
384
384
|
config: false,
|
|
385
385
|
shellOutput: true,
|
|
386
386
|
hidden: true,
|
|
387
|
-
load: async () => (await import("./completion-
|
|
387
|
+
load: async () => (await import("./completion-Dgjdte2-.js")).complete
|
|
388
388
|
});
|
|
389
389
|
const ROOT = group("permdock", "Collect, export, diff and check the permissions a PermDock policy declares", "", [...SECTIONS.flatMap((section) => section.entries), COMPLETE_LEAF]);
|
|
390
390
|
/** Each leaf with its path from the root, in manifest order. */
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as JwtClaims, Ar as Subject, D as Policy, Or as Principal, vt as TokenVerifier, wr as Delegation } from "../policy-types-
|
|
2
|
-
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-
|
|
3
|
-
import { m as ApprovalStore } from "../types-
|
|
1
|
+
import { $ as JwtClaims, Ar as Subject, D as Policy, Or as Principal, vt as TokenVerifier, wr as Delegation } from "../policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
|
|
3
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
4
4
|
import { t as ClientNames } from "../clients-DGcyFDCc.js";
|
|
5
|
-
import { t as ApprovalHint } from "../errors-
|
|
6
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
5
|
+
import { t as ApprovalHint } from "../errors-BliKrfmP.js";
|
|
6
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
7
7
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
8
8
|
import { t as RequestContext } from "../request-context-E3-ps-H_.js";
|
|
9
|
-
import { n as PermDockWrap } from "../wrap-
|
|
10
|
-
import { o as OtelWrap } from "../types-
|
|
11
|
-
import { W as JwtSubjectOptions } from "../types-
|
|
9
|
+
import { n as PermDockWrap } from "../wrap-C36-eV-C.js";
|
|
10
|
+
import { o as OtelWrap } from "../types-DRMoZjJm.js";
|
|
11
|
+
import { W as JwtSubjectOptions } from "../types-Cvfe-G_N.js";
|
|
12
12
|
import { CacheHint, Icon, McpServer, PromptCallback, ReadResourceCallback, ReadResourceTemplateCallback, RegisteredPrompt, RegisteredResource, RegisteredResourceTemplate, RegisteredTool, ResourceMetadata, ResourceTemplate, ScopeChallengeHandler, StandardSchemaWithJSON, ToolAnnotations, ToolCallback, Variables } from "@modelcontextprotocol/server";
|
|
13
13
|
/**
|
|
14
14
|
* The verified `AuthInfo` the MCP SDK's bearer auth puts on
|
|
@@ -6,7 +6,7 @@ import "./sources-C6Id63F8.js";
|
|
|
6
6
|
import { i as loadConfiguredPolicy } from "./load-m7jmit3y.js";
|
|
7
7
|
import { a as quoteIdent } from "./quote-LNaBdCGA.js";
|
|
8
8
|
import { n as activeSource } from "./memberships-CNoAlsma.js";
|
|
9
|
-
import { n as configuredTableReads } from "./table-reads-
|
|
9
|
+
import { n as configuredTableReads } from "./table-reads-BoF_58yh.js";
|
|
10
10
|
// src/cli/rls/measure.ts
|
|
11
11
|
/** Requests per tenant when `--requests` is absent. */
|
|
12
12
|
const DEFAULT_REQUESTS = 20;
|
|
@@ -7,7 +7,7 @@ import { o as sqlFiles } from "./files-DAR51W3J.js";
|
|
|
7
7
|
import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
|
|
8
8
|
import { a as quoteIdent, o as quoteLiteral } from "./quote-LNaBdCGA.js";
|
|
9
9
|
import { a as parseSqlFile, f as stringValues, l as readRelation, t as SqlSyntaxError, u as removeStatements } from "./ast-Dnm2TOHN.js";
|
|
10
|
-
import { f as compileConditionSql } from "./rbac-
|
|
10
|
+
import { f as compileConditionSql } from "./rbac-DbyaaNLa.js";
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
12
12
|
import { relative } from "node:path";
|
|
13
13
|
// src/cli/sql/exported-copies.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
2
2
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { r as parseSync } from "./optional-CaQWp9HA.js";
|
|
4
|
-
import { i as isModuleKey, n as MODULE_KEYS } from "./config-shape-
|
|
4
|
+
import { i as isModuleKey, n as MODULE_KEYS } from "./config-shape-BODqM-rG.js";
|
|
5
5
|
import { a as loadModule, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
6
6
|
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
7
7
|
import { dirname, relative, resolve } from "node:path";
|
package/dist/nest/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
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-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
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-FkdDSB9h.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { D as Policy, Or as Principal } from "../policy-types-
|
|
4
|
+
import { D as Policy, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
5
5
|
import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
7
7
|
import { r as sendResponse, t as NodeRequest } from "../http-BUIYu1Kc.js";
|
|
8
8
|
import { CanActivate, DynamicModule, ExceptionFilter, ExecutionContext, Type } from "@nestjs/common";
|
|
9
9
|
/**
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-
|
|
2
|
-
import { r as warm, t as WarmReport } from "../warm-
|
|
3
|
-
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Q as Intent, ir as Decision, pn as SnapshotTenants, rn as Snapshot, sr as DenialReason } from "../policy-types-
|
|
4
|
-
import { m as ApprovalStore } from "../types-
|
|
5
|
-
import { b as ProtectedAction, y as ActionResult } from "../store-core-
|
|
6
|
-
import { F as PermissionState, P as PermissionCheck, a as PermDock, d as UncheckedData, s as RowData } from "../permdock-
|
|
7
|
-
import { n as DescribeMessages } from "../describe-
|
|
8
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
1
|
+
import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-R1lJjYmI.js";
|
|
2
|
+
import { r as warm, t as WarmReport } from "../warm-znYuJoUZ.js";
|
|
3
|
+
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Q as Intent, ir as Decision, pn as SnapshotTenants, rn as Snapshot, sr as DenialReason } from "../policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
5
|
+
import { b as ProtectedAction, y as ActionResult } from "../store-core-aluQ3R1M.js";
|
|
6
|
+
import { F as PermissionState, P as PermissionCheck, a as PermDock, d as UncheckedData, s as RowData } from "../permdock-DkvkGVF0.js";
|
|
7
|
+
import { n as DescribeMessages } from "../describe-DEoWvk00.js";
|
|
8
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
9
9
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
10
|
-
import { n as PermDockWrap } from "../wrap-
|
|
11
|
-
import { o as OtelWrap } from "../types-
|
|
12
|
-
import { n as PermDockProviderProps } from "../types-
|
|
10
|
+
import { n as PermDockWrap } from "../wrap-C36-eV-C.js";
|
|
11
|
+
import { o as OtelWrap } from "../types-DRMoZjJm.js";
|
|
12
|
+
import { n as PermDockProviderProps } from "../types-BzsplNgO.js";
|
|
13
13
|
import { n as TenantSlugResolver } from "../tenant-from-path-Dq3jkqjh.js";
|
|
14
14
|
import { ReactElement, ReactNode } from "react";
|
|
15
15
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
package/dist/next/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockPluginOptions } from "../types-run-
|
|
1
|
+
import { n as PermDockPluginOptions } from "../types-run-CeCrWO0v.js";
|
|
2
2
|
/** Any object: Next's `NextConfig` is an interface, so no index signature. */
|
|
3
3
|
type NextConfigLike = object;
|
|
4
4
|
/** What `next.config` may export: an object, or a function of the phase. */
|
package/dist/next/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as describeError } from "../errors-DgLOqc6j.js";
|
|
2
|
-
import { i as report, r as createCollectScheduler, t as collectOnce } from "../watch-
|
|
2
|
+
import { i as report, r as createCollectScheduler, t as collectOnce } from "../watch-14vng0pg.js";
|
|
3
3
|
// src/cli/plugin.ts
|
|
4
4
|
const PHASE_BUILD = "phase-production-build";
|
|
5
5
|
const PHASE_DEV = "phase-development-server";
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, r as Guard, s as ScopeGuard, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, r as Guard, s as ScopeGuard, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
4
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
6
6
|
import { i as toRequest, n as isServerResponse, r as sendResponse, t as NodeRequest } from "../http-BUIYu1Kc.js";
|
|
7
7
|
import { IncomingMessage, ServerResponse } from "node:http";
|
|
8
8
|
type NodePermDockOptions<TUser = unknown> = ServerAdapterOptions<NodeRequest, TUser>;
|
package/dist/openai/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
2
|
-
import { u as ApprovalRequest } from "../types-
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-T_NqxU31.js";
|
|
2
|
+
import { u as ApprovalRequest } from "../types-BGN3coSe.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
5
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
6
6
|
/** The app context passed to `run(agent, input, { context })`. */
|
|
7
7
|
type OpenAiContext = {
|
|
8
8
|
readonly user?: unknown;
|
package/dist/openapi/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Policy, Fr as Condition, Or as Principal } from "../policy-types-
|
|
1
|
+
import { D as Policy, Fr as Condition, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { a as OpenApiOperationRef, c as OperationEntry, d as OperationSkipCause, f as operationPermissions, i as OPERATION_SKIP_CAUSES, l as OperationLookup, n as OperationCoverageOptions, o as OperationDeclaration, p as operationPermissionsFromOpenApi, r as operationCoverage, s as OperationEnforcement, t as OperationCoverage, u as OperationPermissions } from "../coverage-AOeWiQ7Z.js";
|
|
4
|
-
import { a as ProblemDetails } from "../errors-
|
|
4
|
+
import { a as ProblemDetails } from "../errors-BliKrfmP.js";
|
|
5
5
|
import { StandardJSONSchemaV1, StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
type OpenApiTarget = "3.1" | "3.2" | "3.3";
|
|
7
7
|
type OverlayVersion = "1.1" | "1.2";
|
|
@@ -7,7 +7,7 @@ import { i as fileDrift } from "./output-files-8lfALMSU.js";
|
|
|
7
7
|
import { t as shortDiff } from "./text-diff-DxKRNFlx.js";
|
|
8
8
|
import { i as readJsonFile, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
9
9
|
import { a as loadModule, n as asPolicy, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
10
|
-
import { n as validateOverlay, t as validateOpenapi } from "./schema-
|
|
10
|
+
import { n as validateOverlay, t as validateOpenapi } from "./schema-CO3btX_O.js";
|
|
11
11
|
import { existsSync } from "node:fs";
|
|
12
12
|
import { resolve } from "node:path";
|
|
13
13
|
// src/cli/openapi/emit/merge.ts
|
|
@@ -88,7 +88,7 @@ const importDocument = defineLeaf({
|
|
|
88
88
|
async run(ctx, { flags }) {
|
|
89
89
|
const doc = given(flags.doc);
|
|
90
90
|
if (doc === void 0) throw missingInput("openapi import", ["--doc"], "the OpenAPI document to import");
|
|
91
|
-
return (await import("./import-
|
|
91
|
+
return (await import("./import-C45gc74U.js")).runOpenapiImport({
|
|
92
92
|
cwd: ctx.cwd,
|
|
93
93
|
doc,
|
|
94
94
|
out: fileOut("openapi import", flags.out),
|
|
@@ -3,7 +3,7 @@ import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
|
3
3
|
/** The annotated document, without writing it. */
|
|
4
4
|
async function openapiDocument(task, options, source) {
|
|
5
5
|
if (options.doc === void 0) return [];
|
|
6
|
-
const { runOpenapi } = await import("./openapi-
|
|
6
|
+
const { runOpenapi } = await import("./openapi-BnKSxOrh.js");
|
|
7
7
|
const outcome = await runOpenapi({
|
|
8
8
|
cwd: source.cwd,
|
|
9
9
|
config: source.config,
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
3
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
6
|
-
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-
|
|
7
|
-
import { t as RpcProtectOptions } from "../rpc-
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
6
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-FkdDSB9h.js";
|
|
7
|
+
import { t as RpcProtectOptions } from "../rpc-BYFB37KV.js";
|
|
8
8
|
import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
|
|
9
9
|
import { AnySchema, MetaPlugin, Middleware, Procedure, Schema } from "@orpc/server";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PermDock } from "../permdock-
|
|
2
|
-
import { N as PolicyVocabulary } from "../policy-types-
|
|
3
|
-
import { a as OtelOptions, i as OtelApi, n as GEN_AI_TOOL_CALL_ID, o as OtelWrap, r as GEN_AI_TOOL_NAME, s as StructuralLogger, t as GENAI_SEMCONV_PIN } from "../types-
|
|
1
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
2
|
+
import { N as PolicyVocabulary } from "../policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { a as OtelOptions, i as OtelApi, n as GEN_AI_TOOL_CALL_ID, o as OtelWrap, r as GEN_AI_TOOL_NAME, s as StructuralLogger, t as GENAI_SEMCONV_PIN } from "../types-DRMoZjJm.js";
|
|
4
4
|
/**
|
|
5
5
|
* Listens on one instance. Spans carry no duration and no histogram is
|
|
6
6
|
* recorded, because a listener only sees a decision after it is made; use
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as isActionRequired, l as isRetryable, n as CliError, t as CLI_ERRORS_URL } from "./errors-DgLOqc6j.js";
|
|
2
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
2
|
+
import { t as DOCS_BASE } from "./manifest-1w67doim.js";
|
|
3
3
|
import { s as cliVersion } from "./version-D-jWyJb9.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
// src/cli/core/consent.ts
|
|
@@ -8,7 +8,7 @@ import { i as configError } from "./errors-DgLOqc6j.js";
|
|
|
8
8
|
import { a as quoteIdent, i as qualified, n as declaredArray, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
9
9
|
import { s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
10
10
|
import { A as membershipRows, D as globalRoleRows, I as hasCustomRoleChecksFor, T as sourcesKeep, V as storedTenant, d as disabledColumn, h as memberColumn, j as roleRows, l as claimKeptLines, n as delegatedGlobalSql, o as interactiveSessionSql, x as sourceFilters } from "./interactive-only-Bbq9e61G.js";
|
|
11
|
-
import { _ as sourceTransferTriggerSql, b as ASSIGNMENTS, g as sourceRowsSql, h as sourceHoldersTriggerSql, m as pairsSql, p as holderSources, v as holdersTriggerSql, x as OWNERSHIP, y as transferTriggerSql } from "./tables-
|
|
11
|
+
import { _ as sourceTransferTriggerSql, b as ASSIGNMENTS, g as sourceRowsSql, h as sourceHoldersTriggerSql, m as pairsSql, p as holderSources, v as holdersTriggerSql, x as OWNERSHIP, y as transferTriggerSql } from "./tables-BTXmioCH.js";
|
|
12
12
|
// src/cli/rls/assignments.ts
|
|
13
13
|
/**
|
|
14
14
|
* The client roles whose writes the assignment triggers check; any other role
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tn as LocalSnapshotManifest } from "./policy-types-
|
|
1
|
+
import { tn as LocalSnapshotManifest } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
/**
|
|
3
3
|
* Whether `value` has the shape `localSnapshotManifest(policy)` writes, with no
|
|
4
4
|
* prototype keys. A JSON import widens `v: 1` to `number`; this narrows it back
|
package/dist/pdp/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as PermDockOptions } from "../permdock-
|
|
2
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal, Y as DecisionProvider } from "../policy-types-
|
|
3
|
-
import { a as RelationMap, c as RemotePdpEndpoints, d as SpiceDbCheck, f as SpiceDbOptions, i as PdpPermDock, l as RemotePdpMapping, n as OpenFgaTuple, o as RemotePdpAuth, r as PdpFactory, s as RemotePdpCache, t as OpenFgaOptions, u as RemotePdpOptions } from "../types-
|
|
1
|
+
import { o as PermDockOptions } from "../permdock-DkvkGVF0.js";
|
|
2
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal, Y as DecisionProvider } from "../policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { a as RelationMap, c as RemotePdpEndpoints, d as SpiceDbCheck, f as SpiceDbOptions, i as PdpPermDock, l as RemotePdpMapping, n as OpenFgaTuple, o as RemotePdpAuth, r as PdpFactory, s as RemotePdpCache, t as OpenFgaOptions, u as RemotePdpOptions } from "../types-CBUYbPwl.js";
|
|
4
4
|
/**
|
|
5
5
|
* The PDP-aware instance, built synchronously like core `getPermDockSync`; use
|
|
6
6
|
* `getPermDock` for asynchronous inputs.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ar as Subject, D as Policy, Dr as Membership, Fr as Condition, J as CustomRoleSourceFactory, N as PolicyVocabulary, Nr as AdapterId, Or as Principal, Q as Intent, X as DecisionSink, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ct as RelationSource, dr as LimitDetail, gn as AuthEvent, ir as Decision, it as MembershipSource, jn as Scope, lr as ExplainedDecision, lt as SettingsSource, mr as Quota, nt as LimitStore, o as ApprovalOption, pn as SnapshotTenants, pr as Obligation, q as CustomRoleSource, qt as Instant, rn as Snapshot, vr as Actor, wr as Delegation, y as GrantLimit, yn as DecisionEvent } from "./policy-types-
|
|
1
|
+
import { Ar as Subject, D as Policy, Dr as Membership, Fr as Condition, J as CustomRoleSourceFactory, N as PolicyVocabulary, Nr as AdapterId, Or as Principal, Q as Intent, X as DecisionSink, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ct as RelationSource, dr as LimitDetail, gn as AuthEvent, ir as Decision, it as MembershipSource, jn as Scope, lr as ExplainedDecision, lt as SettingsSource, mr as Quota, nt as LimitStore, o as ApprovalOption, pn as SnapshotTenants, pr as Obligation, q as CustomRoleSource, qt as Instant, rn as Snapshot, vr as Actor, wr as Delegation, y as GrantLimit, yn as DecisionEvent } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { K as AppData, P as ResourceNode, V as RowOf, a as RoleTree, n as PlanTree, r as Role, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { i as OperationEffect, s as OperationMeta, t as Operation, u as OperationRisk } from "./operations-DaEoGpMV.js";
|
|
4
|
-
import { a as HostedPolicies } from "./hosted-
|
|
4
|
+
import { a as HostedPolicies } from "./hosted-DZgmEG4b.js";
|
|
5
5
|
/**
|
|
6
6
|
* One approval requirement kept as data, for a tenant or the whole platform. It
|
|
7
7
|
* adds to what the code requires and never removes a requirement.
|
|
@@ -2,8 +2,8 @@ import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
|
2
2
|
import { r as planFiles, t as applyFiles } from "./files-DuV7wRim.js";
|
|
3
3
|
import { s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
4
4
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
5
|
-
import { a as ownedObjects, i as inReservedDir, n as foreignSchemaFiles, o as shownKey, s as withoutOwned, t as policyModel } from "./model-
|
|
6
|
-
import { n as resolveSchemas } from "./supabase-schemas-
|
|
5
|
+
import { a as ownedObjects, i as inReservedDir, n as foreignSchemaFiles, o as shownKey, s as withoutOwned, t as policyModel } from "./model-BYCtXS_g.js";
|
|
6
|
+
import { n as resolveSchemas } from "./supabase-schemas-CVhpyYB6.js";
|
|
7
7
|
import { i as orderPlugins } from "./plugin-MQVfUBUS.js";
|
|
8
8
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
9
9
|
import { join, relative, resolve } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Policy, Fr as Condition, _ as Grant, jn as Scope } from "./policy-types-
|
|
2
|
-
import { a as PermDockConfig } from "./types-config-
|
|
1
|
+
import { D as Policy, Fr as Condition, _ as Grant, jn as Scope } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { a as PermDockConfig } from "./types-config-DYRoZ8Iw.js";
|
|
3
3
|
import { P as ResourceNode } from "./vocabulary-DHfKPIC5.js";
|
|
4
4
|
/** The settings of the Supabase project config doctor reads. */
|
|
5
5
|
type SupabaseConfig = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as Subject, D as Policy, Or as Principal } from "./policy-types-
|
|
1
|
+
import { Ar as Subject, D as Policy, Or as Principal } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { c as saasPlans, l as saasRoles, s as saasPermissions } from "./permissions-UyQD5nRN.js";
|
|
3
3
|
/** Daily API-key quota per subject; the bucket should be per tenant too. */
|
|
4
4
|
declare const SAAS_API_KEY_LIMIT = 5;
|