permdock 0.32.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/a2a/index.js +2 -2
- package/dist/{adoption-scan-BJMEEu7V.js → adoption-scan-oaPsvHSN.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +1 -1
- package/dist/{approval-chain-D97rgMoA.js → approval-chain-BEeExHpb.js} +15 -10
- package/dist/{approval-prompt-yNyhQqn8.d.ts → approval-prompt-BKxaKtby.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-BAgh0PT6.js → arazzo-1oDMApA_.js} +2 -2
- package/dist/{arazzo-C_xK2Kaa.js → arazzo-B2PszcDL.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +1 -1
- package/dist/{audience-CARf-b-R.js → audience-B6DQ5wQu.js} +1 -1
- package/dist/authzen/index.d.ts +6 -6
- package/dist/authzen/index.js +1 -1
- package/dist/{automation-0VF1xe4o.d.ts → automation-C7WH5XcZ.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +34 -13
- package/dist/better-supabase/index.js +21 -21
- package/dist/{bind-zQacwAOg.d.ts → bind-BnrOLyJq.d.ts} +7 -7
- package/dist/{bind-BYeoLJgN.js → bind-DPptdk31.js} +2 -2
- package/dist/{bsb-access-tags-CjeR7v7-.js → bsb-access-tags-uDuwPUbT.js} +12 -3
- package/dist/{bsb-action-keys-CYEREFMg.js → bsb-action-keys-BfZAwg-9.js} +1 -1
- package/dist/{budgets-Dpumu_Dt.js → budgets-hi-ecgEd.js} +3 -3
- package/dist/{build-instance-CFiegi_w.js → build-instance-DZEWYO-A.js} +1 -1
- package/dist/bundle-size-BRFeBvuv.js +1 -0
- package/dist/{bundle-size-Ddhv_H_v.js → bundle-size-DbXV65Ix.js} +2 -2
- package/dist/{capability-BPzseilU.d.ts → capability-BW-vAxJi.d.ts} +1 -1
- package/dist/{casbin-BErdqy1J.js → casbin-DrdS0vLy.js} +1 -1
- package/dist/{casbin-EwdKipQs.js → casbin-vtIUd-6L.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/catalog/index.js +4 -4
- package/dist/{challenge-CRB1X3Ry.js → challenge-E9sicsCA.js} +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/{claims-size-BsSDVD5u.js → claims-size-BUhCWS88.js} +18 -3
- package/dist/claims-size-C6oKGuOM.js +1 -0
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +2 -2
- package/dist/cli/index.d.ts +6 -6
- package/dist/cli/index.js +3 -3
- 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-xCSkKD1C.d.ts → client-subject-YAGMzRa-.d.ts} +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-DW3q3qnp.js → cloud-BQnIR-SS.js} +2 -2
- package/dist/{codemod-DVDMFsTX.js → codemod-C0OHCnaj.js} +6 -6
- package/dist/{codemod-CF7NNDzA.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-BXKYYmT1.js → compile-BRDpja_Y.js} +10 -9
- package/dist/{compile-tG1zkSgX.d.ts → compile-CoUadQXF.d.ts} +2 -2
- package/dist/{completion-B59uPAnZ.js → completion-Dgjdte2-.js} +1 -1
- package/dist/{config-7QvEq57a.js → config-Dan6vcvj.js} +2 -2
- package/dist/{config-VCa1RLUe.js → config-anQ9E37F.js} +1 -1
- package/dist/{config-report-CjvA6lGI.js → config-report-C43BSFHY.js} +3 -3
- package/dist/{config-shape-BTojaD-H.js → config-shape-BODqM-rG.js} +1 -1
- package/dist/{context-BQHKgT1m.js → context-Nr3nknZX.js} +2 -2
- package/dist/{context-CAFddgb9.js → context-rioF4fQl.js} +1 -1
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +2 -2
- package/dist/{core-bf8qgaZf.d.ts → core-DCMIztx1.d.ts} +2 -2
- package/dist/{core-C5yCD-Ls.js → core-DIUrkFNL.js} +5 -5
- package/dist/{create-COQVXK6C.js → create-BMRnaZel.js} +3 -3
- package/dist/{create-nOWD3Joc.js → create-BRY0OtFV.js} +3 -3
- package/dist/{create-Cn5EpEez.d.ts → create-BYL8xCJB.d.ts} +4 -4
- package/dist/{create-B7Xa4jSQ.d.ts → create-T_NqxU31.d.ts} +7 -7
- package/dist/{create-DHA0fhmi.d.ts → create-iCwrnaFE.d.ts} +6 -6
- package/dist/{credentials-COT-cjnP.d.ts → credentials-DzNrCNZY.d.ts} +2 -2
- package/dist/{custom-role-rebuild-BK73tPib.js → custom-role-rebuild-wzN8pqDk.js} +5 -5
- package/dist/{define-permdock-DBgwTFi1.d.ts → define-permdock-Bhye7WSY.d.ts} +6 -6
- package/dist/{define-permdock-D7aKxIax.js → define-permdock-CO7YNrOF.js} +2 -2
- package/dist/{definition-options-9o8Hdww3.js → definition-options-DLBlRrPO.js} +8 -9
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-C_AWc0f0.d.ts → denied-text-DgNqDAPH.d.ts} +1 -1
- package/dist/{describe-AdETpWsn.d.ts → describe-DEoWvk00.d.ts} +1 -1
- package/dist/{diff-CW9eZy9X.js → diff-CS8ks9h3.js} +1 -1
- package/dist/{diff-COdwpP31.js → diff-CkSZF7LO.js} +2 -2
- package/dist/{doctor-ervtBRzG.js → doctor-GnMgqGO8.js} +102 -42
- package/dist/{doctor-ELj5hrVv.js → doctor-sAqU02Fx.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +1 -1
- package/dist/{errors-COoiWqIs.d.ts → errors-BliKrfmP.d.ts} +1 -1
- package/dist/{evaluate-Dmd0bShm.js → evaluate-DNz6wMYv.js} +1 -1
- package/dist/{evaluations-GW9j_ARq.d.ts → evaluations-CUkSKioS.d.ts} +3 -3
- package/dist/{evaluator-eager-CpVYslzY.js → evaluator-eager-BLNVbEAC.js} +1 -1
- package/dist/evaluator-zpeC7zel.js +2 -0
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +2 -2
- package/dist/{execute-ix7AAdWg.js → execute-xF5fwAel.js} +4 -4
- package/dist/{explain-DRC9V5Qb.js → explain-D4ipf8IH.js} +1 -1
- package/dist/{explain-jg0KLCVt.js → explain-DISCeeYS.js} +2 -2
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-CU1DIkXu.js → fetch-adapter-BXQc4NoV.js} +1 -1
- package/dist/{fetch-adapter-CJncmsPg.d.ts → fetch-adapter-Ds2-fUUi.d.ts} +2 -2
- package/dist/{fields-y_PSRCyJ.js → fields-CwFej4gp.js} +3 -3
- package/dist/{from-snapshot-DGc9W4QU.js → from-snapshot-DZ4D2sLa.js} +14 -9
- package/dist/gen-BPYFr_tZ.js +1 -0
- package/dist/{gen-8rW_AUG5.js → gen-djPw1RS-.js} +3 -3
- package/dist/{gen-kind-C9ikF8nb.js → gen-kind-Vhq_ZIZm.js} +1 -1
- package/dist/{generate-CW7gNfLr.js → generate-BcH-uL0z.js} +18 -17
- package/dist/{generate-BmpCt5oi.js → generate-CYHeuPq8.js} +3 -3
- package/dist/{generate-options-DiR4r_sk.js → generate-options-DDSeUTFU.js} +15 -14
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +2 -2
- package/dist/{helper-calls-DHvgN9tr.js → helper-calls-B5MOl99d.js} +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +1 -1
- package/dist/{hook-sql-D-abRHut.js → hook-sql-EksAnz-T.js} +269 -225
- package/dist/{hosted-DZwCFrcy.js → hosted-D3USbpS6.js} +1 -1
- package/dist/{hosted-Bkw3Oyh-.d.ts → hosted-DZgmEG4b.d.ts} +1 -1
- package/dist/identity-scopes-CRVAV0HU.js +11 -0
- package/dist/{import-D_8tLF9g.js → import-Bz6IKoMM.js} +3 -3
- package/dist/{import-BAhoTYTk.js → import-C45gc74U.js} +1 -1
- package/dist/{index-DPVeDtAO.d.ts → index-BOJPdIBk.d.ts} +4 -4
- package/dist/{index-xShPsK8G.d.ts → index-CAE_Z53Y.d.ts} +1 -1
- package/dist/{index-Kj5S3IWE.d.ts → index-CWBCzwOp.d.ts} +4 -4
- package/dist/{index-DT3hOxA7.d.ts → index-Cjr8Q-uq.d.ts} +34 -11
- package/dist/{index-WOx7TBbj.d.ts → index-DBBRSw6r.d.ts} +2 -2
- package/dist/{index-DWmIuQLz.d.ts → index-ktQ7E4qB.d.ts} +4 -4
- package/dist/index.d.ts +16 -16
- package/dist/index.js +13 -13
- package/dist/{init-zxb0BVDJ.js → init-B6aZxzd7.js} +1 -1
- package/dist/{init-DkRHIe8-.js → init-CCBVeyW8.js} +3 -3
- package/dist/inspect-functions-BUACOlgS.js +34 -0
- package/dist/{instance-options-DQCiBBuz.d.ts → instance-options-DDERlopm.d.ts} +1 -1
- package/dist/{instance-snapshot-D9kjL37B.js → instance-snapshot-D03srwnf.js} +9 -8
- package/dist/{interactive-only-Dqww0ABO.js → interactive-only-Bbq9e61G.js} +10 -182
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-C5akxw5n.js → kernel-DSnWVZ0O.js} +5 -5
- package/dist/{keys-DQsHrgBM.js → keys-BWhAnANj.js} +1 -1
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{lazy-provider-CMgFAGf8.d.ts → lazy-provider-Clt2095H.d.ts} +1 -1
- package/dist/{lazy-provider-DNVjY4n3.js → lazy-provider-b8UHGi8P.js} +2 -2
- package/dist/{login-C1p3gmj8.js → login-BnE2iUUA.js} +1 -1
- package/dist/{login-DOEZveP6.js → login-d631Tpa9.js} +3 -3
- package/dist/{manager-chain-DdkiCw5q.js → manager-chain-CFkceFls.js} +2 -2
- package/dist/{manifest-31igzVGQ.js → manifest-1w67doim.js} +45 -38
- package/dist/{manifest-DgsxeAsM.d.ts → manifest-BwhZ1s5b.d.ts} +35 -3
- package/dist/{manifest-B487A3po.js → manifest-CIWOmdlP.js} +1 -1
- package/dist/{manifest-schema-D7RQbnGY.js → manifest-schema-N3v2RVL-.js} +24 -0
- package/dist/{may-use-4HzzgYJ3.js → may-use-ikNCnNgZ.js} +1 -1
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +2 -2
- package/dist/measure-BKsYdwKd.js +272 -0
- package/dist/membership-claim-sql-DGfhIn__.js +33 -0
- package/dist/{membership-filter-C7ZuhAqJ.js → membership-filter-Bz9QX6E9.js} +1 -1
- package/dist/memberships-4e6qi8Uv.js +1 -0
- package/dist/memberships-CNoAlsma.js +180 -0
- package/dist/{migrate-pg-lkbDu.js → migrate-BXk_rUmb.js} +2 -2
- package/dist/{model-BXhr8gUI.js → model-BYCtXS_g.js} +3 -3
- package/dist/{module-values-B09BBJIj.js → module-values-D-AiNhBp.js} +1 -1
- package/dist/names-DBxKx2bz.js +182 -0
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +11 -11
- package/dist/next/index.js +3 -3
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.js +1 -1
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-BeMVHVY4.js → openapi-BnKSxOrh.js} +2 -2
- package/dist/{openapi-DEGesHWH.js → openapi-CN2Oq9zN.js} +1 -1
- package/dist/{openapi-document-CEQ6jqqR.js → openapi-document-XnGRbWBb.js} +1 -1
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-C7EPeSZj.js → output-dO4bArCS.js} +1 -1
- package/dist/{ownership-Csk9C3Js.js → ownership-CSdLGGfW.js} +7 -6
- package/dist/{parse-local-manifest-B92rFWnk.d.ts → parse-local-manifest-DoLQFkRb.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-BShHM8OJ.d.ts → permdock-DkvkGVF0.d.ts} +2 -2
- package/dist/{permdock-CJPIwU1T.js → permdock-JM9TKevZ.js} +14 -14
- package/dist/{permissions-wEkTVr_I.js → permissions-xPyAmuXi.js} +1 -1
- package/dist/{pipeline-Bbu7uw28.js → pipeline-BAGSNnct.js} +2 -2
- package/dist/{plugin-L3G7jPGE.d.ts → plugin-DDPXES4k.d.ts} +2 -2
- package/dist/{policy-BUtwixSN.d.ts → policy-BoUbJ2c0.d.ts} +1 -1
- package/dist/{policy-CSOOQ3rR.js → policy-CTn-9VQm.js} +1 -1
- package/dist/{policy-BBvhhH9X.js → policy-CZBJDcTx.js} +2 -1
- package/dist/{policy-bundle-KYI0EnrM.js → policy-bundle-BHd1dqU9.js} +3 -3
- package/dist/{policy-from-catalog-_zwn1sNj.js → policy-from-catalog-BohzTN3J.js} +3 -3
- package/dist/{policy-types-CfW4X_yX.d.ts → policy-types-DuM3k5Ao.d.ts} +51 -2
- package/dist/{postgrest-PQ3zAOD2.d.ts → postgrest-B1bTbVE4.d.ts} +9 -2
- package/dist/{powersync-C1ix7CEY.js → powersync-CZkZgVyi.js} +1 -1
- package/dist/{powersync-CM6Vg4RH.js → powersync-DJ7dY-Vf.js} +12 -12
- package/dist/{powersync-CGvu6j5U.js → powersync-Jj57J-X8.js} +1 -1
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-BPN0NaRb.js → protected-action-DDYvU-9Z.js} +1 -1
- package/dist/{protected-action-DhCQ4bSe.d.ts → protected-action-gBxeetqY.d.ts} +5 -5
- package/dist/{provider-BV_v0JAY.js → provider-BwqzED5h.js} +83 -50
- package/dist/{provider-CMgFAGf8.d.ts → provider-Clt2095H.d.ts} +1 -1
- package/dist/{provider-1xqxLVEz.js → provider-NQwLSlgb.js} +2 -2
- package/dist/{provider-store-Cf8HRNtb.js → provider-store-BizF6jyu.js} +2 -2
- package/dist/{provider-with-cpL9vRjC.js → provider-with-DtBgCCV_.js} +1 -1
- package/dist/{prune-config-CdoPJIGz.js → prune-config-Bwz4wNQA.js} +6 -6
- package/dist/pull-BOC-0kJV.js +1 -0
- package/dist/{pull-BaB401Bk.js → pull-Cj_ngsuu.js} +2 -2
- package/dist/{push-DcjvEj0m.js → push-D5so0ptb.js} +2 -2
- package/dist/{pushed-policy-DcvO8NXy.d.ts → pushed-policy-C65TbLtU.d.ts} +1 -1
- package/dist/{pushed-policy-DSjSWEAl.js → pushed-policy-dm_hFstN.js} +1 -1
- package/dist/{quote-BKrTBbcH.js → quote-LNaBdCGA.js} +1 -1
- package/dist/{rbac-mblGDx-Z.js → rbac-DbyaaNLa.js} +5 -4
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/lazy.d.ts +6 -6
- package/dist/react/lazy.js +3 -3
- package/dist/react/provider-client-lazy.d.ts +1 -1
- package/dist/react/provider-client-lazy.js +1 -1
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +15 -15
- package/dist/react-native/index.js +6 -6
- package/dist/read-memberships-DVBitJZG.js +164 -0
- package/dist/{rename-BZNOV8H9.js → rename-CI6NIF9t.js} +5 -5
- package/dist/replay-B__gzUx3.d.ts +3 -0
- package/dist/{report-DCAiUc5U.js → report-DF0zUNut.js} +1 -1
- package/dist/{report-DievqWhf.js → report-XdCm1y_J.js} +1 -1
- package/dist/{request-context-BNVY3kZ1.js → request-context-CqqdiVp4.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-config-9NYYVc30.js → resolve-config-Cu_mE2wt.js} +1 -1
- package/dist/{resolve-names-Cth1UQ-8.js → resolve-names-CuEhEQyB.js} +7 -6
- package/dist/{resolver-CuIY8aFD.js → resolver-D2c1CcoZ.js} +99 -15
- package/dist/{rls-DUYok5e9.js → rls-BDtyip5c.js} +13 -13
- package/dist/{rls-BtkZgaZp.js → rls-DcqSn7b2.js} +51 -4
- package/dist/{rls-files-ucAI0J5j.js → rls-files-CRRtjXxG.js} +1 -1
- package/dist/{rls-options-BFGRmdcH.d.ts → rls-options-DCLdZaTZ.d.ts} +1 -1
- package/dist/{rpc-D7G7IJDa.js → rpc-BQPa7tLP.js} +1 -1
- package/dist/{rpc-COnquydd.d.ts → rpc-BYFB37KV.d.ts} +1 -1
- package/dist/run-DOP1UKWw.js +1 -0
- package/dist/{run-WIqPbnjD.js → run-DvbrPkgt.js} +3 -3
- package/dist/{run-ticket-Mmor5sYW.d.ts → run-ticket-CRldclc7.d.ts} +2 -2
- package/dist/{saas-DcqUkynn.js → saas-DSeazNrN.js} +3 -3
- package/dist/{scan-Badcllgg.js → scan-CmfWbAbz.js} +1 -1
- package/dist/{schema-DBRKgQb4.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-Cih1ztkf.d.ts → seeds-BZMPfWcC.d.ts} +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/server/index.js +1 -1
- package/dist/{server-types-C2XX60aF.d.ts → server-types-FkdDSB9h.d.ts} +8 -8
- package/dist/share-key-claims-CZGAeVqa.js +28 -0
- package/dist/{shared-C6_T7QUo.js → shared-DnVY767H.js} +2 -1
- package/dist/{sink-BQ_6K81r.d.ts → sink-CoMI_OVw.d.ts} +2 -2
- package/dist/{size-l1pDHE2z.js → size-CY6rK6l9.js} +3 -3
- package/dist/{skills-CTKq3o8D.js → skills-C28GUaJC.js} +1 -1
- package/dist/{skills-Ba9hHGO6.js → skills-CA8GfQxQ.js} +1 -1
- package/dist/{snapshot-Ty0uk9wZ.js → snapshot-Dzi4LR6n.js} +8 -1
- package/dist/{snapshot-cache-DGvLQW0-.d.ts → snapshot-cache-R1lJjYmI.d.ts} +1 -1
- package/dist/{snapshot-compact-yXFxZLPo.js → snapshot-compact-BWMLnIXK.js} +35 -4
- package/dist/{snapshot-evaluate-DSNj2rhV.js → snapshot-evaluate-C382Z1mQ.js} +1 -1
- package/dist/{snapshot-reads-BnAHiuoa.js → snapshot-reads-JxcUSUfW.js} +2 -2
- package/dist/{snapshot-size-DNY1MTsV.js → snapshot-size-D6ixbYvH.js} +1 -1
- package/dist/{snapshot-size-2fkXbCkP.js → snapshot-size-NklqBKcV.js} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/{sources-DnjJPGfb.js → sources-C6Id63F8.js} +2 -1
- package/dist/{sources-CjgZns7t.d.ts → sources-Dp6FQ8np.d.ts} +7 -2
- package/dist/{src-HRYn4UFj.js → src-BXDohWNO.js} +154 -11
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-Bnnrqa6d.d.ts → standard-webhooks-D2FwHtMX.d.ts} +2 -2
- package/dist/{store-core-BdFcruPm.d.ts → store-core-aluQ3R1M.d.ts} +4 -4
- package/dist/{store-options-DpCQo0vB.js → store-options-DgOuhUSn.js} +4 -4
- package/dist/{stores-D6MIjN_-.d.ts → stores-hHICuiQl.d.ts} +5 -5
- package/dist/{stores-KpBCaY6c.js → stores-jgDndNHa.js} +1 -1
- package/dist/{subject-CrldGifz.js → subject-B7p94Y0s.js} +1 -1
- package/dist/{subject-cache-CnJcz2K_.d.ts → subject-cache-Bn4oJY_R.d.ts} +3 -1
- package/dist/supabase/index.d.ts +36 -9
- package/dist/supabase/index.js +8 -7
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-kWQlkrHw.js → supabase-ByhSqBDB.js} +14 -7
- package/dist/{supabase-CGiB83XQ.js → supabase-DXEcFJGM.js} +15 -1
- package/dist/supabase-hook-C_ViYz3g.js +2 -0
- package/dist/{supabase-hook-CqO_0Koh.js → supabase-hook-D-ybV98H.js} +7 -7
- package/dist/{supabase-schemas-BglbAG2Z.js → supabase-schemas-CVhpyYB6.js} +2 -2
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +5 -3
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/runtime.js +1 -1
- package/dist/svelte/source.d.ts +5 -5
- package/dist/svelte/source.js +2 -2
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +1 -1
- package/dist/{table-reads-BviGc0L_.js → table-reads-BcceuV7h.js} +1 -1
- package/dist/{table-reads-AnHPrBp8.js → table-reads-BoF_58yh.js} +297 -48
- package/dist/{tables-CDq0HVVq.js → tables-BTXmioCH.js} +187 -20
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +1 -1
- package/dist/{tenant-check-D7g9oNVH.js → tenant-check-DNbm8OiV.js} +4 -4
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +3 -3
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +4 -4
- package/dist/testing/fixtures/index.js +29 -11
- package/dist/testing/index.d.ts +23 -23
- package/dist/testing/index.js +13 -13
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +5 -5
- package/dist/trpc/index.js +2 -2
- package/dist/{type-helpers-CUmJFGV6.d.ts → type-helpers-CsWH9z8p.d.ts} +1 -1
- package/dist/{types-vKKndyxx.d.ts → types-BGN3coSe.d.ts} +1 -1
- package/dist/{types-h9W3CNC_.d.ts → types-BwjOhlgx.d.ts} +4 -4
- package/dist/{types-BKnUwgvx.d.ts → types-BzsplNgO.d.ts} +4 -4
- package/dist/{types-BsRf5rKk.d.ts → types-CBUYbPwl.d.ts} +2 -2
- package/dist/{types-euUv1wsO.d.ts → types-CKwI6AT4.d.ts} +1 -1
- package/dist/{types-CIzXPPV-.d.ts → types-Cvfe-G_N.d.ts} +2 -2
- package/dist/{types-BhBfMdQ5.d.ts → types-D3GI2B9O.d.ts} +3 -3
- package/dist/{types-BRECeQ2n.d.ts → types-D417woMp.d.ts} +3 -3
- package/dist/{types-DwoRXDvN.d.ts → types-DRMoZjJm.d.ts} +2 -2
- package/dist/{types-config-DNIw_Gt5.d.ts → types-config-DYRoZ8Iw.d.ts} +11 -5
- package/dist/{types-CjZscT16.d.ts → types-dtDg4goh.d.ts} +4 -4
- package/dist/{types-run-Bwn1MuW0.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-CW6xhRcV.js → usage-BGuSrwiW.js} +2 -2
- package/dist/usage-CW6PfRfC.js +1 -0
- package/dist/{usage-n4V2k_a6.js → usage-D5QwWiNp.js} +1 -1
- package/dist/{validation-error-P4Z9HUuP.d.ts → validation-error-MZ7KLNHt.d.ts} +1 -1
- package/dist/{verify-CKzngsUH.js → verify-GWeopgxU.js} +12 -12
- package/dist/{version-cache-BzK8dwJy.js → version-cache-Ccrfu2A4.js} +6 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-BqUxSRxq.d.ts → waiter-DdwtUSzB.d.ts} +2 -2
- package/dist/{warm-5yxlUmBh.js → warm-BZ0ZwSmO.js} +1 -1
- package/dist/{warm-BR-mrnY-.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-C12Ub7x4.js → watch-DuIAsqFR.js} +2 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/{who-can-CGVpM3fZ.js → who-can-CIgYpEvy.js} +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-D8WtzrB7.d.ts → wrap-C36-eV-C.d.ts} +2 -2
- package/package.json +11 -11
- package/schemas/snapshot-v2.json +20 -0
- package/schemas/supabase-claims-v1.json +48 -2
- package/schemas/supabase-manifest-v1.json +28 -0
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/dist/bundle-size-DwZ4e1gu.js +0 -1
- package/dist/claims-size-B6j0Ff4Q.js +0 -1
- package/dist/evaluator-COmATWCr.js +0 -2
- package/dist/gen-BtiGMiuH.js +0 -1
- package/dist/pull-Bp63vtgu.js +0 -1
- package/dist/read-memberships-BkePIa1F.js +0 -63
- package/dist/replay-BCOZifwx.d.ts +0 -3
- package/dist/run-BjMxYYTe.js +0 -1
- package/dist/supabase-hook-CluYxKee.js +0 -2
- package/dist/usage-Ci7Glu-H.js +0 -1
- package/dist/watch-J1PfGMfb.js +0 -1
package/dist/testing/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-
|
|
2
|
-
import {
|
|
3
|
-
import { t as fromSnapshot } from "../from-snapshot-
|
|
4
|
-
import { n as parseSnapshot } from "../snapshot-
|
|
1
|
+
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-DIUrkFNL.js";
|
|
2
|
+
import { p as clientBundle, t as getPermDock } from "../permdock-JM9TKevZ.js";
|
|
3
|
+
import { t as fromSnapshot } from "../from-snapshot-DZ4D2sLa.js";
|
|
4
|
+
import { n as parseSnapshot } from "../snapshot-Dzi4LR6n.js";
|
|
5
5
|
import { t as operationCoverage } from "../coverage-C3jVYC9Y.js";
|
|
6
|
-
import {
|
|
7
|
-
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-
|
|
8
|
-
import { i as saasPermissions } from "../permissions-
|
|
6
|
+
import { A as memoryCustomRoleSource, D as approvalPoliciesFor, d as snapshotFor } from "../src-BXDohWNO.js";
|
|
7
|
+
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-DSeazNrN.js";
|
|
8
|
+
import { i as saasPermissions } from "../permissions-xPyAmuXi.js";
|
|
9
9
|
import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-T4GaBh9X.js";
|
|
10
10
|
import { o as resolveApproval } from "../helpers-COh0lLc1.js";
|
|
11
11
|
import { c as problemFromDecision } from "../problem-BZB7zPC7.js";
|
|
@@ -17,23 +17,23 @@ import { t as APPROVAL_HEADER } from "../types-DFZKovb3.js";
|
|
|
17
17
|
import { t as byCodePoint } from "../compare-dfHDj8kT.js";
|
|
18
18
|
import { n as role, r as allow } from "../role-builder-BksM3Q9O.js";
|
|
19
19
|
import { t as definePermissions } from "../permissions-DJ_QV9L7.js";
|
|
20
|
-
import { r as definePolicy } from "../policy-
|
|
20
|
+
import { r as definePolicy } from "../policy-CZBJDcTx.js";
|
|
21
21
|
import { i as principal } from "../refs-Cix9Zjis.js";
|
|
22
22
|
import { v as resource } from "../permission-registry-DstT40VS.js";
|
|
23
|
-
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-
|
|
23
|
+
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-E9sicsCA.js";
|
|
24
24
|
import { r as isRecord } from "../compact-C4LFuqbW.js";
|
|
25
25
|
import { d as isoNow, f as nowMillis, p as nowSeconds, u as isoAt } from "../time-r0CKBm57.js";
|
|
26
|
-
import { c as mergeHostedGrants, l as parsePolicyDocument } from "../hosted-
|
|
26
|
+
import { c as mergeHostedGrants, l as parsePolicyDocument } from "../hosted-D3USbpS6.js";
|
|
27
27
|
import { t as catalogFingerprint } from "../catalog-fingerprint-DAWZARy6.js";
|
|
28
28
|
import { n as discoverAuthorizationServer } from "../device-f3JEnqa0.js";
|
|
29
29
|
import { t as POLICY_NOT_PUBLISHED } from "../problem-types-81BEw0IN.js";
|
|
30
30
|
import { t as require__2020 } from "../2020-DBXhfpuK.js";
|
|
31
31
|
import { t as APPROVAL_REQUEST_SCHEMA } from "../request-schema-DzEoR310.js";
|
|
32
|
-
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
32
|
+
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-dm_hFstN.js";
|
|
33
33
|
import { n as supabaseMembershipsBudget } from "../budget-BH81q2cj.js";
|
|
34
34
|
import { t as catalogSchema } from "../schema-D2OK4RrB.js";
|
|
35
35
|
import { t as CONNECTOR_SCHEMA } from "../connector-schema-BSRMyq4M.js";
|
|
36
|
-
import { t as supabaseManifestSchema } from "../manifest-schema-
|
|
36
|
+
import { t as supabaseManifestSchema } from "../manifest-schema-N3v2RVL-.js";
|
|
37
37
|
import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
|
|
38
38
|
import { c as evaluateCondition } from "../delegation-0DVVomzu.js";
|
|
39
39
|
import { s as parseCredential } from "../credential-D9in5keC.js";
|
|
@@ -42,7 +42,7 @@ import { n as loadPrincipalByIdentity, t as loadPrincipal } from "../principal-s
|
|
|
42
42
|
import { r as parseAutomation } from "../automation-D58PEI7Y.js";
|
|
43
43
|
import { a as authenticated } from "../grantee-BSCdpIF3.js";
|
|
44
44
|
import { d as scopeList, o as normalizeMemberships } from "../scopes-B-KX9EI8.js";
|
|
45
|
-
import { O as validateCustomRole } from "../evaluate-
|
|
45
|
+
import { O as validateCustomRole } from "../evaluate-DNz6wMYv.js";
|
|
46
46
|
import { l as sha256Hex, n as scimHandler, t as directoryMembershipSource } from "../scim-B9QyJ23q.js";
|
|
47
47
|
import { afterAll, assert, beforeAll, describe, expect, expectTypeOf, it, vi } from "vitest";
|
|
48
48
|
// src/testing/describe-policy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as SaasProject, c as saasPlans, i as SaasFolderSchema, l as saasRoles, n as SaasDocSchema, o as SaasProjectSchema, r as SaasFolder, s as saasPermissions, t as SaasDoc, u as saasTenantRoleNames } from "../../permissions-UyQD5nRN.js";
|
|
2
|
-
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-
|
|
3
|
-
import {
|
|
4
|
-
import { o as PermDockOptions } from "../../permdock-
|
|
2
|
+
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-BoUbJ2c0.js";
|
|
3
|
+
import { Ar as Subject, Dr as Membership, Or as Principal, Sr as CustomRole, ct as RelationSource, nt as LimitStore, qt as Instant, vr as Actor, wr as Delegation } from "../../policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { o as PermDockOptions } from "../../permdock-DkvkGVF0.js";
|
|
5
5
|
import { w as Permission } from "../../vocabulary-DHfKPIC5.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
type FieldKind = "string" | "boolean" | "nullable-string";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-
|
|
2
|
-
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-
|
|
1
|
+
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-xPyAmuXi.js";
|
|
2
|
+
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-DSeazNrN.js";
|
|
3
3
|
export { SAAS_API_KEY_LIMIT, SAAS_EXPIRED_AT, SAAS_TOKEN_TTL_SECONDS, SaasDocSchema, SaasFolderSchema, SaasProjectSchema, rowSchema, saasAudience, saasCustomRoles, saasDoc, saasFolder, saasFolderScenarios, saasIssuer, saasJwks, saasLimitStore, saasMemberships, saasOrg, saasPermissions, saasPlans, saasPolicy, saasPrincipal, saasPrivateJwk, saasProject, saasPublicJwk, saasRelations, saasRoles, saasScenarioOptions, saasScenarios, saasSchemaSql, saasSeed, saasSeedSql, saasTenantRoleNames, saasUser, saasUsers, signSaasToken, verifySaasSession, verifySaasToken };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-
|
|
1
|
+
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-xPyAmuXi.js";
|
package/dist/trpc/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { D as Policy,
|
|
3
|
+
import { D as Policy, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
6
|
-
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-
|
|
7
|
-
import { t as RpcProtectOptions } from "../rpc-
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
6
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-FkdDSB9h.js";
|
|
7
|
+
import { t as RpcProtectOptions } from "../rpc-BYFB37KV.js";
|
|
8
8
|
import { AnyTRPCMiddlewareFunction } from "@trpc/server";
|
|
9
9
|
type TrpcMiddlewareOpts<TCtx = object, TInput = unknown> = {
|
|
10
10
|
readonly ctx: TCtx;
|
package/dist/trpc/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as attached } from "../bind-
|
|
1
|
+
import { n as attached } from "../bind-DPptdk31.js";
|
|
2
2
|
import { o as problemMessage } from "../http-C9jDw_bZ.js";
|
|
3
3
|
import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
|
|
4
|
-
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-
|
|
4
|
+
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-BQPa7tLP.js";
|
|
5
5
|
import { i as isAsyncIterable, o as reloadAfter } from "../stream-DdF94h7T.js";
|
|
6
6
|
import { r as permissionList } from "../decide-set-CgNcE6pP.js";
|
|
7
7
|
import { TRPCError, isTrackedEnvelope } from "@trpc/server";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { U as POLICY_SCOPES, n as PlanTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
2
2
|
import { o as OperationMap } from "./operations-DaEoGpMV.js";
|
|
3
|
-
import { N as PolicyVocabulary,
|
|
3
|
+
import { N as PolicyVocabulary, Nn as ScopeNames } from "./policy-types-DuM3k5Ao.js";
|
|
4
4
|
/** Recursion guard: a tree nests resources at most this many levels deep. */
|
|
5
5
|
type Depth = [never, 0, 1, 2, 3, 4, 5, 6, 7];
|
|
6
6
|
/** The literal string keys of `T`, without an index signature. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as AppData } from "./vocabulary-DHfKPIC5.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ar as Subject, Dr as Membership, Fn as Approver, Jn as RelationGrantee, Nr as AdapterId, a as ApprovalMode, c as ApprovalStage, i as ApprovalFallback, kn as WireDelegation, n as ApprovalCombine, qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
type ApprovalStatus = "pending" | "approved" | "rejected" | "expired";
|
|
4
4
|
type ApprovalApprovers = {
|
|
5
5
|
/** Under `combine: 'any'` (the default). */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as ApprovalStore, u as ApprovalRequest } from "./types-
|
|
1
|
+
import { m as ApprovalStore, u as ApprovalRequest } from "./types-BGN3coSe.js";
|
|
2
2
|
import { a as CatalogDocument } from "./types-CbJ5mxXv.js";
|
|
3
|
-
import { s as PolicySource } from "./hosted-
|
|
4
|
-
import {
|
|
5
|
-
import { a as CatalogFinding } from "./sink-
|
|
3
|
+
import { s as PolicySource } from "./hosted-DZgmEG4b.js";
|
|
4
|
+
import { Ar as Subject, X as DecisionSink, _t as TokenSigner, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
5
|
+
import { a as CatalogFinding } from "./sink-CoMI_OVw.js";
|
|
6
6
|
type CloudEndpointOptions = {
|
|
7
7
|
readonly url?: string;
|
|
8
8
|
readonly environment?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ClientStoreOptions } from "./store-core-
|
|
2
|
-
import { Jt as ClientBundle,
|
|
3
|
-
import { n as DescribeMessages } from "./describe-
|
|
4
|
-
import { s as RowData } from "./permdock-
|
|
1
|
+
import { n as ClientStoreOptions } from "./store-core-aluQ3R1M.js";
|
|
2
|
+
import { Jt as ClientBundle, ir as Decision, rn as Snapshot, rr as ApprovalRequiredDecision, ur as GrantedDecision, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { n as DescribeMessages } from "./describe-DEoWvk00.js";
|
|
4
|
+
import { s as RowData } from "./permdock-DkvkGVF0.js";
|
|
5
5
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
type PermDockProviderProps = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PermissionCheck, a as PermDock, f as WhereOptions, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, p as WhereResult, r as DeriveOptions } from "./permdock-
|
|
2
|
-
import { D as Policy,
|
|
1
|
+
import { P as PermissionCheck, a as PermDock, f as WhereOptions, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, p as WhereResult, r as DeriveOptions } from "./permdock-DkvkGVF0.js";
|
|
2
|
+
import { Ar as Subject, D as Policy, Dr as Membership, N as PolicyVocabulary, Or as Principal, ir as Decision, lr as ExplainedDecision } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
import { E as PermissionTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
4
4
|
type RemotePdpAuth = {
|
|
5
5
|
readonly bearer: string | (() => string | Promise<string>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { $ as JwtClaims,
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { $ as JwtClaims, Ar as Subject, Or as Principal, gn as AuthEvent, gt as TokenFailureCause, it as MembershipSource, vr as Actor, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
|
|
4
4
|
import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
|
|
5
5
|
import { t as ClientNames } from "./clients-DGcyFDCc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Sn as
|
|
2
|
-
import { s as CloudEvent } from "./sink-
|
|
3
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
1
|
+
import { Sn as DeliveryFailureCause, bn as DeliveryChannel, ur as GrantedDecision, wn as EmailCategory, xn as DeliveryEvent } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { s as CloudEvent } from "./sink-CoMI_OVw.js";
|
|
3
|
+
import { t as ApprovalPrompt } from "./approval-prompt-BKxaKtby.js";
|
|
4
4
|
/**
|
|
5
5
|
* Who a delivery goes to. `{ principal }` names an app principal and the
|
|
6
6
|
* address the server loaded for it on `channel`. `{ address }` alone is an
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Jt as ClientBundle,
|
|
1
|
+
import { Jt as ClientBundle, ir as Decision, rn as Snapshot, rr as ApprovalRequiredDecision, ur as GrantedDecision, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
4
4
|
import { t as PermissionBoundaryState } from "./boundary-DJqHADKu.js";
|
|
5
|
-
import { f as PermissionState, h as ProviderOptionsBase, m as ProtectedActionView, t as ClientStore, y as ActionResult } from "./store-core-
|
|
5
|
+
import { f as PermissionState, h as ProviderOptionsBase, m as ProtectedActionView, t as ClientStore, y as ActionResult } from "./store-core-aluQ3R1M.js";
|
|
6
6
|
import { Snippet } from "svelte";
|
|
7
7
|
import { Readable } from "svelte/store";
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as PolicyVocabulary,
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
1
|
+
import { N as PolicyVocabulary, yn as DecisionEvent } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
3
3
|
declare const GENAI_SEMCONV_PIN = "1.37.0";
|
|
4
4
|
declare const GEN_AI_TOOL_NAME = "gen_ai.tool.name";
|
|
5
5
|
declare const GEN_AI_TOOL_CALL_ID = "gen_ai.tool.call.id";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as Seeds } from "./seeds-
|
|
2
|
-
import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-
|
|
1
|
+
import { i as Seeds } from "./seeds-BZMPfWcC.js";
|
|
2
|
+
import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-Dp6FQ8np.js";
|
|
3
3
|
/**
|
|
4
4
|
* `permdock powersync generate` and `verify` input. Tables and memberships come
|
|
5
5
|
* from `rls`.
|
|
@@ -822,9 +822,15 @@ type RlsConfig = {
|
|
|
822
822
|
* or impersonation session) by its `scope` claim in every helper and policy:
|
|
823
823
|
* a grant passes only when one of the token's scopes reaches its permission
|
|
824
824
|
* (the permission's own scope, a former scope, or a policy `oauthScopes`
|
|
825
|
-
* entry). Denies always apply. Off by default.
|
|
826
|
-
|
|
827
|
-
|
|
825
|
+
* entry). Denies always apply. Off by default. With `{ delegations: true }`
|
|
826
|
+
* an OAuth client token (a `client_id` and no `act`) also reaches the keys a
|
|
827
|
+
* policy delegation to `actor('oauth-client')` from `authenticated()` hands
|
|
828
|
+
* over, so a token whose scopes are identity-only is capped at the delegation
|
|
829
|
+
* in Postgres too.
|
|
830
|
+
*/
|
|
831
|
+
readonly tokenScopes?: boolean | {
|
|
832
|
+
readonly delegations?: boolean;
|
|
833
|
+
};
|
|
828
834
|
/**
|
|
829
835
|
* Supabase Realtime: policies on `realtime.messages` for private channels.
|
|
830
836
|
* Supabase dialect only.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ClientStoreOptions } from "./store-core-
|
|
2
|
-
import { n as DescribeMessages } from "./describe-
|
|
3
|
-
import {
|
|
4
|
-
import { t as PermDockDefaults } from "./types-
|
|
1
|
+
import { n as ClientStoreOptions } from "./store-core-aluQ3R1M.js";
|
|
2
|
+
import { n as DescribeMessages } from "./describe-DEoWvk00.js";
|
|
3
|
+
import { rn as Snapshot, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { t as PermDockDefaults } from "./types-BzsplNgO.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
type SnapshotStorage = {
|
|
7
7
|
/** Names the implementation in errors and events. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CollectConfig } from "./types-config-
|
|
1
|
+
import { n as CollectConfig } from "./types-config-DYRoZ8Iw.js";
|
|
2
2
|
/**
|
|
3
3
|
* 0 success, 1 failure, 2 usage or an action only a person can take (an input,
|
|
4
4
|
* a confirmation, a login), 130 interrupted (SIGINT or a cancelled prompt), 143
|
package/dist/unplugin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockPluginOptions } from "../types-run-
|
|
1
|
+
import { n as PermDockPluginOptions } from "../types-run-CeCrWO0v.js";
|
|
2
2
|
import { createUnplugin } from "unplugin";
|
|
3
3
|
type CreateUnplugin = typeof createUnplugin<PermDockPluginOptions | undefined>;
|
|
4
4
|
export declare const createPermDockUnplugin: ReturnType<CreateUnplugin>;
|
package/dist/unplugin/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as peerHint } from "../peer-D77JpXe-.js";
|
|
2
|
-
import { i as report, r as createCollectScheduler } from "../watch-
|
|
2
|
+
import { i as report, r as createCollectScheduler } from "../watch-14vng0pg.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
// src/unplugin/index.ts
|
|
5
5
|
function loadCreateUnplugin() {
|
|
@@ -2,8 +2,8 @@ import { a as getResource } from "./permission-registry-DstT40VS.js";
|
|
|
2
2
|
import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
|
|
3
3
|
import { r as runCollect } from "./collect-CPimbkC5.js";
|
|
4
4
|
import { f as usageResult } from "./errors-DgLOqc6j.js";
|
|
5
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
-
import { r as findingOf } from "./output-
|
|
5
|
+
import { t as DOCS_BASE } from "./manifest-1w67doim.js";
|
|
6
|
+
import { r as findingOf } from "./output-dO4bArCS.js";
|
|
7
7
|
import { o as USAGE_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
8
8
|
import { n as jiti, r as parseSync, t as createVisitor } from "./optional-CaQWp9HA.js";
|
|
9
9
|
import { a as rel, r as listSourceFiles } from "./files-DAR51W3J.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as runUsage } from "./usage-BGuSrwiW.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { c as listPermissions, n as findPermission } from "./permission-registry-DstT40VS.js";
|
|
2
2
|
import { o as hasConditionOp } from "./refs-Cix9Zjis.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
4
|
-
import {
|
|
3
|
+
import { t as getPermDock } from "./permdock-JM9TKevZ.js";
|
|
4
|
+
import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-BXDohWNO.js";
|
|
5
5
|
import { a as describeError, f as usageResult, i as configError } from "./errors-DgLOqc6j.js";
|
|
6
6
|
import { s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
7
7
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
|
|
8
8
|
import { r as pgConnector } from "./pg-DmS5ITHu.js";
|
|
9
9
|
import { o as loadPolicyAt } from "./load-m7jmit3y.js";
|
|
10
|
-
import { n as commandFor } from "./compile-
|
|
10
|
+
import { n as commandFor } from "./compile-BRDpja_Y.js";
|
|
11
11
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
12
12
|
import { t as policyRowConditionKeys } from "./row-conditions-DwIJocfQ.js";
|
|
13
13
|
import { c as rootScope, d as scopeList, o as normalizeMemberships } from "./scopes-B-KX9EI8.js";
|
|
14
|
-
import { c as rowConditionMessage, n as HELPER_TABLE_POLICIES_SQL, s as helperTablePoliciesFromRows } from "./helper-calls-
|
|
15
|
-
import { a as quoteIdent, c as quoteTable, o as quoteLiteral, s as quoteQualified } from "./quote-
|
|
16
|
-
import {
|
|
17
|
-
import { s as viewName, t as FIELD_VIEWS } from "./fields-
|
|
18
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
19
|
-
import { C as membershipsClaim, g as customRoleScope } from "./evaluate-
|
|
14
|
+
import { c as rowConditionMessage, n as HELPER_TABLE_POLICIES_SQL, s as helperTablePoliciesFromRows } from "./helper-calls-B5MOl99d.js";
|
|
15
|
+
import { a as quoteIdent, c as quoteTable, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
16
|
+
import { et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-BTXmioCH.js";
|
|
17
|
+
import { s as viewName, t as FIELD_VIEWS } from "./fields-CwFej4gp.js";
|
|
18
|
+
import { t as DOCS_BASE } from "./manifest-1w67doim.js";
|
|
19
|
+
import { C as membershipsClaim, g as customRoleScope } from "./evaluate-DNz6wMYv.js";
|
|
20
20
|
import { n as defaultSqlCommand, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
|
|
21
21
|
import "./budget-BH81q2cj.js";
|
|
22
|
-
import "./sources-
|
|
23
|
-
import { a as customRolesOn } from "./shared-
|
|
22
|
+
import "./sources-C6Id63F8.js";
|
|
23
|
+
import { a as customRolesOn } from "./shared-DnVY767H.js";
|
|
24
24
|
import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
|
|
25
25
|
import { a as scopeMembershipTable, i as scopeColumn } from "./compile-BUKXrueE.js";
|
|
26
26
|
import { c as isEdgeRelation, l as isFieldRelation, u as isPrincipalRelation } from "./resource-relations-Ck5sjYQR.js";
|
|
27
27
|
import { f as nowMillis, u as isoAt } from "./time-r0CKBm57.js";
|
|
28
28
|
import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
|
|
29
|
-
import { v as columnTypesOf } from "./subject-
|
|
29
|
+
import { v as columnTypesOf } from "./subject-B7p94Y0s.js";
|
|
30
30
|
import { resolve } from "node:path";
|
|
31
31
|
import { randomUUID } from "node:crypto";
|
|
32
32
|
// src/cli/core/ignores.ts
|
|
@@ -3,7 +3,7 @@ import { r as memoByFrozenObject } from "./freeze-DGfJq_j2.js";
|
|
|
3
3
|
import { n as isThenable } from "./thenable-BxMy2v8w.js";
|
|
4
4
|
import { f as nowMillis } from "./time-r0CKBm57.js";
|
|
5
5
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
6
|
-
import { t as readMemberships } from "./read-memberships-
|
|
6
|
+
import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
|
|
7
7
|
// src/core/instance-cache.ts
|
|
8
8
|
/** Canonical JSON of a frozen claims object, computed once per object. */
|
|
9
9
|
const CANONICAL_OF_FROZEN = /* @__PURE__ */ new WeakMap();
|
|
@@ -229,10 +229,15 @@ function readSubjectRecord(value) {
|
|
|
229
229
|
return role === void 0 ? [] : [role];
|
|
230
230
|
}) : [],
|
|
231
231
|
authzVersion: typeof version === "number" && Number.isFinite(version) ? version : void 0,
|
|
232
|
+
suspendedIn: suspendedOf(value["suspendedIn"]),
|
|
232
233
|
customRolesVersions: rolesVersions === void 0 || Object.keys(rolesVersions).length === 0 ? void 0 : rolesVersions,
|
|
233
234
|
claims: isRecord(value["claims"]) && Object.keys(value["claims"]).length > 0 ? value["claims"] : void 0
|
|
234
235
|
});
|
|
235
236
|
}
|
|
237
|
+
function suspendedOf(value) {
|
|
238
|
+
const ids = strings(value);
|
|
239
|
+
return ids.length === 0 ? void 0 : ids;
|
|
240
|
+
}
|
|
236
241
|
function rolesVersionsOf(value) {
|
|
237
242
|
if (!isRecord(value)) return;
|
|
238
243
|
const versions = {};
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-
|
|
2
|
-
import { c as requiredPlans } from "../errors-
|
|
1
|
+
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DEoWvk00.js";
|
|
2
|
+
import { c as requiredPlans } from "../errors-BliKrfmP.js";
|
|
3
3
|
import { t as approvalHeaders } from "../headers-D1oRr-js.js";
|
|
4
4
|
import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-C1zIMtJr.js";
|
|
5
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-
|
|
6
|
-
import { Jt as ClientBundle, N as PolicyVocabulary,
|
|
7
|
-
import { d as UncheckedData, s as RowData } from "../permdock-
|
|
5
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, h as ProviderOptionsBase, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-aluQ3R1M.js";
|
|
6
|
+
import { Dr as Membership, Jt as ClientBundle, N as PolicyVocabulary, ir as Decision, rn as Snapshot, rr as ApprovalRequiredDecision, vt as TokenVerifier } from "../policy-types-DuM3k5Ao.js";
|
|
7
|
+
import { d as UncheckedData, s as RowData } from "../permdock-DkvkGVF0.js";
|
|
8
8
|
import { r as Role, w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
9
9
|
import { t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
|
|
10
10
|
import { ComputedRef, DefineComponent, MaybeRefOrGetter, Plugin, VNode } from "vue";
|
package/dist/vue/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as describe } from "../describe-B7EosIKA.js";
|
|
2
2
|
import { r as requiredPlans } from "../problem-details-EJHcvYCz.js";
|
|
3
3
|
import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "../protected-action-DiXulRVj.js";
|
|
4
|
-
import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-
|
|
4
|
+
import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
|
|
5
5
|
import { a as gateView, c as protectedView, d as slotContent, f as subjectView, i as filterResult, l as rolesView, n as assignablePermissionsView, o as livePermDock, p as tenantView, r as describeWith, s as permissionSet, t as approvalHandle, u as scopedTenant } from "../views-Dpr1uB16.js";
|
|
6
6
|
import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
|
|
7
|
-
import { n as switchTenant, t as providerStore } from "../provider-store-
|
|
7
|
+
import { n as switchTenant, t as providerStore } from "../provider-store-BizF6jyu.js";
|
|
8
8
|
import { computed, defineComponent, effectScope, getCurrentScope, inject, isRef, onErrorCaptured, onScopeDispose, provide, shallowRef, toValue, watch } from "vue";
|
|
9
9
|
// src/vue/context.ts
|
|
10
10
|
const permDockKey = Symbol("permdock");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { qt as Instant } from "./policy-types-
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
type ApprovalWaitOptions = {
|
|
4
4
|
/**
|
|
5
5
|
* When the approval request expires; the wait ends then whatever the store
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Policy,
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
/** What `warm` measured: `ms` covers the instance and the first check. */
|
|
3
3
|
type WarmReport = {
|
|
4
4
|
readonly ok: boolean;
|
|
@@ -2,7 +2,7 @@ import { f as nowMillis, i as dateAt } from "./time-r0CKBm57.js";
|
|
|
2
2
|
import { r as runCollect } from "./collect-CPimbkC5.js";
|
|
3
3
|
import { a as describeError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { t as defaultSrcPath } from "./files-DAR51W3J.js";
|
|
5
|
-
import { i as loadConfig, r as isConfigFile } from "./config-
|
|
5
|
+
import { i as loadConfig, r as isConfigFile } from "./config-Dan6vcvj.js";
|
|
6
6
|
import { statSync, watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, relative, resolve, sep } from "node:path";
|
|
8
8
|
// src/cli/watch.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as watchCollect } from "./watch-14vng0pg.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { i as dateAt } from "./time-r0CKBm57.js";
|
|
3
3
|
import { a as describeError, n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
|
-
import { n as createChangeScheduler } from "./watch-
|
|
5
|
-
import { n as receiptRows } from "./pipeline-
|
|
4
|
+
import { n as createChangeScheduler } from "./watch-14vng0pg.js";
|
|
5
|
+
import { n as receiptRows } from "./pipeline-BAGSNnct.js";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { Worker } from "node:worker_threads";
|
package/dist/webmcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ir as Decision, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { E as PermissionTree, w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
type WebMcpClientStatus = "ready" | "pending" | "stale" | "server-only";
|
package/dist/webmcp/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
2
2
|
import { c as listPermissions, f as resourceOfNode, i as getRegistry, m as annotationsFor, s as isRegistryTree } from "../permission-registry-DstT40VS.js";
|
|
3
3
|
import { n as resourceRef } from "../resource-ref-BiQtFK-I.js";
|
|
4
|
-
import { r as expandGrants } from "../snapshot-compact-
|
|
4
|
+
import { r as expandGrants } from "../snapshot-compact-BWMLnIXK.js";
|
|
5
5
|
import { n as isThenable, t as ignoreRejection } from "../thenable-BxMy2v8w.js";
|
|
6
6
|
import { n as deniedToolRefusal, r as toolErrorResult, t as approvalToolRefusal } from "../tool-refusal-DzCSbjp8.js";
|
|
7
7
|
import { n as PermDockValidationError } from "../validation-error-CgDOA6VS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { t as byCodePoint } from "./compare-dfHDj8kT.js";
|
|
3
|
-
import { A as emptyListeners, t as evaluate } from "./evaluate-
|
|
3
|
+
import { A as emptyListeners, t as evaluate } from "./evaluate-DNz6wMYv.js";
|
|
4
4
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
5
5
|
import { r as relationCondition } from "./grantee-conditions-Dob6QQAc.js";
|
|
6
6
|
import { o as flattenGrantee } from "./grantee-BSCdpIF3.js";
|
package/dist/workflow/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AutomationSource, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "../automation-
|
|
2
|
-
import { i as pollingApprovalWaiter, n as ApprovalWaiter, r as PollingApprovalWaiterOptions, t as ApprovalWaitOptions } from "../waiter-
|
|
3
|
-
import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-
|
|
1
|
+
import { a as AutomationSource, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "../automation-C7WH5XcZ.js";
|
|
2
|
+
import { i as pollingApprovalWaiter, n as ApprovalWaiter, r as PollingApprovalWaiterOptions, t as ApprovalWaitOptions } from "../waiter-DdwtUSzB.js";
|
|
3
|
+
import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-iCwrnaFE.js";
|
|
4
4
|
import "../index-CaxrMD1A.js";
|
|
5
5
|
export { type ApprovalWaitOptions, type ApprovalWaiter, type Automation, type AutomationDecision, type AutomationMode, type AutomationOptions, type AutomationRequest, type AutomationSource, type AwaitApprovalOptions, type MemoryAutomationSource, type PollingApprovalWaiterOptions, type StartAutomationResult, type WorkflowPermDock, type WorkflowPermDockOptions, createPermDock, memoryAutomationSource, parseAutomation, pollingApprovalWaiter };
|
package/dist/workflow/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as requestApproval, s as resumeDecision } from "../helpers-COh0lLc1.js";
|
|
2
|
-
import { t as getPermDock, u as withApp } from "../permdock-
|
|
2
|
+
import { t as getPermDock, u as withApp } from "../permdock-JM9TKevZ.js";
|
|
3
3
|
import { n as memoryAutomationSource, r as parseAutomation } from "../automation-D58PEI7Y.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { ir as Decision } from "../policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-
|
|
5
|
-
import { n as ApprovalWaiter } from "../waiter-
|
|
4
|
+
import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-iCwrnaFE.js";
|
|
5
|
+
import { n as ApprovalWaiter } from "../waiter-DdwtUSzB.js";
|
|
6
6
|
/**
|
|
7
7
|
* The part of a Workflow SDK `Hook` the waiter reads: awaiting it suspends the
|
|
8
8
|
* run.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PermDock } from "./permdock-
|
|
2
|
-
import { N as PolicyVocabulary } from "./policy-types-
|
|
1
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
2
|
+
import { N as PolicyVocabulary } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
/** A wrapper an adapter applies to each instance it builds, as `withOtel` does. */
|
|
4
4
|
type PermDockWrap = <V extends PolicyVocabulary>(permdock: PermDock<V>) => PermDock<V>;
|
|
5
5
|
/**
|