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
package/dist/a2a/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Policy, Or as Principal, br as AuthorizationDetail } from "../policy-types-
|
|
2
|
-
import { m as ApprovalStore } from "../types-
|
|
3
|
-
import { a as ProblemDetails } from "../errors-
|
|
4
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
1
|
+
import { D as Policy, Or as Principal, br as AuthorizationDetail } from "../policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
3
|
+
import { a as ProblemDetails } from "../errors-BliKrfmP.js";
|
|
4
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
5
5
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
6
6
|
type A2aAuth = {
|
|
7
7
|
readonly clientId?: string;
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-
|
|
2
|
-
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-
|
|
1
|
+
import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-T_NqxU31.js";
|
|
2
|
+
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
|
|
3
3
|
export { type AgentAdapterOptions, type AgentPermDock, type AgentPermDockOptions, type DecideToolOptions, type DeniedText, type DeniedTextEvent, type GatewayOptions, type ModelMap, type OperationVerdict, type StepUp, type ToolBinding, type ToolMap, createPermDock };
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
1
|
+
import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-T_NqxU31.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-
|
|
4
|
-
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-
|
|
3
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
|
|
5
5
|
type AiSdkContext = {
|
|
6
6
|
readonly runtimeContext?: unknown;
|
|
7
7
|
readonly permdockApproval?: string;
|
package/dist/app/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppOptions, i as definePermDock, n as PermDockDefinition, o as AppProfile, r as PermDockQuery, t as PermDockApp } from "../define-permdock-
|
|
1
|
+
import { a as AppOptions, i as definePermDock, n as PermDockDefinition, o as AppProfile, r as PermDockQuery, t as PermDockApp } from "../define-permdock-Bhye7WSY.js";
|
|
2
2
|
export { type AppOptions, type AppProfile, type PermDockApp, type PermDockDefinition, type PermDockQuery, definePermDock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as ApprovalRequest } from "./types-
|
|
1
|
+
import { u as ApprovalRequest } from "./types-BGN3coSe.js";
|
|
2
2
|
import { s as OperationMeta, t as Operation } from "./operations-DaEoGpMV.js";
|
|
3
3
|
/**
|
|
4
4
|
* What an email or chat prompt shows an approver, wire format v1. It carries no
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as DEFAULT_APPROVAL_TTL, a as ApprovalDelegationSource, b as escalationOpenAt, c as ApprovalListQuery, d as ApprovalResumeFailureCause, f as ApprovalSignature, g as ApprovalVerdict, h as ApprovalSubjectSummary, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, n as ApprovalApprovers, o as ApprovalInspectResult, p as ApprovalStatus, r as ApprovalCancelMeta, s as ApprovalListFilter, t as APPROVAL_HEADER, u as ApprovalRequest, v as approvalQuorum, y as approverRelationKey } from "../types-
|
|
1
|
+
import { _ as DEFAULT_APPROVAL_TTL, a as ApprovalDelegationSource, b as escalationOpenAt, c as ApprovalListQuery, d as ApprovalResumeFailureCause, f as ApprovalSignature, g as ApprovalVerdict, h as ApprovalSubjectSummary, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, n as ApprovalApprovers, o as ApprovalInspectResult, p as ApprovalStatus, r as ApprovalCancelMeta, s as ApprovalListFilter, t as APPROVAL_HEADER, u as ApprovalRequest, v as approvalQuorum, y as approverRelationKey } from "../types-BGN3coSe.js";
|
|
2
2
|
import { n as ApprovalErrorCode, r as isApprovalError, t as ApprovalError } from "../errors-KngVdJT9.js";
|
|
3
|
-
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, o as AccessReviewItemStatus, r as AccessReviewItem, s as AccessReviewStatus, t as AccessReview } from "../types-
|
|
4
|
-
import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-
|
|
3
|
+
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, o as AccessReviewItemStatus, r as AccessReviewItem, s as AccessReviewStatus, t as AccessReview } from "../types-CKwI6AT4.js";
|
|
4
|
+
import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-BOJPdIBk.js";
|
|
5
5
|
import { t as approvalFingerprint } from "../token-BgswTQzt.js";
|
|
6
6
|
export { APPROVAL_HEADER, APPROVAL_REQUEST_SCHEMA, type AccessReview, type AccessReviewDecision, AccessReviewError, type AccessReviewErrorCode, type AccessReviewHolder, type AccessReviewItem, type AccessReviewItemPage, type AccessReviewItemQuery, type AccessReviewItemStatus, type AccessReviewOptions, type AccessReviewStatus, type AccessReviewStore, type AccessReviewVerdict, type AccessReviewsHandlerOptions, type ApprovalApprovers, type ApprovalCancelMeta, type ApprovalCursorPosition, type ApprovalDelegation, type ApprovalDelegationMatch, type ApprovalDelegationSource, ApprovalError, type ApprovalErrorCode, type ApprovalInspectResult, type ApprovalListFilter, type ApprovalListQuery, type ApprovalPage, type ApprovalRequest, type ApprovalResumeFailureCause, type ApprovalSignature, type ApprovalSignatureClaims, type ApprovalSignatureEntry, type ApprovalStatus, type ApprovalStore, type ApprovalSubjectSummary, type ApprovalVerdict, type ApprovalView, type ApprovalsHandlerOptions, type ApproverDirectory, type ApproverRelationsOptions, DEFAULT_APPROVAL_TTL, type IdempotencyRecord, type IdempotencyStore, type IdempotentCall, type IdempotentResponse, type MatchDelegationOptions, type MemoryAccessReviewStore, type MemoryApprovalStore, type SignApprovalOptions, type StartAccessReviewInput, accessReviewerEligible, accessReviewsHandler, applyApprovalVerdict, approvalEntityTag, approvalFingerprint, approvalPageSize, approvalQuorum, approvalSignatureClaims, approvalView, approvalsHandler, approverPermissions, approverRelationKey, approverRelations, assertApprover, cancelApprovals, consumeApproval, decideAccessReviewItem, decodeApprovalCursor, encodeApprovalCursor, escalationOpenAt, idempotencyRecord, idempotencyRecordKey, inspectApproval, isAccessReviewError, isApprovalError, listAllApprovals, matchDelegation, matchesIdempotencyRecord, memoryAccessReviewStore, memoryApprovalDelegationSource, memoryApprovalStore, memoryIdempotencyStore, pageAccessReviewItems, pageApprovals, parseApprovalDelegation, parseApprovalRequest, readApprovalHeader, requestApproval, resolveApproval, resumeDecision, resumeFromHeader, signApproval, startAccessReview, storedApprovalToken, summarizeSubject, vouchApproval };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { y as arazzoFindings } from "./src-BXDohWNO.js";
|
|
2
2
|
import { d as missingInput } from "./errors-DgLOqc6j.js";
|
|
3
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
3
|
+
import { t as DOCS_BASE } from "./manifest-1w67doim.js";
|
|
4
4
|
import { t as ARAZZO_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
5
5
|
import { i as readJsonFile } from "./files-DAR51W3J.js";
|
|
6
6
|
import { a as loadModule, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
@@ -21,7 +21,7 @@ const check = defineLeaf({
|
|
|
21
21
|
...permissionsFlag
|
|
22
22
|
},
|
|
23
23
|
async run(ctx, { flags }) {
|
|
24
|
-
return (await import("./arazzo-
|
|
24
|
+
return (await import("./arazzo-1oDMApA_.js")).runArazzo({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
doc: given(flags.doc),
|
package/dist/astro/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, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
1
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
|
|
2
2
|
import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
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, rn as Snapshot } from "../policy-types-
|
|
6
|
-
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-
|
|
5
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
6
|
+
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-Ds2-fUUi.js";
|
|
7
7
|
import { APIContext, MiddlewareHandler } from "astro";
|
|
8
8
|
type AstroPermDockOptions<TUser = unknown> = FetchAdapterOptions<APIContext, TUser>;
|
|
9
9
|
/** What the adapter sets on `context.locals`. */
|
package/dist/authzen/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "../types-
|
|
2
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
-
import { p as WhereResult } from "../permdock-
|
|
4
|
-
import { D as Policy, Or as Principal, vr as Actor, wr as Delegation } from "../policy-types-
|
|
5
|
-
import { a as ProblemDetails } from "../errors-
|
|
6
|
-
import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-
|
|
1
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
2
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
3
|
+
import { p as WhereResult } from "../permdock-DkvkGVF0.js";
|
|
4
|
+
import { D as Policy, Or as Principal, vr as Actor, wr as Delegation } from "../policy-types-DuM3k5Ao.js";
|
|
5
|
+
import { a as ProblemDetails } from "../errors-BliKrfmP.js";
|
|
6
|
+
import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-CUkSKioS.js";
|
|
7
7
|
type AuthzenEntity = {
|
|
8
8
|
readonly type?: unknown;
|
|
9
9
|
readonly id?: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Kt as InstanceHandle, ar as Denial, qt as Instant } from "./policy-types-
|
|
1
|
+
import { Kt as InstanceHandle, ar as Denial, qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { t as Operation } from "./operations-DaEoGpMV.js";
|
|
3
3
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as Subject, F as RoleBinding, Or as Principal, X as DecisionSink, q as CustomRoleSource } from "../policy-types-
|
|
1
|
+
import { Ar as Subject, F as RoleBinding, Or as Principal, X as DecisionSink, q as CustomRoleSource } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { E as PermissionTree } from "../vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
type BetterAuthPrincipal = Principal & {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { c as AccessReviewStore } from "../types-
|
|
2
|
-
import { D as InstanceCache, F as PermissionState, P as PermissionCheck, a as PermDock, g as PrincipalIdentity, o as PermDockOptions, u as SnapshotOptions, v as PrincipalSource, z as ApprovalPolicySource } from "../permdock-
|
|
3
|
-
import { Ar as Subject, D as Policy, G as CredentialVerifier, In as ApproverInput, N as PolicyVocabulary, Or as Principal, Q as Intent, Tt as SupportSession, cr as DeniedDecision, gn as AuthEvent, it as MembershipSource, jt as ApiKeyPrincipal, qt as Instant, rn as Snapshot } from "../policy-types-
|
|
4
|
-
import { n as PostgrestSourcesOptions, r as SupabaseRpcCaller } from "../postgrest-
|
|
5
|
-
import { m as ApprovalStore } from "../types-
|
|
1
|
+
import { c as AccessReviewStore } from "../types-CKwI6AT4.js";
|
|
2
|
+
import { D as InstanceCache, F as PermissionState, P as PermissionCheck, a as PermDock, g as PrincipalIdentity, o as PermDockOptions, u as SnapshotOptions, v as PrincipalSource, z as ApprovalPolicySource } from "../permdock-DkvkGVF0.js";
|
|
3
|
+
import { Ar as Subject, D as Policy, G as CredentialVerifier, In as ApproverInput, N as PolicyVocabulary, Or as Principal, Q as Intent, Tt as SupportSession, cr as DeniedDecision, gn as AuthEvent, it as MembershipSource, jt as ApiKeyPrincipal, qt as Instant, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { n as PostgrestSourcesOptions, r as SupabaseRpcCaller } from "../postgrest-B1bTbVE4.js";
|
|
5
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
6
6
|
import { i as OperationEffect } from "../operations-DaEoGpMV.js";
|
|
7
7
|
import { E as PermissionTree, w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
8
|
-
import { n as Warmable } from "../warm-
|
|
9
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
10
|
-
import { n as SubjectCache, s as VersionCache } from "../subject-cache-
|
|
11
|
-
import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-
|
|
8
|
+
import { n as Warmable } from "../warm-znYuJoUZ.js";
|
|
9
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
10
|
+
import { n as SubjectCache, s as VersionCache } from "../subject-cache-Bn4oJY_R.js";
|
|
11
|
+
import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-Dp6FQ8np.js";
|
|
12
12
|
import { i as SupabaseManifest } from "../manifest-BwhZ1s5b.js";
|
|
13
|
-
import { r as PermissionKeyOf } from "../type-helpers-
|
|
13
|
+
import { r as PermissionKeyOf } from "../type-helpers-CsWH9z8p.js";
|
|
14
14
|
import { t as SqlQuery } from "../sql-BYYNi1lu.js";
|
|
15
|
-
import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-
|
|
16
|
-
import { t as SupabaseClaimsClient } from "../client-subject-
|
|
15
|
+
import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-Bhye7WSY.js";
|
|
16
|
+
import { t as SupabaseClaimsClient } from "../client-subject-YAGMzRa-.js";
|
|
17
17
|
import { a as CatalogDocument } from "../types-CbJ5mxXv.js";
|
|
18
|
-
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-
|
|
18
|
+
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BW-vAxJi.js";
|
|
19
19
|
import { AccessBucketPolicy, AccessTopicPolicy, AuthorizationHooks, AuthorizationProvider, AuthorizationRequest, Authorizer, BlockTables, CredentialProvider, SupportAuthorize, SupportAuthorizeInput, ToolDecision, ToolRef } from "better-supabase/contract";
|
|
20
20
|
import { AuthSession, DelegationRef } from "better-supabase/server";
|
|
21
21
|
import { EntitlementClaimOptions } from "better-supabase/blocks/entitlements";
|
|
@@ -3,7 +3,7 @@ import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
|
3
3
|
import { o as flattenGrantee } from "../grantee-BSCdpIF3.js";
|
|
4
4
|
import { c as listPermissions, n as findPermission, o as isPermission } from "../permission-registry-DstT40VS.js";
|
|
5
5
|
import { i as dateAt, m as rfc3339, p as nowSeconds, u as isoAt } from "../time-r0CKBm57.js";
|
|
6
|
-
import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-
|
|
6
|
+
import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-D2c1CcoZ.js";
|
|
7
7
|
import { s as ApprovalError } from "../types-DFZKovb3.js";
|
|
8
8
|
import { t as parseApprovalRequest } from "../parse-request-IEEzVFM8.js";
|
|
9
9
|
import { t as applyApprovalVerdict } from "../store-n3yEN7dt.js";
|
|
@@ -23,7 +23,7 @@ import { i as snapshotTag } from "../snapshot-cache-DTTEfmxv.js";
|
|
|
23
23
|
import { n as warmUp } from "../warm-BZ0ZwSmO.js";
|
|
24
24
|
import { r as isSubject, t as anonymousSubject } from "../subject-DkxY-AhF.js";
|
|
25
25
|
import { r as credentialSubject, s as parseCredential } from "../credential-D9in5keC.js";
|
|
26
|
-
import { s as subjectFromSupabaseSession, t as SUPABASE_OPTIONS } from "../definition-options-
|
|
26
|
+
import { s as subjectFromSupabaseSession, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
|
|
27
27
|
import { n as parseSupabaseManifest } from "../manifest-CIWOmdlP.js";
|
|
28
28
|
import { t as loadPrincipal } from "../principal-source-BIcukkB3.js";
|
|
29
29
|
import { n as subscribersFor } from "../audience-B6DQ5wQu.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
3
|
-
import { Ar as Subject, Q as Intent } from "./policy-types-
|
|
4
|
-
import { n as PermDockWrap } from "./wrap-
|
|
5
|
-
import { o as OtelWrap } from "./types-
|
|
6
|
-
import { r as PdpFactory } from "./types-
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
|
|
3
|
+
import { Ar as Subject, Q as Intent } from "./policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { n as PermDockWrap } from "./wrap-C36-eV-C.js";
|
|
5
|
+
import { o as OtelWrap } from "./types-DRMoZjJm.js";
|
|
6
|
+
import { r as PdpFactory } from "./types-CBUYbPwl.js";
|
|
7
7
|
import { t as RequestContext } from "./request-context-E3-ps-H_.js";
|
|
8
|
-
import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-
|
|
8
|
+
import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-FkdDSB9h.js";
|
|
9
9
|
/**
|
|
10
10
|
* The options of every framework adapter; `TContext` is what its callbacks
|
|
11
11
|
* receive.
|
|
@@ -3,9 +3,9 @@ import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
|
3
3
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
|
|
5
5
|
import { a as rel } from "./files-DAR51W3J.js";
|
|
6
|
-
import { a as readConfig } from "./config-
|
|
6
|
+
import { a as readConfig } from "./config-Dan6vcvj.js";
|
|
7
7
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
8
|
-
import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-
|
|
8
|
+
import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-DNbm8OiV.js";
|
|
9
9
|
import { a as parseSqlFile, u as removeStatements } from "./ast-Dnm2TOHN.js";
|
|
10
10
|
import { n as loadBsbSql, r as schemaSqlFiles, t as bsbSqlMissing } from "./bsb-access-Bcw6GrQm.js";
|
|
11
11
|
import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
|
|
@@ -2,7 +2,7 @@ import { n as guessPermissions } from "./collect-CPimbkC5.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, p as betterSupabaseConfigPath } from "./config-
|
|
5
|
+
import { a as readConfig, p as betterSupabaseConfigPath } from "./config-Dan6vcvj.js";
|
|
6
6
|
import { n as bsbActions, t as answerOf } from "./bsb-actions-BHiyBxQZ.js";
|
|
7
7
|
import { r as parseSync } from "./optional-CaQWp9HA.js";
|
|
8
8
|
import { a as nameOf, o as nodes, r as child, t as applyEdits, u as walk } from "./ast-CAOxvn9t.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Or as Principal, _t as TokenSigner, qt as Instant } from "./policy-types-
|
|
1
|
+
import { Or as Principal, _t as TokenSigner, qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { E as PermissionTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
3
|
/**
|
|
4
4
|
* Who may redeem a capability: anyone holding it, any signed-in principal, one
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
2
|
-
import { o as nonEmptyOr } from "./output-
|
|
2
|
+
import { o as nonEmptyOr } from "./output-dO4bArCS.js";
|
|
3
3
|
import { n as isIdentifier, t as emitPolicyModule } from "./policy-module-Bp4HvsRg.js";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import { resolve } from "node:path";
|
|
@@ -16,7 +16,7 @@ const casbinImport = defineLeaf({
|
|
|
16
16
|
...outFlag
|
|
17
17
|
},
|
|
18
18
|
async run(ctx, { flags }) {
|
|
19
|
-
const { runCasbinImport } = await import("./casbin-
|
|
19
|
+
const { runCasbinImport } = await import("./casbin-DrdS0vLy.js");
|
|
20
20
|
return runCasbinImport({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
model: given(flags.model),
|
package/dist/catalog/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-
|
|
2
|
-
import { D as Policy, Or as Principal, s as ApprovalRequirement } from "../policy-types-
|
|
3
|
-
import { a as CatalogFinding, i as CatalogEventData } from "../sink-
|
|
1
|
+
import { c as checkHostedGrant, n as HostedGrantCheck, o as PolicyDocument } from "../hosted-DZgmEG4b.js";
|
|
2
|
+
import { D as Policy, Or as Principal, s as ApprovalRequirement } from "../policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { a as CatalogFinding, i as CatalogEventData } from "../sink-CoMI_OVw.js";
|
|
4
4
|
import { a as CatalogDocument, c as CatalogOperation, d as CatalogRole, f as CatalogScope, h as CatalogValidity, i as CatalogDelegation, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, o as CatalogGrant, p as CatalogSupportAccess, r as CatalogBreakGlass, s as CatalogOAuthScope, t as CatalogActivation, u as CatalogResource } from "../types-CbJ5mxXv.js";
|
|
5
|
-
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
5
|
+
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-C65TbLtU.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
/**
|
|
8
8
|
* The hosted grants of `document` that `policy` no longer accepts, as drift
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-
|
|
1
|
+
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-BYL8xCJB.js";
|
|
2
2
|
export { type ChatAction, type ChatActionResult, type ChatAuthor, type ChatCommand, type ChatCommandContext, type ChatCommandResult, type ChatPermDock, type ChatPermDockOptions, type ChatPrincipal, type SubjectFromChatOptions, createPermDock, isChatAuthor, subjectFromChat };
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-
|
|
2
|
-
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-
|
|
3
|
-
import { n as ChatTransport } from "../types-
|
|
1
|
+
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-BYL8xCJB.js";
|
|
2
|
+
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-BKxaKtby.js";
|
|
3
|
+
import { n as ChatTransport } from "../types-D3GI2B9O.js";
|
|
4
4
|
import { ActionEvent, Author, CardElement } from "chat";
|
|
5
5
|
type ChatSdkAuthorOptions = {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
1
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-T_NqxU31.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
4
4
|
/** Structural `McpServerProvenance` from `@anthropic-ai/claude-agent-sdk`. */
|
|
5
5
|
type ClaudeMcpServer = {
|
|
6
6
|
readonly name: string;
|
package/dist/clerk/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ar as Subject, Or as Principal, q as CustomRoleSource } from "../policy-types-
|
|
1
|
+
import { Ar as Subject, Or as Principal, q as CustomRoleSource } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { t as ClaimsMap } from "../claims-map-CLKQWxJG.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { s as RemotePdpCache } from "../types-
|
|
4
|
+
import { s as RemotePdpCache } from "../types-CBUYbPwl.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
type ClerkPrincipal = Principal & {
|
|
7
7
|
readonly clerkPermissions?: readonly string[];
|
package/dist/cli/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ if (argv.length === 1 && (argv[0] === "--version" || argv[0] === "-v")) {
|
|
|
11
11
|
const [{ isCi }, { trapSignals }, { run }, { streamHasColors }] = await Promise.all([
|
|
12
12
|
import("../env-hbYumkRp.js"),
|
|
13
13
|
import("../signals-a1NxAP0X.js"),
|
|
14
|
-
import("../run-
|
|
14
|
+
import("../run-DOP1UKWw.js"),
|
|
15
15
|
import("../style-Crf-90o6.js")
|
|
16
16
|
]);
|
|
17
17
|
const signals = trapSignals();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord } from "../../compact-C4LFuqbW.js";
|
|
2
2
|
import { a as describeError } from "../../errors-DgLOqc6j.js";
|
|
3
|
-
import { a as readConfig } from "../../config-
|
|
4
|
-
import { t as executeGenerate } from "../../execute-
|
|
3
|
+
import { a as readConfig } from "../../config-Dan6vcvj.js";
|
|
4
|
+
import { t as executeGenerate } from "../../execute-xF5fwAel.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { parentPort, workerData } from "node:worker_threads";
|
|
7
7
|
// src/cli/generate/watch-worker.ts
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as RlsApiKeys, a as PermDockConfig, c as RlsConfig, d as RlsMembershipTable, f as RlsMemberships, g as RlsTarget, h as RlsSuspension, i as GenKind, l as RlsDialect, m as RlsSuspendedScope, n as CollectConfig, p as RlsSuspendedMembership, r as GenConfig, s as RlsActiveRow, t as CatalogConfig, u as RlsFunctionMapping } from "../types-config-
|
|
1
|
+
import { _ as RlsApiKeys, a as PermDockConfig, c as RlsConfig, d as RlsMembershipTable, f as RlsMemberships, g as RlsTarget, h as RlsSuspension, i as GenKind, l as RlsDialect, m as RlsSuspendedScope, n as CollectConfig, p as RlsSuspendedMembership, r as GenConfig, s as RlsActiveRow, t as CatalogConfig, u as RlsFunctionMapping } from "../types-config-DYRoZ8Iw.js";
|
|
2
2
|
import { o as OperationMap } from "../operations-DaEoGpMV.js";
|
|
3
3
|
import { E as PermissionTree } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { D as Policy } from "../policy-types-
|
|
5
|
-
import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-
|
|
6
|
-
import { i as PolicyModel, n as PluginTask, r as definePlugin, t as PermDockPlugin } from "../plugin-
|
|
7
|
-
import { r as RunResult, t as CliIo } from "../types-run-
|
|
8
|
-
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
4
|
+
import { D as Policy } from "../policy-types-DuM3k5Ao.js";
|
|
5
|
+
import { o as ResourceNameOf, r as PermissionKeyOf, s as ScopeNameOf, t as ActionNameOf } from "../type-helpers-CsWH9z8p.js";
|
|
6
|
+
import { i as PolicyModel, n as PluginTask, r as definePlugin, t as PermDockPlugin } from "../plugin-DDPXES4k.js";
|
|
7
|
+
import { r as RunResult, t as CliIo } from "../types-run-CeCrWO0v.js";
|
|
8
|
+
import { a as pushedPolicy, i as parsePushedPolicy, n as PushedGrant, r as PushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-C65TbLtU.js";
|
|
9
9
|
import { a as CatalogDocument, d as CatalogRole, f as CatalogScope, l as CatalogPermission, m as CatalogUsage, n as CatalogApproval, p as CatalogSupportAccess, r as CatalogBreakGlass, t as CatalogActivation, u as CatalogResource } from "../types-CbJ5mxXv.js";
|
|
10
10
|
/**
|
|
11
11
|
* The absolute path `permdock collect` writes the catalog to: `collect.out`,
|
package/dist/cli/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as catalogPath } from "../catalog-path-bG0XxHMu.js";
|
|
2
|
-
import { n as defineConfig } from "../config-
|
|
2
|
+
import { n as defineConfig } from "../config-Dan6vcvj.js";
|
|
3
3
|
import { t as definePlugin } from "../plugin-MQVfUBUS.js";
|
|
4
4
|
import { c as parseGrantsMarker, l as parseHookMarker } from "../markers-C-kThnKN.js";
|
|
5
|
-
import { t as run } from "../run-
|
|
5
|
+
import { t as run } from "../run-DvbrPkgt.js";
|
|
6
6
|
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-dm_hFstN.js";
|
|
7
7
|
// src/cli/token-schemas.ts
|
|
8
8
|
const ID = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
1
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
2
2
|
import { n as GenKindPluginOptions, t as ConstantsPluginOptions } from "../../gen-kind-DFQnQwFN.js";
|
|
3
3
|
/**
|
|
4
4
|
* Scope, role, permission and operation names and topic and path builders:
|
package/dist/cli/plugins/app.js
CHANGED
|
@@ -32,7 +32,7 @@ function openapi(options = {}) {
|
|
|
32
32
|
return operationsFile(source.cwd, options.routes, task.out);
|
|
33
33
|
}
|
|
34
34
|
if (options.doc === void 0) return [];
|
|
35
|
-
const { openapiDocument } = await import("../../openapi-document-
|
|
35
|
+
const { openapiDocument } = await import("../../openapi-document-XnGRbWBb.js");
|
|
36
36
|
return openapiDocument(task, options, source);
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -18,7 +18,7 @@ function powersync(options = {}) {
|
|
|
18
18
|
}],
|
|
19
19
|
emit: async (task, _model, source) => {
|
|
20
20
|
if (source === void 0) return [];
|
|
21
|
-
const { powersyncFiles, publicationPath } = await import("../../powersync-
|
|
21
|
+
const { powersyncFiles, publicationPath } = await import("../../powersync-CZkZgVyi.js");
|
|
22
22
|
return powersyncFiles(source.policy, source.config, task.out, await publicationPath(source.cwd, source.config)).files.map((file) => ({
|
|
23
23
|
path: file.path,
|
|
24
24
|
contents: file.text
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
2
|
-
import { t as RlsPluginOptions } from "../../rls-options-
|
|
1
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
2
|
+
import { t as RlsPluginOptions } from "../../rls-options-DCLdZaTZ.js";
|
|
3
3
|
/**
|
|
4
4
|
* The RLS plugin. The factory records options; the SQL generator loads on emit,
|
|
5
5
|
* so importing `rls` does not load it.
|
package/dist/cli/plugins/rls.js
CHANGED
|
@@ -19,7 +19,7 @@ function rls(options = {}) {
|
|
|
19
19
|
}],
|
|
20
20
|
config: (config) => withRlsOutputs(config, options),
|
|
21
21
|
emit: async (task, _model, source) => {
|
|
22
|
-
const { filesForRls } = await import("../../rls-files-
|
|
22
|
+
const { filesForRls } = await import("../../rls-files-CRRtjXxG.js");
|
|
23
23
|
return filesForRls(task, options, source);
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
1
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
2
2
|
import { n as GenKindPluginOptions, r as ZodPluginOptions } from "../../gen-kind-DFQnQwFN.js";
|
|
3
3
|
/** Row validators as Zod schemas, from the model's JSON Schema. */
|
|
4
4
|
export declare function zod(options?: ZodPluginOptions): PermDockPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as RlsDialect } from "../../types-config-
|
|
2
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
1
|
+
import { l as RlsDialect } from "../../types-config-DYRoZ8Iw.js";
|
|
2
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
3
3
|
type ScimPluginOptions = {
|
|
4
4
|
readonly schema?: string;
|
|
5
5
|
readonly dialect?: RlsDialect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as SupabaseSchemas } from "../../types-config-
|
|
2
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
1
|
+
import { o as SupabaseSchemas } from "../../types-config-DYRoZ8Iw.js";
|
|
2
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
3
3
|
type SupabaseHookPluginOptions = {
|
|
4
4
|
readonly out?: string;
|
|
5
5
|
readonly schemas?: SupabaseSchemas;
|
|
@@ -18,7 +18,7 @@ function supabaseHook(options = {}) {
|
|
|
18
18
|
config: (config) => withHookOut(config, options.out),
|
|
19
19
|
emit: async (_task, _model, source) => {
|
|
20
20
|
if (source === void 0) return [];
|
|
21
|
-
const { runSupabase } = await import("../../supabase-hook-
|
|
21
|
+
const { runSupabase } = await import("../../supabase-hook-C_ViYz3g.js");
|
|
22
22
|
const outcome = await runSupabase({
|
|
23
23
|
cwd: source.cwd,
|
|
24
24
|
config: source.config,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as SupabaseSchemas } from "../../types-config-
|
|
2
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
3
|
-
import { t as RlsPluginOptions } from "../../rls-options-
|
|
1
|
+
import { o as SupabaseSchemas } from "../../types-config-DYRoZ8Iw.js";
|
|
2
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
3
|
+
import { t as RlsPluginOptions } from "../../rls-options-DCLdZaTZ.js";
|
|
4
4
|
/** The Custom Access Token hook the plugin writes; `false` skips it. */
|
|
5
5
|
type SupabaseHookOption = false | {
|
|
6
6
|
readonly out?: string;
|
|
@@ -37,14 +37,14 @@ function supabase(options = {}) {
|
|
|
37
37
|
config: (config) => withHookOut(withRlsOutputs(config, options), hookOut),
|
|
38
38
|
emit: async (task, _model, source) => {
|
|
39
39
|
if (task.id === "sql") {
|
|
40
|
-
const { filesForRls } = await import("../../rls-files-
|
|
40
|
+
const { filesForRls } = await import("../../rls-files-CRRtjXxG.js");
|
|
41
41
|
return filesForRls(task, {
|
|
42
42
|
...rlsOptions,
|
|
43
43
|
dialect: "supabase"
|
|
44
44
|
}, source);
|
|
45
45
|
}
|
|
46
46
|
if (source === void 0) return [];
|
|
47
|
-
const { runSupabase } = await import("../../supabase-hook-
|
|
47
|
+
const { runSupabase } = await import("../../supabase-hook-C_ViYz3g.js");
|
|
48
48
|
const hookOptions = hook === false || hook === void 0 ? {} : hook;
|
|
49
49
|
const outcome = await runSupabase({
|
|
50
50
|
cwd: source.cwd,
|
package/dist/cli/plugins/ui.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PermDockPlugin } from "../../plugin-
|
|
1
|
+
import { t as PermDockPlugin } from "../../plugin-DDPXES4k.js";
|
|
2
2
|
import { n as GenKindPluginOptions } from "../../gen-kind-DFQnQwFN.js";
|
|
3
3
|
/** `permdock/react` bound to the policy's vocabulary. Carries `"use client"`. */
|
|
4
4
|
export declare function reactHooks(options?: GenKindPluginOptions): PermDockPlugin;
|
package/dist/cli/plugins/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as kindPlugin } from "../../gen-kind-
|
|
1
|
+
import { t as kindPlugin } from "../../gen-kind-Vhq_ZIZm.js";
|
|
2
2
|
// src/cli/plugins/ui.ts
|
|
3
3
|
/** `permdock/react` bound to the policy's vocabulary. Carries `"use client"`. */
|
|
4
4
|
function reactHooks(options = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as Subject } from "./policy-types-
|
|
2
|
-
import { A as SupabaseSubjectOptions, C as SupabasePrincipal } from "./sources-
|
|
1
|
+
import { Ar as Subject } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { A as SupabaseSubjectOptions, C as SupabasePrincipal } from "./sources-Dp6FQ8np.js";
|
|
3
3
|
/**
|
|
4
4
|
* The part of a supabase-js (or `@supabase/ssr`) client the subject reads:
|
|
5
5
|
* `auth.getClaims()`, which verifies the token against the project's JWKS or
|
package/dist/cloud/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types-
|
|
2
|
-
import { Cn as DirectoryEvent, Tn as MembershipEvent, _n as AutomationEvent, _t as TokenSigner, bn as DeliveryChannel, hn as AccessEvent, qt as Instant, vn as CredentialEvent, xn as DeliveryEvent, yn as DecisionEvent } from "../policy-types-
|
|
3
|
-
import { c as DeliveryTransport } from "../types-
|
|
4
|
-
import { m as ApprovalStore } from "../types-
|
|
5
|
-
import { n as ApprovalWaiter } from "../waiter-
|
|
6
|
-
import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-
|
|
7
|
-
import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-
|
|
8
|
-
import { l as ReplayStore } from "../types-
|
|
1
|
+
import { a as CloudConnectionOptions, c as CloudOptions, i as CloudClient, l as CloudSignerOptions, n as CloudCatalog, o as CloudEndpointOptions, r as CloudCatalogPush, s as CloudEndpoints, t as CloudApproverOptions } from "../types-BwjOhlgx.js";
|
|
2
|
+
import { Cn as DirectoryEvent, Tn as MembershipEvent, _n as AutomationEvent, _t as TokenSigner, bn as DeliveryChannel, hn as AccessEvent, qt as Instant, vn as CredentialEvent, xn as DeliveryEvent, yn as DecisionEvent } from "../policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { c as DeliveryTransport } from "../types-D3GI2B9O.js";
|
|
4
|
+
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
5
|
+
import { n as ApprovalWaiter } from "../waiter-DdwtUSzB.js";
|
|
6
|
+
import { i as CatalogEventData, l as CloudEventType, r as CLOUD_EVENT_TYPES, s as CloudEvent } from "../sink-CoMI_OVw.js";
|
|
7
|
+
import { f as WebhookVerifier, r as WebhookFailureCause$1, s as WebhookJwks } from "../standard-webhooks-D2FwHtMX.js";
|
|
8
|
+
import { l as ReplayStore } from "../types-Cvfe-G_N.js";
|
|
9
9
|
/**
|
|
10
10
|
* The one base URL of PermDock Cloud. The platform issuer is this URL; its
|
|
11
11
|
* OAuth routes, `/.well-known/oauth-authorization-server` and `/openapi.json`
|
|
@@ -70,7 +70,7 @@ const pull = defineLeaf({
|
|
|
70
70
|
},
|
|
71
71
|
async run(ctx, { flags }) {
|
|
72
72
|
const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
|
|
73
|
-
return (await import("./pull-
|
|
73
|
+
return (await import("./pull-BOC-0kJV.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|