permdock 0.35.0 → 0.36.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 +1 -1
- package/dist/a2a/index.js +2 -2
- package/dist/{adoption-scan-oaPsvHSN.js → adoption-scan-FcbJOEo1.js} +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +1 -1
- package/dist/approvals/index.d.ts +1 -1
- package/dist/{arazzo-B2PszcDL.js → arazzo-BRWgVc8j.js} +1 -1
- package/dist/{arazzo-1oDMApA_.js → arazzo-rYG2UY9k.js} +2 -2
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +1 -1
- package/dist/authzen/index.d.ts +3 -3
- package/dist/authzen/index.js +1 -1
- package/dist/better-supabase/index.d.ts +13 -4
- package/dist/better-supabase/index.js +8 -8
- package/dist/{bind-DPptdk31.js → bind-2Cuy29LS.js} +2 -2
- package/dist/{bind-BnrOLyJq.d.ts → bind-Caffleoh.d.ts} +5 -5
- package/dist/{bsb-access-tags-uDuwPUbT.js → bsb-access-tags-Bfmhft2o.js} +1 -1
- package/dist/{bsb-action-keys-BfZAwg-9.js → bsb-action-keys-LgveZiHJ.js} +2 -2
- package/dist/{bsb-actions-BHiyBxQZ.js → bsb-actions-DcDxQ_Ku.js} +3 -3
- package/dist/{budgets-hi-ecgEd.js → budgets-B2hIDaz7.js} +2 -2
- package/dist/{build-instance-DZEWYO-A.js → build-instance-CZg_Bf45.js} +1 -1
- package/dist/{bundle-size-DbXV65Ix.js → bundle-size-BjdmlKWJ.js} +2 -2
- package/dist/bundle-size-BoG9Jm7c.js +1 -0
- package/dist/{casbin-vtIUd-6L.js → casbin-4FACZ5Ez.js} +1 -1
- package/dist/{casbin-DrdS0vLy.js → casbin-Cz8BGXHW.js} +1 -1
- package/dist/{catalog-CBPFyRv7.js → catalog-DYC6wfAj.js} +1 -1
- package/dist/{catalog-BExjL94D.js → catalog-SnaPhbZ1.js} +2 -2
- package/dist/{catalog-doc-D4g3nyFB.js → catalog-doc-BX97oFAn.js} +1 -1
- package/dist/catalog-e6QRd1JP.js +1 -0
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat-sdk/index.d.ts +1 -1
- package/dist/claude-agent/index.d.ts +2 -2
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/plugins/app.js +1 -1
- package/dist/cli/plugins/openapi.js +1 -1
- package/dist/cli/plugins/powersync.js +1 -1
- package/dist/cli/plugins/rls.js +1 -1
- package/dist/cli/plugins/schemas.js +1 -1
- package/dist/cli/plugins/supabase-hook.js +1 -1
- package/dist/cli/plugins/supabase.js +2 -2
- package/dist/cli/plugins/ui.js +1 -1
- package/dist/{cloud-BQnIR-SS.js → cloud-BB67klb4.js} +2 -2
- package/dist/{codemod-C0OHCnaj.js → codemod-BPcxGOlq.js} +5 -5
- package/dist/{codemod-rv5XSBNw.js → codemod-Lov9764v.js} +1 -1
- package/dist/collect-C2_CKZ09.js +1 -0
- package/dist/{collect-Ba7ccZ23.js → collect-CcE8QBtZ.js} +2 -2
- package/dist/{collect-CPimbkC5.js → collect-Co-w8Eg2.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-CoUadQXF.d.ts → compile-CyUn58lf.d.ts} +1 -1
- package/dist/{compile-BRDpja_Y.js → compile-EtZv2wc0.js} +6 -6
- package/dist/{completion-Dgjdte2-.js → completion-5Y8toe1d.js} +1 -1
- package/dist/{config-anQ9E37F.js → config-DfbiV554.js} +1 -1
- package/dist/{config-report-C43BSFHY.js → config-report-Cs6iDebE.js} +2 -2
- package/dist/{context-rioF4fQl.js → context-CFPsmfPl.js} +1 -1
- package/dist/convex/index.d.ts +2 -2
- package/dist/convex/index.js +2 -2
- package/dist/{core-DCMIztx1.d.ts → core-_Lofwt2K.d.ts} +1 -1
- package/dist/{core-DIUrkFNL.js → core-s_TCdJ6G.js} +2 -2
- package/dist/{create-BYL8xCJB.d.ts → create-BfTbYrts.d.ts} +1 -1
- package/dist/{create-T_NqxU31.d.ts → create-D12I1Vkl.d.ts} +4 -4
- package/dist/{create-BMRnaZel.js → create-D6B06lb8.js} +3 -3
- package/dist/{create-iCwrnaFE.d.ts → create-EPbgV-LA.d.ts} +2 -2
- package/dist/{create-BRY0OtFV.js → create-bbjS7tCW.js} +2 -2
- package/dist/{credentials-DzNrCNZY.d.ts → credentials-DtSnydoD.d.ts} +1 -1
- package/dist/{custom-role-rebuild-wzN8pqDk.js → custom-role-rebuild-QFXiMHqJ.js} +1 -1
- package/dist/{define-permdock-CO7YNrOF.js → define-permdock-Dazve5lw.js} +1 -1
- package/dist/{define-permdock-Bhye7WSY.d.ts → define-permdock-ZR0w-Loy.d.ts} +3 -3
- package/dist/delivery/index.d.ts +1 -1
- package/dist/{diff-CkSZF7LO.js → diff-BABnQ-z0.js} +3 -3
- package/dist/{diff-CS8ks9h3.js → diff-C7zKA7ny.js} +1 -1
- package/dist/{doctor-GnMgqGO8.js → doctor-Chio5Col.js} +101 -31
- package/dist/{doctor-sAqU02Fx.js → doctor-Cm1HDI5s.js} +2 -2
- package/dist/drizzle/index.d.ts +2 -2
- package/dist/elysia/index.d.ts +3 -3
- package/dist/elysia/index.js +1 -1
- package/dist/{evaluations-CUkSKioS.d.ts → evaluations-BYoj5ci6.d.ts} +1 -1
- package/dist/eve/index.d.ts +2 -2
- package/dist/eve/index.js +2 -2
- package/dist/{execute-xF5fwAel.js → execute-B_yY9xWV.js} +4 -4
- package/dist/{explain-DISCeeYS.js → explain-Blkq60Ff.js} +2 -2
- package/dist/{explain-D4ipf8IH.js → explain-CKIqxXSe.js} +1 -1
- package/dist/express/index.d.ts +3 -3
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +3 -3
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-Ds2-fUUi.d.ts → fetch-adapter-CdaSVKrt.d.ts} +2 -2
- package/dist/{fetch-adapter-BXQc4NoV.js → fetch-adapter-DXgza6EM.js} +1 -1
- package/dist/{fields-CwFej4gp.js → fields-CKX-qjWb.js} +1 -1
- package/dist/gen-CYuPbpBZ.js +1 -0
- package/dist/{gen-djPw1RS-.js → gen-DlJK73v7.js} +4 -4
- package/dist/{gen-kind-Vhq_ZIZm.js → gen-kind-C4tERYMw.js} +1 -1
- package/dist/{generate-BcH-uL0z.js → generate-CFqcr3H6.js} +95 -16
- package/dist/{generate-CYHeuPq8.js → generate-CbLA2WW_.js} +3 -3
- package/dist/{generate-options-DDSeUTFU.js → generate-options-BFAvlJKQ.js} +9 -9
- package/dist/h3/index.d.ts +3 -3
- package/dist/h3/index.js +2 -2
- package/dist/{helper-calls-B5MOl99d.js → helper-calls-DN1PJcNY.js} +53 -1
- package/dist/hono/index.d.ts +3 -3
- package/dist/hono/index.js +1 -1
- package/dist/{hook-sql-EksAnz-T.js → hook-sql-CSUFnRn0.js} +283 -13
- package/dist/{import-C45gc74U.js → import-B-17dw3B.js} +1 -1
- package/dist/{import-Bz6IKoMM.js → import-wBO24zgo.js} +1 -1
- package/dist/{index-Cjr8Q-uq.d.ts → index-Bb2sZq1K.d.ts} +8 -7
- package/dist/{index-CWBCzwOp.d.ts → index-CT4VKXU-.d.ts} +1 -1
- package/dist/{index-ktQ7E4qB.d.ts → index-Cfg0ED9K.d.ts} +2 -2
- package/dist/{index-BOJPdIBk.d.ts → index-DY1aJ-K1.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{init-B6aZxzd7.js → init-Bg0vS1LV.js} +1 -1
- package/dist/{init-CCBVeyW8.js → init-DRbkPclr.js} +3 -3
- package/dist/{inspect-functions-BUACOlgS.js → inspect-functions-DLP72IMA.js} +1 -1
- package/dist/{instance-options-DDERlopm.d.ts → instance-options-D-SLCp4I.d.ts} +1 -1
- package/dist/{interactive-only-Bbq9e61G.js → interactive-only-CylKSukS.js} +1 -1
- package/dist/{kernel-DSnWVZ0O.js → kernel-CzzmzwLg.js} +3 -3
- package/dist/{keys-BWhAnANj.js → keys-C-W0yrql.js} +1 -1
- package/dist/kysely/index.d.ts +2 -2
- package/dist/{lazy-provider-Clt2095H.d.ts → lazy-provider-BSHAIpMK.d.ts} +1 -1
- package/dist/{login-BnE2iUUA.js → login-D6IJk8k1.js} +1 -1
- package/dist/{login-d631Tpa9.js → login-yF-sDNm9.js} +3 -3
- package/dist/{manifest-1w67doim.js → manifest-DkHIGPoY.js} +63 -52
- package/dist/{manifest-schema-N3v2RVL-.js → manifest-schema-CkROwfT9.js} +1 -1
- package/dist/{manifest-CIWOmdlP.js → manifest-teSfgeqF.js} +1 -1
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +2 -2
- package/dist/{measure-BKsYdwKd.js → measure-_VlSPfSY.js} +2 -2
- package/dist/{memberships-CNoAlsma.js → memberships-CDiSsFTu.js} +1 -1
- package/dist/{memberships-4e6qi8Uv.js → memberships-DiCbNRny.js} +1 -1
- package/dist/{model-BYCtXS_g.js → model-r7X_HXyS.js} +2 -2
- package/dist/{names-DBxKx2bz.js → names-DwGleRKB.js} +3 -3
- package/dist/nest/index.d.ts +3 -3
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +6 -6
- package/dist/next/index.js +3 -3
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/openai/index.d.ts +2 -2
- package/dist/openai/index.js +3 -3
- package/dist/{openapi-CN2Oq9zN.js → openapi-D156UqcM.js} +100 -5
- package/dist/{openapi-BnKSxOrh.js → openapi-Dcqqja0n.js} +1 -1
- package/dist/{openapi-document-XnGRbWBb.js → openapi-document-CTvHkCXz.js} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +2 -2
- package/dist/{output-dO4bArCS.js → output-DNbj0_Yi.js} +1 -1
- package/dist/{ownership-CSdLGGfW.js → ownership-BvKT4DBj.js} +3 -3
- package/dist/pdp/index.d.ts +2 -2
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-DkvkGVF0.d.ts → permdock-CHU1LZGq.d.ts} +5 -3
- package/dist/{permdock-JM9TKevZ.js → permdock-DZmr2kJw.js} +2 -1
- package/dist/{permissions-xPyAmuXi.js → permissions-DUmypTlO.js} +1 -1
- package/dist/{pipeline-BAGSNnct.js → pipeline-BMbLI2Sj.js} +2 -2
- package/dist/{policy-CTn-9VQm.js → policy-DekUQ-6v.js} +1 -1
- package/dist/{policy-bundle-BHd1dqU9.js → policy-bundle-JU4-AFJM.js} +3 -3
- package/dist/{powersync-Jj57J-X8.js → powersync-CpxkK_Lz.js} +1 -1
- package/dist/{powersync-CZkZgVyi.js → powersync-D9ZLDzyv.js} +1 -1
- package/dist/{powersync-DJ7dY-Vf.js → powersync-cG4lxrzQ.js} +8 -8
- package/dist/prisma/index.d.ts +1 -1
- package/dist/{protected-action-gBxeetqY.d.ts → protected-action-Dux5RJbA.d.ts} +3 -3
- package/dist/{provider-Clt2095H.d.ts → provider-BSHAIpMK.d.ts} +1 -1
- package/dist/{provider-BwqzED5h.js → provider-BfKUBNyV.js} +32 -5
- package/dist/{prune-config-Bwz4wNQA.js → prune-config-ByigsAkl.js} +4 -4
- package/dist/{pull-Cj_ngsuu.js → pull-4Cyo0uTS.js} +3 -3
- package/dist/pull-_ic7Md2h.js +1 -0
- package/dist/{push-D5so0ptb.js → push-Br0Uz5pT.js} +2 -2
- package/dist/{rbac-DbyaaNLa.js → rbac-BOVyTCI6.js} +3 -3
- package/dist/react/index.d.ts +4 -4
- package/dist/react/lazy.d.ts +4 -4
- 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 +4 -4
- package/dist/{rename-CI6NIF9t.js → rename-Dp47Gs_j.js} +2 -2
- package/dist/{report-DF0zUNut.js → report-Dp-ApWVC.js} +1 -1
- package/dist/{report-XdCm1y_J.js → report-x9GeUvjx.js} +1 -1
- package/dist/{request-context-CqqdiVp4.js → request-context-LvIolknK.js} +1 -1
- package/dist/{resolve-names-CuEhEQyB.js → resolve-names-B_no27Dh.js} +4 -4
- package/dist/{resolver-D2c1CcoZ.js → resolver-CAmmdVAL.js} +22 -11
- package/dist/{rls-DcqSn7b2.js → rls-C816Uuvx.js} +5 -5
- package/dist/{rls-BDtyip5c.js → rls-DB18scnl.js} +13 -12
- package/dist/{rls-files-CRRtjXxG.js → rls-files-Cp-qzl61.js} +1 -1
- package/dist/{row-conditions-DwIJocfQ.js → row-conditions-BjARoFLU.js} +1 -1
- package/dist/{rpc-BYFB37KV.d.ts → rpc-CL8lrV5Y.d.ts} +1 -1
- package/dist/{rpc-BQPa7tLP.js → rpc-CoClxzcc.js} +1 -1
- package/dist/{run-DvbrPkgt.js → run-CJhz8BHw.js} +2 -2
- package/dist/run-PpoUQXDc.js +1 -0
- package/dist/{run-ticket-CRldclc7.d.ts → run-ticket-CCRYQNj0.d.ts} +1 -1
- package/dist/{saas-DSeazNrN.js → saas-iXqf78G8.js} +2 -2
- package/dist/{scan-CmfWbAbz.js → scan-DvM-_F8-.js} +1 -1
- package/dist/{schema-CO3btX_O.js → schema-uTRr3B9f.js} +1 -1
- package/dist/server/index.d.ts +5 -5
- package/dist/server/index.js +1 -1
- package/dist/{server-types-FkdDSB9h.d.ts → server-types-C_Lnc8Ec.d.ts} +5 -5
- package/dist/{size-CY6rK6l9.js → size-BO7J8M3B.js} +2 -2
- package/dist/{skills-C28GUaJC.js → skills-B5exEJf5.js} +1 -1
- package/dist/{skills-CA8GfQxQ.js → skills-DF_3nX9_.js} +1 -1
- package/dist/{snapshot-size-D6ixbYvH.js → snapshot-size-BzamcZrn.js} +1 -1
- package/dist/{snapshot-size-NklqBKcV.js → snapshot-size-CJ53OOen.js} +1 -1
- package/dist/solid/index.d.ts +2 -2
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +2 -2
- package/dist/{src-BXDohWNO.js → src-CYKqpYUM.js} +4 -4
- package/dist/{store-core-aluQ3R1M.d.ts → store-core-D5-cqb6z.d.ts} +1 -1
- package/dist/{stores-hHICuiQl.d.ts → stores-DPUPLu29.d.ts} +3 -3
- package/dist/supabase/index.d.ts +2 -2
- package/dist/supabase/index.js +3 -3
- package/dist/supabase/middleware.d.ts +4 -4
- package/dist/supabase/middleware.js +3 -3
- package/dist/{supabase-DXEcFJGM.js → supabase-Dpy2XE9v.js} +2 -2
- package/dist/{supabase-ByhSqBDB.js → supabase-NpHqrRXC.js} +2 -2
- package/dist/supabase-hook-DaK4Rirh.js +2 -0
- package/dist/{supabase-hook-D-ybV98H.js → supabase-hook-VIpXUHKI.js} +5 -5
- package/dist/{supabase-schemas-CVhpyYB6.js → supabase-schemas-DA28GP4N.js} +1 -1
- package/dist/{supautils-C85NuESf.js → supautils-ym4X20ig.js} +2 -1
- package/dist/svelte/index.d.ts +3 -3
- package/dist/svelte/runtime.d.ts +2 -2
- package/dist/svelte/source.d.ts +3 -3
- package/dist/sveltekit/index.d.ts +3 -3
- package/dist/sveltekit/index.js +1 -1
- package/dist/{table-reads-BcceuV7h.js → table-reads-4KzGXg9f.js} +1 -1
- package/dist/{table-reads-BoF_58yh.js → table-reads-B5kunhny.js} +3 -3
- package/dist/{tables-BTXmioCH.js → tables-BwQvlpS4.js} +10 -5
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +1 -1
- package/dist/{tenant-check-DNbm8OiV.js → tenant-check-CsJkduIb.js} +3 -3
- package/dist/terminal/index.d.ts +2 -2
- package/dist/terminal/index.js +2 -2
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.js +1753 -162
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +6 -6
- package/dist/testing/saas/index.d.ts +1 -1
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +4 -4
- package/dist/trpc/index.js +2 -2
- package/dist/{types-DRMoZjJm.d.ts → types-B23A72BG.d.ts} +1 -1
- package/dist/{types-D417woMp.d.ts → types-BRaJxlqL.d.ts} +2 -2
- package/dist/{types-CBUYbPwl.d.ts → types-C8sDUhaF.d.ts} +1 -1
- package/dist/{types-dtDg4goh.d.ts → types-CM5GwxiJ.d.ts} +2 -2
- package/dist/{types-BzsplNgO.d.ts → types-iwSmOTcK.d.ts} +2 -2
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-D5QwWiNp.js → usage-BD_z4pba.js} +1 -1
- package/dist/{usage-BGuSrwiW.js → usage-_9h9jQo8.js} +4 -4
- package/dist/usage-wphGxzPQ.js +1 -0
- package/dist/{verify-GWeopgxU.js → verify-cw6SFoQE.js} +9 -9
- package/dist/vue/index.d.ts +2 -2
- package/dist/{warm-BZ0ZwSmO.js → warm-XyQ-2nUR.js} +1 -1
- package/dist/watch-5WP3ZCcR.js +1 -0
- package/dist/{watch-14vng0pg.js → watch-BFDMb5N4.js} +1 -1
- package/dist/{watch-DuIAsqFR.js → watch-Cvc7eUPk.js} +2 -2
- package/dist/workflow/index.d.ts +1 -1
- package/dist/workflow/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +2 -2
- package/dist/{wrap-C36-eV-C.d.ts → wrap-B4Ge6LOd.d.ts} +1 -1
- package/package.json +1 -1
- package/schemas/supabase-manifest-v1.json +1 -1
- package/dist/bundle-size-BRFeBvuv.js +0 -1
- package/dist/catalog-sR0m6x2g.js +0 -1
- package/dist/collect-CIdE3FGC.js +0 -1
- package/dist/gen-BPYFr_tZ.js +0 -1
- package/dist/pull-BOC-0kJV.js +0 -1
- package/dist/run-DOP1UKWw.js +0 -1
- package/dist/supabase-hook-C_ViYz3g.js +0 -2
- package/dist/usage-CW6PfRfC.js +0 -1
- package/dist/watch-Be7ja4dL.js +0 -1
package/dist/a2a/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as Policy, Or as Principal, br as AuthorizationDetail } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
3
3
|
import { a as ProblemDetails } from "../errors-BliKrfmP.js";
|
|
4
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
4
|
+
import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
|
|
5
5
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
6
6
|
type A2aAuth = {
|
|
7
7
|
readonly clientId?: string;
|
package/dist/a2a/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as createAgentKernel } from "../kernel-
|
|
2
|
-
import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-
|
|
1
|
+
import { n as createAgentKernel } from "../kernel-CzzmzwLg.js";
|
|
2
|
+
import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-DZmr2kJw.js";
|
|
3
3
|
import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as delegationFrom } from "../delegation-input-7Y5Rlja7.js";
|
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-
|
|
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-D12I1Vkl.js";
|
|
2
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/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as createPermDock } from "../create-
|
|
1
|
+
export { n as createPermDock } from "../create-bbjS7tCW.js";
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-D12I1Vkl.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
4
4
|
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-DgNqDAPH.js";
|
package/dist/ai-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
-
import { r as stepUpText, t as approvalTokenOf } from "../kernel-
|
|
3
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { t as agentRuntime } from "../create-bbjS7tCW.js";
|
|
2
|
+
import { r as stepUpText, t as approvalTokenOf } from "../kernel-CzzmzwLg.js";
|
|
3
|
+
import { u as withApp } from "../permdock-DZmr2kJw.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
|
|
6
6
|
// src/ai-sdk/create.ts
|
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-ZR0w-Loy.js";
|
|
2
2
|
export { type AppOptions, type AppProfile, type PermDockApp, type PermDockDefinition, type PermDockQuery, definePermDock };
|
package/dist/app/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as definePermDock } from "../define-permdock-
|
|
1
|
+
export { t as definePermDock } from "../define-permdock-Dazve5lw.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
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-
|
|
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-DY1aJ-K1.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 };
|
|
@@ -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-rYG2UY9k.js")).runArazzo({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
doc: given(flags.doc),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as arazzoFindings } from "./src-
|
|
1
|
+
import { y as arazzoFindings } from "./src-CYKqpYUM.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-DkHIGPoY.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";
|
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-C_Lnc8Ec.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-CHU1LZGq.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
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-
|
|
6
|
+
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CdaSVKrt.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/astro/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
2
|
-
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
|
|
3
3
|
// src/astro/create.ts
|
|
4
4
|
const route = {
|
|
5
5
|
context: (context) => context,
|
package/dist/authzen/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
2
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
-
import { p as WhereResult } from "../permdock-
|
|
2
|
+
import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
|
|
3
|
+
import { p as WhereResult } from "../permdock-CHU1LZGq.js";
|
|
4
4
|
import { D as Policy, Or as Principal, vr as Actor, wr as Delegation } from "../policy-types-DuM3k5Ao.js";
|
|
5
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-
|
|
6
|
+
import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-BYoj5ci6.js";
|
|
7
7
|
type AuthzenEntity = {
|
|
8
8
|
readonly type?: unknown;
|
|
9
9
|
readonly id?: unknown;
|
package/dist/authzen/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
1
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-CZg_Bf45.js";
|
|
2
2
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
3
3
|
import { r as ownGet } from "../paths-CeS_gpHf.js";
|
|
4
4
|
import { a as getResource, c as listPermissions } from "../permission-registry-DstT40VS.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
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-
|
|
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-CHU1LZGq.js";
|
|
3
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
4
|
import { n as PostgrestSourcesOptions, r as SupabaseRpcCaller } from "../postgrest-B1bTbVE4.js";
|
|
5
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
8
|
import { n as Warmable } from "../warm-znYuJoUZ.js";
|
|
9
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
9
|
+
import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
|
|
10
10
|
import { n as SubjectCache, s as VersionCache } from "../subject-cache-Bn4oJY_R.js";
|
|
11
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
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-
|
|
15
|
+
import { a as AppOptions, n as PermDockDefinition, r as PermDockQuery } from "../define-permdock-ZR0w-Loy.js";
|
|
16
16
|
import { t as SupabaseClaimsClient } from "../client-subject-YAGMzRa-.js";
|
|
17
17
|
import { a as CatalogDocument } from "../types-CbJ5mxXv.js";
|
|
18
18
|
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BW-vAxJi.js";
|
|
@@ -38,7 +38,7 @@ type AccessReviewApplierOptions<V extends PolicyVocabulary = PolicyVocabulary> =
|
|
|
38
38
|
* The role a revoked member moves to with `update_member_role`: one role, or
|
|
39
39
|
* a map from the roles in the item's `via` to their fallback. A fallback that
|
|
40
40
|
* still grants the permission, or none, removes the member with
|
|
41
|
-
* `
|
|
41
|
+
* `delete_member` instead.
|
|
42
42
|
*/
|
|
43
43
|
readonly demoteTo?: string | Readonly<Record<string, string>>;
|
|
44
44
|
/**
|
|
@@ -730,6 +730,15 @@ type AuthorizationProviderOptions<P = undefined> = {
|
|
|
730
730
|
*/
|
|
731
731
|
readonly approvers?: ProviderApprovers;
|
|
732
732
|
readonly requestApprovers?: boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Fill better-supabase's `isApproverMany` with
|
|
735
|
+
* `permdock_approver_request_ids`, over the same kinds and `requestApprovers`
|
|
736
|
+
* as `isApprover`, so the approvals block decides every pending request in
|
|
737
|
+
* one call. Needs `permdock_approver_request_ids` in the manifest
|
|
738
|
+
* (`rls.approvals`, PermDock 0.36 or later) and a better-supabase release
|
|
739
|
+
* that has the `isApproverMany` slot; an older one refuses the key.
|
|
740
|
+
*/
|
|
741
|
+
readonly isApproverMany?: boolean;
|
|
733
742
|
/**
|
|
734
743
|
* better-supabase's `blocks.permissions.activeTenant`. When the token hook
|
|
735
744
|
* reads the active tenant from another place than better-supabase writes it,
|
|
@@ -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-CAmmdVAL.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";
|
|
@@ -16,25 +16,25 @@ import { a as flattenApprovers, i as approverManagerKey, r as approverLeaves } f
|
|
|
16
16
|
import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
|
|
17
17
|
import { r as sha256Digest } from "../sha256-DFsnyVPo.js";
|
|
18
18
|
import { r as expandGrants } from "../snapshot-compact-BWMLnIXK.js";
|
|
19
|
-
import { s as scopesReaching, t as getPermDock } from "../permdock-
|
|
19
|
+
import { s as scopesReaching, t as getPermDock } from "../permdock-DZmr2kJw.js";
|
|
20
20
|
import { d as scopeList } from "../scopes-B-KX9EI8.js";
|
|
21
21
|
import { n as holdsActiveTenant, t as OTHER_TRUNCATED_CLAIMS } from "../share-key-claims-CZGAeVqa.js";
|
|
22
22
|
import { i as snapshotTag } from "../snapshot-cache-DTTEfmxv.js";
|
|
23
|
-
import { n as warmUp } from "../warm-
|
|
23
|
+
import { n as warmUp } from "../warm-XyQ-2nUR.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
26
|
import { s as subjectFromSupabaseSession, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
|
|
27
|
-
import { n as parseSupabaseManifest } from "../manifest-
|
|
27
|
+
import { n as parseSupabaseManifest } from "../manifest-teSfgeqF.js";
|
|
28
28
|
import { t as loadPrincipal } from "../principal-source-BIcukkB3.js";
|
|
29
29
|
import { n as subscribersFor } from "../audience-B6DQ5wQu.js";
|
|
30
30
|
import { t as decideSupportSession } from "../support-session-DpzcGTuV.js";
|
|
31
|
-
import { r as widenedKeys, t as authorizationProvider } from "../provider-
|
|
31
|
+
import { r as widenedKeys, t as authorizationProvider } from "../provider-BfKUBNyV.js";
|
|
32
32
|
import { n as parseApprovalHeader } from "../approval-header-BvszJE3l.js";
|
|
33
33
|
import { i as qualifySqlTable, l as sqlIdent } from "../sql-T4GaBh9X.js";
|
|
34
34
|
import { o as junctionMembershipSource } from "../sources-C6Id63F8.js";
|
|
35
35
|
import { t as parseCatalog } from "../parse-CUqZ_lLC.js";
|
|
36
|
-
import {
|
|
37
|
-
import { t as definePermDock$1 } from "../define-permdock-
|
|
36
|
+
import { n as policyRowConditionKeys } from "../row-conditions-BjARoFLU.js";
|
|
37
|
+
import { t as definePermDock$1 } from "../define-permdock-Dazve5lw.js";
|
|
38
38
|
import { i as linkPolicyViolation, n as capabilityOf, r as capabilitySubject } from "../capability-oxfxybFR.js";
|
|
39
39
|
import { r as isId, t as idList } from "../ids-0QDIxtxL.js";
|
|
40
40
|
import { AsyncResult, dbError } from "better-supabase";
|
|
@@ -101,7 +101,7 @@ function accessReviewApplier(options) {
|
|
|
101
101
|
member: item.principal,
|
|
102
102
|
role
|
|
103
103
|
});
|
|
104
|
-
else await rpc("
|
|
104
|
+
else await rpc("delete_member", {
|
|
105
105
|
organization: review.tenant,
|
|
106
106
|
member: item.principal
|
|
107
107
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as withApp } from "./permdock-
|
|
1
|
+
import { u as withApp } from "./permdock-DZmr2kJw.js";
|
|
2
2
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
3
3
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
4
4
|
import { t as composeWraps } from "./wrap-CsfsaJhd.js";
|
|
5
5
|
import { n as tenantScope } from "./adapter-context-lHq_i_77.js";
|
|
6
|
-
import { t as createPermDock } from "./create-
|
|
6
|
+
import { t as createPermDock } from "./create-D6B06lb8.js";
|
|
7
7
|
import { h as invalidSignatureResponse } from "./evaluations-DPEAu_jM.js";
|
|
8
8
|
// src/server/bind.ts
|
|
9
9
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
2
|
+
import { t as InstanceOptions } from "./instance-options-D-SLCp4I.js";
|
|
3
3
|
import { Ar as Subject, Q as Intent } from "./policy-types-DuM3k5Ao.js";
|
|
4
|
-
import { n as PermDockWrap } from "./wrap-
|
|
5
|
-
import { o as OtelWrap } from "./types-
|
|
6
|
-
import { r as PdpFactory } from "./types-
|
|
4
|
+
import { n as PermDockWrap } from "./wrap-B4Ge6LOd.js";
|
|
5
|
+
import { o as OtelWrap } from "./types-B23A72BG.js";
|
|
6
|
+
import { r as PdpFactory } from "./types-C8sDUhaF.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-C_Lnc8Ec.js";
|
|
9
9
|
/**
|
|
10
10
|
* The options of every framework adapter; `TContext` is what its callbacks
|
|
11
11
|
* receive.
|
|
@@ -5,7 +5,7 @@ import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
|
|
|
5
5
|
import { a as rel } from "./files-DAR51W3J.js";
|
|
6
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-CsJkduIb.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as guessPermissions } from "./collect-
|
|
1
|
+
import { n as guessPermissions } from "./collect-Co-w8Eg2.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
5
|
import { a as readConfig, p as betterSupabaseConfigPath } from "./config-Dan6vcvj.js";
|
|
6
|
-
import { n as bsbActions, t as answerOf } from "./bsb-actions-
|
|
6
|
+
import { n as bsbActions, t as answerOf } from "./bsb-actions-DcDxQ_Ku.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";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
@@ -32,8 +32,8 @@ function isFunction(value) {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Every action the better-supabase config at `path` makes better-supabase
|
|
35
|
-
* check, from the project's own `better-supabase/cli` `
|
|
36
|
-
* `better-supabase/sql` `listActions` (0.84.0).
|
|
35
|
+
* check, from the project's own `better-supabase/cli` `getConfig` (0.88.0;
|
|
36
|
+
* `loadConfig` before it) and `better-supabase/sql` `listActions` (0.84.0).
|
|
37
37
|
*/
|
|
38
38
|
async function bsbActions(cwd, path) {
|
|
39
39
|
let cli;
|
|
@@ -45,7 +45,7 @@ async function bsbActions(cwd, path) {
|
|
|
45
45
|
} catch {
|
|
46
46
|
return { kind: "missing" };
|
|
47
47
|
}
|
|
48
|
-
const load = cli["loadConfig"];
|
|
48
|
+
const load = cli["getConfig"] ?? cli["loadConfig"];
|
|
49
49
|
const list = sql["listActions"];
|
|
50
50
|
if (!isFunction(load) || !isFunction(list)) return { kind: "old" };
|
|
51
51
|
let listed;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
2
2
|
import { n as supabaseMembershipsBudget } from "./budget-BH81q2cj.js";
|
|
3
3
|
import { t as claimsSize } from "./claims-size-BUhCWS88.js";
|
|
4
|
-
import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-
|
|
5
|
-
import { t as bundleSize } from "./bundle-size-
|
|
4
|
+
import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-CJ53OOen.js";
|
|
5
|
+
import { t as bundleSize } from "./bundle-size-BjdmlKWJ.js";
|
|
6
6
|
// src/cli/budgets/budgets.ts
|
|
7
7
|
/**
|
|
8
8
|
* Memberships of the probe subject when `budgets.snapshot.memberships` is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
3
|
+
import { t as getPermDock } from "./permdock-DZmr2kJw.js";
|
|
4
4
|
// src/core/build-instance.ts
|
|
5
5
|
/**
|
|
6
6
|
* `resolve()`, or `null` when it throws: a subject or delegation that cannot be
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as clientBundle } from "./permdock-
|
|
2
|
-
import { n as measurePart } from "./snapshot-size-
|
|
1
|
+
import { p as clientBundle } from "./permdock-DZmr2kJw.js";
|
|
2
|
+
import { n as measurePart } from "./snapshot-size-CJ53OOen.js";
|
|
3
3
|
// src/cli/budgets/bundle-size.ts
|
|
4
4
|
/**
|
|
5
5
|
* The size of `clientBundle(policy)` as JSON, per role and per shared part. The
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runBundleSize } from "./bundle-size-BjdmlKWJ.js";
|
|
@@ -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-Cz8BGXHW.js");
|
|
20
20
|
return runCasbinImport({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
model: given(flags.model),
|
|
@@ -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-DNbj0_Yi.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";
|
|
@@ -30,7 +30,7 @@ const catalog = defineLeaf({
|
|
|
30
30
|
...checkFlag
|
|
31
31
|
},
|
|
32
32
|
async run(ctx, { flags }) {
|
|
33
|
-
const { catalogFile, runCatalog } = await import("./catalog-
|
|
33
|
+
const { catalogFile, runCatalog } = await import("./catalog-e6QRd1JP.js");
|
|
34
34
|
const result = await runCatalog({
|
|
35
35
|
cwd: ctx.cwd,
|
|
36
36
|
config: ctx.config,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
2
|
-
import { a as catalogSchemaDocument, n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, s as formatCatalogMarkdown, t as buildCatalog } from "./catalog-doc-
|
|
2
|
+
import { a as catalogSchemaDocument, n as catalogForCompare, o as formatCatalogJson, r as catalogForDrift, s as formatCatalogMarkdown, t as buildCatalog } from "./catalog-doc-BX97oFAn.js";
|
|
3
3
|
import { t as loadConfiguredOperations } from "./catalog-operations-BqSsByIE.js";
|
|
4
|
-
import { i as scanSources, r as runCollect } from "./collect-
|
|
4
|
+
import { i as scanSources, r as runCollect } from "./collect-Co-w8Eg2.js";
|
|
5
5
|
import { n as fileSummary, t as applyFiles } from "./files-DuV7wRim.js";
|
|
6
6
|
import { r as listSourceFiles, t as defaultSrcPath } from "./files-DAR51W3J.js";
|
|
7
7
|
import { a as loadModule, i as loadConfiguredPolicy, r as leavesOf, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
@@ -2,7 +2,7 @@ import { t as catalogSchema } from "./schema-D2OK4RrB.js";
|
|
|
2
2
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
3
3
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { t as byCodePoint } from "./compare-dfHDj8kT.js";
|
|
5
|
-
import {
|
|
5
|
+
import { n as policyRowConditionKeys } from "./row-conditions-BjARoFLU.js";
|
|
6
6
|
import { i as wireValidity } from "./validity-YNEEm2MZ.js";
|
|
7
7
|
import { t as catalogFingerprint } from "./catalog-fingerprint-DAWZARy6.js";
|
|
8
8
|
import { r as findRole, s as listRoles } from "./vocabulary-CE2k7s1a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as catalogFile, n as runCatalog } from "./catalog-SnaPhbZ1.js";
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-
|
|
1
|
+
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-BfTbYrts.js";
|
|
2
2
|
export { type ChatAction, type ChatActionResult, type ChatAuthor, type ChatCommand, type ChatCommandContext, type ChatCommandResult, type ChatPermDock, type ChatPermDockOptions, type ChatPrincipal, type SubjectFromChatOptions, createPermDock, isChatAuthor, subjectFromChat };
|
package/dist/chat/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as isApprovalError } from "../types-DFZKovb3.js";
|
|
2
2
|
import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-COh0lLc1.js";
|
|
3
|
-
import { t as getPermDock, u as withApp } from "../permdock-
|
|
3
|
+
import { t as getPermDock, u as withApp } from "../permdock-DZmr2kJw.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
|
|
6
6
|
import { f as nowMillis } from "../time-r0CKBm57.js";
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-
|
|
1
|
+
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-BfTbYrts.js";
|
|
2
2
|
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-BKxaKtby.js";
|
|
3
3
|
import { n as ChatTransport } from "../types-D3GI2B9O.js";
|
|
4
4
|
import { ActionEvent, Author, CardElement } from "chat";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-D12I1Vkl.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-CHU1LZGq.js";
|
|
3
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 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { t as agentRuntime } from "../create-bbjS7tCW.js";
|
|
2
|
+
import { u as withApp } from "../permdock-DZmr2kJw.js";
|
|
3
3
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
4
4
|
// src/claude-agent/create.ts
|
|
5
5
|
const MCP_PREFIX = "mcp__";
|
package/dist/clerk/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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-C8sDUhaF.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-PpoUQXDc.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
3
|
import { a as readConfig } from "../../config-Dan6vcvj.js";
|
|
4
|
-
import { t as executeGenerate } from "../../execute-
|
|
4
|
+
import { t as executeGenerate } from "../../execute-B_yY9xWV.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.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as catalogPath } from "../catalog-path-bG0XxHMu.js";
|
|
|
2
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-CJhz8BHw.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 = {
|
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-CTvHkCXz.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-D9ZLDzyv.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
|
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-Cp-qzl61.js");
|
|
23
23
|
return filesForRls(task, options, source);
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -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-DaK4Rirh.js");
|
|
22
22
|
const outcome = await runSupabase({
|
|
23
23
|
cwd: source.cwd,
|
|
24
24
|
config: source.config,
|
|
@@ -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-Cp-qzl61.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-DaK4Rirh.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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as kindPlugin } from "../../gen-kind-
|
|
1
|
+
import { t as kindPlugin } from "../../gen-kind-C4tERYMw.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 = {}) {
|
|
@@ -41,7 +41,7 @@ const push = defineLeaf({
|
|
|
41
41
|
},
|
|
42
42
|
async run(ctx, { flags }) {
|
|
43
43
|
const env = await withStdinSecret(ctx, "key", flags["key-stdin"], "PERMDOCK_CLOUD_KEY");
|
|
44
|
-
return (await import("./push-
|
|
44
|
+
return (await import("./push-Br0Uz5pT.js")).runCloud({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
config: ctx.config,
|
|
47
47
|
url: given(flags.url),
|
|
@@ -70,7 +70,7 @@ const pull = defineLeaf({
|
|
|
70
70
|
},
|
|
71
71
|
async run(ctx, { flags }) {
|
|
72
72
|
const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
|
|
73
|
-
return (await import("./pull-
|
|
73
|
+
return (await import("./pull-_ic7Md2h.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|