permdock 0.38.1 → 0.38.2
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.js +2 -2
- package/dist/{adoption-scan-CkkOzkXs.js → adoption-scan-BSVL4wIW.js} +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.js +1 -1
- package/dist/{arazzo-n8as0lFp.js → arazzo-C04bMN6Y.js} +2 -2
- package/dist/{arazzo-BKYLAE5e.js → arazzo-DbuxB5Gw.js} +1 -1
- package/dist/astro/index.js +1 -1
- package/dist/authzen/index.js +1 -1
- package/dist/better-supabase/index.js +5 -5
- package/dist/{bind-BNYcJ1D9.js → bind-CFwfgfp2.js} +2 -2
- package/dist/{bsb-access-tags-DaGRSYnv.js → bsb-access-tags-BfKzb3sw.js} +1 -1
- package/dist/{budgets-DFnMBpKz.js → budgets-BGWdTAHq.js} +2 -2
- package/dist/{build-instance-BGpABVbM.js → build-instance-BX5yWZDz.js} +1 -1
- package/dist/{bundle-size-Pgm7BB5m.js → bundle-size-CeLuyWm0.js} +2 -2
- package/dist/bundle-size-DRu3x2lW.js +1 -0
- package/dist/{casbin-BmYeMFeI.js → casbin-Bp8ajVRK.js} +1 -1
- package/dist/{casbin-BlQqoRlv.js → casbin-DAHhk83J.js} +1 -1
- package/dist/catalog/index.js +2 -2
- package/dist/chat/index.js +1 -1
- package/dist/claude-agent/index.js +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +1 -1
- package/dist/cli/index.js +2 -2
- 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-DxDQff7G.js → cloud-DnsG5KF6.js} +2 -2
- package/dist/{codemod-DjcAtHr9.js → codemod-BpFi3dGX.js} +4 -4
- package/dist/{codemod-CX9EGBJw.js → codemod-DdSdwmq4.js} +1 -1
- package/dist/{compile-BWOrvhGt.js → compile-5QQLSNRY.js} +3 -3
- package/dist/{completion-9B7fZWsn.js → completion-j34Zp_y7.js} +1 -1
- package/dist/{config-BgBDv1UW.js → config-DoywTd1z.js} +1 -1
- package/dist/{config-report-oYAr9Opz.js → config-report-BO_DLUaK.js} +1 -1
- package/dist/{context-Nr3nknZX.js → context-CzHYMZr9.js} +1 -1
- package/dist/{context-DntIOpzS.js → context-Dew6yQqT.js} +1 -1
- package/dist/convex/index.js +2 -2
- package/dist/{core-BFR-V5CL.js → core-BEA7805j.js} +3 -3
- package/dist/{create-Dapy8DIK.js → create-DRiggRWE.js} +3 -3
- package/dist/{create-BICq9l-p.js → create-fNkkpOy5.js} +2 -2
- package/dist/{define-permdock-B0q7Rg9b.js → define-permdock-CGI9pgqL.js} +2 -2
- package/dist/{diff-Sxca4_5q.js → diff-CcbTG1G4.js} +2 -2
- package/dist/{diff-BebUlh4Z.js → diff-p217YnI5.js} +1 -1
- package/dist/{doctor-Dqh8AzIx.js → doctor-cPl8X1Ef.js} +20 -20
- package/dist/{doctor-CDSxgnut.js → doctor-jVVYFNCd.js} +2 -2
- package/dist/elysia/index.js +1 -1
- package/dist/evaluator-C4RrXo4y.js +2 -0
- package/dist/{evaluator-eager-BLNVbEAC.js → evaluator-eager-B_4KdPgg.js} +1 -1
- package/dist/eve/index.js +2 -2
- package/dist/{execute-CUGaCy_9.js → execute-hsLYXuwL.js} +4 -4
- package/dist/{explain-CgKGadRa.js → explain-BHSgFpfd.js} +2 -2
- package/dist/{explain-BrvY9cXX.js → explain-DVv1Wbay.js} +1 -1
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-dmABnF7F.js → fetch-adapter-niRAPzNm.js} +1 -1
- package/dist/{from-snapshot-DZ4D2sLa.js → from-snapshot-O341Vdgj.js} +12 -4
- package/dist/gen-BHsow3sw.js +1 -0
- package/dist/{gen-D85_gUOz.js → gen-BZ-03GIG.js} +3 -3
- package/dist/{gen-kind-Bi0dtNoV.js → gen-kind-BKSdYxVh.js} +1 -1
- package/dist/{generate-C8kAhef2.js → generate-BrSCnqfT.js} +3 -3
- package/dist/{generate-BnOSZLka.js → generate-Ckt9pvJD.js} +11 -11
- package/dist/{generate-options-eMjRViev.js → generate-options-DudA1wrX.js} +5 -5
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.js +1 -1
- package/dist/{hook-sql-BQcxbOzi.js → hook-sql-BArV58df.js} +4 -4
- package/dist/{import-BLN-HGJG.js → import-DvPcOvx4.js} +1 -1
- package/dist/{index-B1hyWi7O.d.ts → index-Cnrz9ChE.d.ts} +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-B8bPTGMb.js → init-D50xP3eQ.js} +3 -3
- package/dist/{init-BQnRbzUb.js → init-ukHYcnVG.js} +1 -1
- package/dist/{inspect-functions-GXdyPFwI.js → inspect-functions-BevsMf1c.js} +1 -1
- package/dist/{instance-snapshot-D03srwnf.js → instance-snapshot-BJam8gUa.js} +10 -3
- package/dist/{kernel-yI0nUyuX.js → kernel-UOKCD3tV.js} +3 -3
- package/dist/{keys-QhAlAjXf.js → keys-C9gcgQqN.js} +1 -1
- package/dist/{lazy-provider-b8UHGi8P.js → lazy-provider-BPSgEG-A.js} +1 -1
- package/dist/{login-kQOIJoFN.js → login-CO5_OmE5.js} +3 -3
- package/dist/{login-DnVKv2ib.js → login-CeyA9IUa.js} +1 -1
- package/dist/{manifest-CMh8sAAH.js → manifest-DWO7EC1m.js} +39 -39
- package/dist/mcp/index.js +2 -2
- package/dist/{measure-DJl28Whs.js → measure-CJOb4tnF.js} +1 -1
- package/dist/{model-DQQYg8UW.js → model-Cjt2WEm3.js} +1 -1
- package/dist/nest/index.js +1 -1
- package/dist/next/index.js +3 -3
- package/dist/node/index.js +1 -1
- package/dist/openai/index.js +3 -3
- package/dist/{openapi-CuyzmD9h.js → openapi-BlkqnsHh.js} +2 -2
- package/dist/{openapi-D7kRYqWu.js → openapi-WZ7O-5gx.js} +1 -1
- package/dist/{openapi-document-ClyLB0-z.js → openapi-document-qHp-hW5Y.js} +1 -1
- package/dist/orpc/index.js +2 -2
- package/dist/{output-ONUzppLo.js → output-C3gBd5Yp.js} +1 -1
- package/dist/{ownership-CCgncSLb.js → ownership-BGAqnS59.js} +1 -1
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-CbavFN6u.js → permdock-B0aE5Ime.js} +1 -1
- package/dist/{permissions-BPYOb5OB.js → permissions-CF8Ed44S.js} +1 -1
- package/dist/{pipeline-DGFc6y6x.js → pipeline-BXsElIBt.js} +2 -2
- package/dist/{policy-AWd-ccJJ.js → policy-BOXVx6pf.js} +1 -1
- package/dist/{policy-bundle-rC5_X9hX.js → policy-bundle-BbXW3vec.js} +3 -3
- package/dist/{policy-from-catalog-BohzTN3J.js → policy-from-catalog-hECiBs9M.js} +1 -1
- package/dist/{powersync-C84aHECl.js → powersync-CXTWMf2h.js} +1 -1
- package/dist/{powersync-DW7seEgS.js → powersync-WHQ4bGgx.js} +1 -1
- package/dist/{powersync-C1OW6iVd.js → powersync-cShrvGN9.js} +8 -8
- package/dist/{provider-NQwLSlgb.js → provider-BT8hVigf.js} +1 -1
- package/dist/{provider-hQFC3b98.js → provider-DRsBw6My.js} +1 -1
- package/dist/{provider-store-BizF6jyu.js → provider-store-fzaF1R6q.js} +1 -1
- package/dist/{prune-config-DeTUhG2J.js → prune-config-CdcEIILi.js} +4 -4
- package/dist/pull-DTiAI52h.js +1 -0
- package/dist/{pull-C851tQak.js → pull-b_1Jv1XY.js} +1 -1
- package/dist/{push-Br0Uz5pT.js → push-Dl7o5gU_.js} +1 -1
- package/dist/{pushed-policy-dm_hFstN.js → pushed-policy-DXA5KLo6.js} +1 -1
- package/dist/{rbac-ByuGspKZ.js → rbac-BlVLEzQC.js} +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/lazy.js +1 -1
- package/dist/react/provider-client-lazy.js +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/{rename-BgfR3xB9.js → rename-B61GbsZQ.js} +1 -1
- package/dist/{request-context-C9FFFpuH.js → request-context-Bi0Crsd5.js} +1 -1
- package/dist/{resolve-names-DmX503uX.js → resolve-names-D9S1ytiK.js} +1 -1
- package/dist/{resolver-C9-dU-SZ.js → resolver-CDJq6Q7f.js} +3 -3
- package/dist/{rls-JSxuWcf-.js → rls-BKoLx_wE.js} +7 -7
- package/dist/{rls-DTN_-HX2.js → rls-DUrkfLte.js} +3 -3
- package/dist/{rls-files-BsJsEeJ_.js → rls-files-CXNRzrb-.js} +1 -1
- package/dist/{rpc-RDBrKR7N.js → rpc-C-kZGWs6.js} +1 -1
- package/dist/run-BR0E2gC_.js +1 -0
- package/dist/{run-BgNlYtQJ.js → run-DC-N-B56.js} +2 -2
- package/dist/{saas-CHviJgF2.js → saas-DDz3ivSL.js} +2 -2
- package/dist/{scan-pHPntFbs.js → scan-DodOeypJ.js} +1 -1
- package/dist/{schema-DJd7Gq_p.js → schema-owUQ1gtu.js} +1 -1
- package/dist/server/index.js +1 -1
- package/dist/{size-Dm3777Ev.js → size-DNSNqUda.js} +2 -2
- package/dist/{skills-D4ItrS0F.js → skills-CCpuGcKP.js} +1 -1
- package/dist/{skills-txCdqGns.js → skills-s2aKsx2b.js} +1 -1
- package/dist/{snapshot-size-CpdksnSr.js → snapshot-size-1zICkeFb.js} +1 -1
- package/dist/{snapshot-size-I_-fxGry.js → snapshot-size-CFwBMDNC.js} +1 -1
- package/dist/solid/index.js +1 -1
- package/dist/solid-start/index.js +2 -2
- package/dist/{src-10d_jun2.js → src-DUWw9z1D.js} +2 -2
- package/dist/{stores-jgDndNHa.js → stores-qYmLHVKv.js} +1 -1
- package/dist/supabase/index.js +2 -2
- package/dist/supabase/middleware.js +3 -3
- package/dist/{supabase-D-kxyoaX.js → supabase-BTQJN5xy.js} +2 -2
- package/dist/{supabase-CeJAHqZp.js → supabase-DayxaRcg.js} +2 -2
- package/dist/supabase-hook-D6qeBhbR.js +2 -0
- package/dist/{supabase-hook-DDxDjlOU.js → supabase-hook-Q7W7FeMZ.js} +5 -5
- package/dist/{supabase-schemas-D6ezN5Ln.js → supabase-schemas-DsIQxBsk.js} +1 -1
- package/dist/svelte/index.js +2 -2
- package/dist/svelte/runtime.js +1 -1
- package/dist/svelte/source.js +1 -1
- package/dist/sveltekit/index.js +1 -1
- package/dist/{table-reads-DHB56kFZ.js → table-reads-BnUbRW9A.js} +1 -1
- package/dist/{table-reads-Doh_Egx2.js → table-reads-BqTGNTSZ.js} +1 -1
- package/dist/{tables-E-dIHUN_.js → tables-CKtoAAm5.js} +1 -1
- package/dist/tanstack-start/index.js +1 -1
- package/dist/{tenant-check-DGfE7Sns.js → tenant-check-cX7MSxRQ.js} +3 -3
- package/dist/terminal/index.js +2 -2
- package/dist/testing/core.js +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +7 -7
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.js +2 -2
- package/dist/usage-CRHxOpvu.js +1 -0
- package/dist/{usage-CX_wmL5W.js → usage-C_gw6Dsh.js} +2 -2
- package/dist/{usage-DymSoYQZ.js → usage-Ct-_O647.js} +1 -1
- package/dist/{verify-CHlmYg2d.js → verify-BHM21t2P.js} +5 -5
- package/dist/vue/index.js +1 -1
- package/dist/{warm-BOrs0-_j.js → warm-C6Hn4J-4.js} +1 -1
- package/dist/{watch-CkL1iuKJ.js → watch-DEnagZ5d.js} +1 -1
- package/dist/workflow/index.js +1 -1
- package/package.json +2 -2
- package/dist/bundle-size-CGd8wVIu.js +0 -1
- package/dist/evaluator-zpeC7zel.js +0 -2
- package/dist/gen-CNYlckFE.js +0 -1
- package/dist/pull-CylkuBGR.js +0 -1
- package/dist/run-C7nX-hkR.js +0 -1
- package/dist/supabase-hook-BTiZ8LTJ.js +0 -2
- package/dist/usage-DcVP-SFj.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as powersyncFiles, r as publicationPath, t as runPowerSync } from "./powersync-
|
|
1
|
+
export { i as powersyncFiles, r as publicationPath, t as runPowerSync } from "./powersync-cShrvGN9.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as isConditionDate, l as isConditionRef, o as hasConditionOp } from "./refs-Cix9Zjis.js";
|
|
2
2
|
import { n as findPermission } from "./permission-registry-DstT40VS.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
4
|
-
import { A as memoryCustomRoleSource, _ as localSnapshotManifest } from "./src-
|
|
3
|
+
import { t as getPermDock } from "./permdock-B0aE5Ime.js";
|
|
4
|
+
import { A as memoryCustomRoleSource, _ as localSnapshotManifest } from "./src-DUWw9z1D.js";
|
|
5
5
|
import { f as usageResult } from "./errors-DgLOqc6j.js";
|
|
6
6
|
import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
7
7
|
import { i as fileDrift } from "./output-files-8lfALMSU.js";
|
|
8
8
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
|
|
9
9
|
import { r as pgConnector } from "./pg-DmS5ITHu.js";
|
|
10
10
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
11
|
-
import { t as canFixture } from "./verify-
|
|
12
|
-
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, u as roleNames } from "./rbac-
|
|
11
|
+
import { t as canFixture } from "./verify-BHM21t2P.js";
|
|
12
|
+
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, u as roleNames } from "./rbac-BlVLEzQC.js";
|
|
13
13
|
import { a as quoteIdent, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
14
14
|
import { a as scopeMembershipTable, i as scopeColumn } from "./compile-BUKXrueE.js";
|
|
15
15
|
import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
@@ -18,15 +18,15 @@ import { d as keptKeys, t as AUTHZ_VERSION_TABLE } from "./sources-C6Id63F8.js";
|
|
|
18
18
|
import { a as customRolesOn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
19
19
|
import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
|
|
20
20
|
import { s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
|
|
21
|
-
import { t as ownershipRules } from "./ownership-
|
|
22
|
-
import { a as tableFor } from "./compile-
|
|
23
|
-
import { i as tableNames, r as tableNameOf } from "./tables-
|
|
21
|
+
import { t as ownershipRules } from "./ownership-BGAqnS59.js";
|
|
22
|
+
import { a as tableFor } from "./compile-5QQLSNRY.js";
|
|
23
|
+
import { i as tableNames, r as tableNameOf } from "./tables-CKtoAAm5.js";
|
|
24
24
|
import { l as policyLevels } from "./policy-CZBJDcTx.js";
|
|
25
25
|
import { p as scopeField } from "./tenancy-B5Xxt9Sc.js";
|
|
26
26
|
import { t as requiresApproval } from "./approval-required-B-R4Yw3J.js";
|
|
27
27
|
import { o as sqlFiles } from "./files-DAR51W3J.js";
|
|
28
28
|
import { o as parseSqlLenient } from "./ast-Dnm2TOHN.js";
|
|
29
|
-
import { n as resolveSchemas } from "./supabase-schemas-
|
|
29
|
+
import { n as resolveSchemas } from "./supabase-schemas-DsIQxBsk.js";
|
|
30
30
|
import { existsSync, readFileSync } from "node:fs";
|
|
31
31
|
import { join, resolve } from "node:path";
|
|
32
32
|
// src/cli/powersync/claims.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as eagerEvaluator } from "./evaluator-eager-
|
|
1
|
+
import { t as eagerEvaluator } from "./evaluator-eager-B_4KdPgg.js";
|
|
2
2
|
import { t as ProviderWith } from "./provider-with-DtBgCCV_.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
// src/react/provider.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
3
|
-
import { a as delegatedScopeMap } from "./permdock-
|
|
3
|
+
import { a as delegatedScopeMap } from "./permdock-B0aE5Ime.js";
|
|
4
4
|
import { i as qualifySqlTable, l as sqlIdent, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
|
|
5
5
|
import { n as parseSupabaseManifest, t as hasTokenHook } from "./manifest-teSfgeqF.js";
|
|
6
6
|
import { y as parseAnswer } from "./permission-registry-DstT40VS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { t as emptySnapshot } from "./snapshot-empty-pKgPDcLd.js";
|
|
3
|
-
import { t as eagerEvaluator } from "./evaluator-eager-
|
|
3
|
+
import { t as eagerEvaluator } from "./evaluator-eager-B_4KdPgg.js";
|
|
4
4
|
import { l as isPromiseLike, t as adapterStore } from "./store-options-DgOuhUSn.js";
|
|
5
5
|
// src/client/provider-store.ts
|
|
6
6
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
2
2
|
import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
|
|
3
3
|
import { a as rel } from "./files-DAR51W3J.js";
|
|
4
|
-
import { t as genFiles } from "./gen-
|
|
5
|
-
import { t as projectContext } from "./context-
|
|
6
|
-
import { t as emitPluginFiles } from "./pipeline-
|
|
4
|
+
import { t as genFiles } from "./gen-BZ-03GIG.js";
|
|
5
|
+
import { t as projectContext } from "./context-Dew6yQqT.js";
|
|
6
|
+
import { t as emitPluginFiles } from "./pipeline-BXsElIBt.js";
|
|
7
7
|
import { n as isPermDockPlugin } from "./plugin-MQVfUBUS.js";
|
|
8
8
|
import { S as restatedFacts, c as withDerivedDefaults, o as readParsedConfig, t as configFileIn } from "./config-Dan6vcvj.js";
|
|
9
9
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
10
10
|
import { n as restatedDefaults, r as withoutPath } from "./resolve-config-Cu_mE2wt.js";
|
|
11
11
|
import { n as writtenPaths, t as configProperty } from "./config-paths-CQvGng3k.js";
|
|
12
12
|
import { r as removeProperty, t as applyEditsStrict } from "./edits-CqU8s2GC.js";
|
|
13
|
-
import { n as commandFor } from "./compile-
|
|
13
|
+
import { n as commandFor } from "./compile-5QQLSNRY.js";
|
|
14
14
|
import { r as schemaTables, t as restatedSchemaDefaults } from "./schema-tables-Ba9LE_XB.js";
|
|
15
15
|
import { readFileSync } from "node:fs";
|
|
16
16
|
// src/cli/codemod/prune-config.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runCloudPull } from "./pull-b_1Jv1XY.js";
|
|
@@ -4,7 +4,7 @@ import { n as parseSupabaseManifest } from "./manifest-teSfgeqF.js";
|
|
|
4
4
|
import { o as formatCatalogJson } from "./catalog-doc-BX97oFAn.js";
|
|
5
5
|
import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
|
|
6
6
|
import { a as describeError } from "./errors-DgLOqc6j.js";
|
|
7
|
-
import { o as nonEmptyOr } from "./output-
|
|
7
|
+
import { o as nonEmptyOr } from "./output-C3gBd5Yp.js";
|
|
8
8
|
import { s as cliVersion } from "./version-D-jWyJb9.js";
|
|
9
9
|
import { s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
10
10
|
import { n as formatManifestJson } from "./manifest-json-DMaBWmcG.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
|
|
2
|
-
import { r as pushedPolicy } from "./pushed-policy-
|
|
2
|
+
import { r as pushedPolicy } from "./pushed-policy-DXA5KLo6.js";
|
|
3
3
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { n as PermDockValidationError } from "./validation-error-CgDOA6VS.js";
|
|
5
5
|
import { t as catalogFingerprint } from "./catalog-fingerprint-DAWZARy6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
3
|
-
import { n as snapshotScopes } from "./instance-snapshot-
|
|
3
|
+
import { n as snapshotScopes } from "./instance-snapshot-BJam8gUa.js";
|
|
4
4
|
import { n as copyJson, r as forbiddenKeyPath, t as checkSchema } from "./json-schema-jtX26ydD.js";
|
|
5
5
|
import { n as RFC3339_PATTERN } from "./time-r0CKBm57.js";
|
|
6
6
|
import { n as PermDockValidationError } from "./validation-error-CgDOA6VS.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as authorizeSql } from "./supabase-
|
|
1
|
+
import { n as authorizeSql } from "./supabase-DayxaRcg.js";
|
|
2
2
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { r as relationCondition, t as inheritCondition } from "./grantee-conditions-Dob6QQAc.js";
|
|
4
4
|
import { c as rootScope, d as scopeList, s as resolveScope } from "./scopes-B-KX9EI8.js";
|
package/dist/react/index.js
CHANGED
|
@@ -5,5 +5,5 @@ import { r as approvalHeaders } from "../protected-action-DiXulRVj.js";
|
|
|
5
5
|
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
|
|
6
6
|
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-DDYvU-9Z.js";
|
|
7
7
|
import { t as onlineRefresh } from "../refresh-online-CYGZNo6V.js";
|
|
8
|
-
import { t as PermDockProvider } from "../provider-
|
|
8
|
+
import { t as PermDockProvider } from "../provider-BT8hVigf.js";
|
|
9
9
|
export { PermDockProvider, Protected, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, onlineRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDecision, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
package/dist/react/lazy.js
CHANGED
|
@@ -5,5 +5,5 @@ import { r as approvalHeaders } from "../protected-action-DiXulRVj.js";
|
|
|
5
5
|
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
|
|
6
6
|
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-DDYvU-9Z.js";
|
|
7
7
|
import { t as onlineRefresh } from "../refresh-online-CYGZNo6V.js";
|
|
8
|
-
import { t as PermDockProvider } from "../lazy-provider-
|
|
8
|
+
import { t as PermDockProvider } from "../lazy-provider-BPSgEG-A.js";
|
|
9
9
|
export { PermDockProvider, Protected, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, onlineRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDecision, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { t as PermDockProvider } from "../lazy-provider-
|
|
2
|
+
export { t as PermDockProvider } from "../lazy-provider-BPSgEG-A.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { t as PermDockProvider } from "../provider-
|
|
2
|
+
export { t as PermDockProvider } from "../provider-BT8hVigf.js";
|
|
@@ -15,7 +15,7 @@ import { h as secondsAt, m as rfc3339 } from "../time-r0CKBm57.js";
|
|
|
15
15
|
import { t as byCodePoint } from "../compare-dfHDj8kT.js";
|
|
16
16
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D8x24Jv-.js";
|
|
17
17
|
import { a as PermDockUiContext, i as PermDockStoreContext, n as useKeyed, t as useLiveOptions } from "../live-options-CIUmc-YQ.js";
|
|
18
|
-
import { t as eagerEvaluator } from "../evaluator-eager-
|
|
18
|
+
import { t as eagerEvaluator } from "../evaluator-eager-B_4KdPgg.js";
|
|
19
19
|
import { t as emptySnapshot } from "../snapshot-empty-pKgPDcLd.js";
|
|
20
20
|
import { n as isThenable } from "../thenable-BxMy2v8w.js";
|
|
21
21
|
import { useEffect, useMemo, useRef } from "react";
|
|
@@ -3,7 +3,7 @@ import "./sources-C6Id63F8.js";
|
|
|
3
3
|
import { i as configError, n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { i as refuseDirty, n as fileSummary, t as applyFiles } from "./files-DuV7wRim.js";
|
|
5
5
|
import { a as loadModule, r as leavesOf, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
6
|
-
import { a as resolveAuthorize } from "./rbac-
|
|
6
|
+
import { a as resolveAuthorize } from "./rbac-BlVLEzQC.js";
|
|
7
7
|
import { a as customRolesOn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
8
8
|
import { n as legacyKeySql } from "./custom-role-rebuild-BwM6hBqt.js";
|
|
9
9
|
import { n as byKey } from "./compare-8SNJN-9U.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as assertAppData } from "./app-data-DbSPSPIl.js";
|
|
2
|
-
import { t as buildInstance } from "./build-instance-
|
|
2
|
+
import { t as buildInstance } from "./build-instance-BX5yWZDz.js";
|
|
3
3
|
import { n as wrapPermDock } from "./wrap-CsfsaJhd.js";
|
|
4
4
|
// src/core/request-context.ts
|
|
5
5
|
/**
|
|
@@ -5,7 +5,7 @@ import "./budget-BH81q2cj.js";
|
|
|
5
5
|
import "./sources-C6Id63F8.js";
|
|
6
6
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
7
7
|
import { t as FIELD_VIEWS } from "./fields-CKX-qjWb.js";
|
|
8
|
-
import { C as forUserContext, d as permittedByPermissionHelper, et as graphPlan, i as tableNames, o as PERMISSION_HELPERS, p as holderSources, s as checkName, w as grantBodies } from "./tables-
|
|
8
|
+
import { C as forUserContext, d as permittedByPermissionHelper, et as graphPlan, i as tableNames, o as PERMISSION_HELPERS, p as holderSources, s as checkName, w as grantBodies } from "./tables-CKtoAAm5.js";
|
|
9
9
|
import { b as idTypeOf, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
|
|
10
10
|
import { S as scopeTable, b as restrictedHelper, c as hasPermittedUsers, f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, i as graphSqlName, l as inheritedRowsHelper, r as graphHelper, u as isTeamScope, v as permittedForHelper, y as permittedIdsHelper } from "./names-DwGleRKB.js";
|
|
11
11
|
import { a as quoteIdent, i as qualified, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { f as nowMillis } from "./time-r0CKBm57.js";
|
|
3
|
-
import { l as appOf, u as withApp } from "./permdock-
|
|
3
|
+
import { l as appOf, u as withApp } from "./permdock-B0aE5Ime.js";
|
|
4
4
|
import { t as anonymousSubject } from "./subject-DkxY-AhF.js";
|
|
5
5
|
import { i as instanceCache, n as memorySubjectCache, r as readSubjectRecord, t as memoryVersionCache } from "./version-cache-l9Zrfvhz.js";
|
|
6
6
|
import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
|
|
7
7
|
import { a as permissionStates } from "./checks-DSm45qH7.js";
|
|
8
8
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
9
|
-
import { n as versionSources } from "./define-permdock-
|
|
10
|
-
import { t as buildInstance } from "./build-instance-
|
|
9
|
+
import { n as versionSources } from "./define-permdock-CGI9pgqL.js";
|
|
10
|
+
import { t as buildInstance } from "./build-instance-BX5yWZDz.js";
|
|
11
11
|
import { n as NO_GRANT } from "./decision-hHv4UZgy.js";
|
|
12
12
|
import { a as hookApiNames } from "./sources-C6Id63F8.js";
|
|
13
13
|
import { o as subjectFromSupabase } from "./definition-options-DLBlRrPO.js";
|
|
@@ -2,19 +2,19 @@ import "./sources-C6Id63F8.js";
|
|
|
2
2
|
import { a as describeError, f as usageResult, o as exitCodeOfError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { n as openPgPool, r as pgConnector, t as connectPgPool } from "./pg-DmS5ITHu.js";
|
|
4
4
|
import { i as taggedAccessPolicies } from "./bsb-access-Bcw6GrQm.js";
|
|
5
|
-
import { n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-
|
|
6
|
-
import { o as nonEmptyOr } from "./output-
|
|
5
|
+
import { n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DsIQxBsk.js";
|
|
6
|
+
import { o as nonEmptyOr } from "./output-C3gBd5Yp.js";
|
|
7
7
|
import { n as packageManagerOf, t as addLine } from "./peer-D77JpXe-.js";
|
|
8
|
-
import { n as describeExplain, t as runRlsGenerate } from "./generate-
|
|
9
|
-
import { c as INDEX_COLUMNS_SQL, f as readTableIndexFacts, s as COLUMNS_SQL } from "./compile-
|
|
8
|
+
import { n as describeExplain, t as runRlsGenerate } from "./generate-Ckt9pvJD.js";
|
|
9
|
+
import { c as INDEX_COLUMNS_SQL, f as readTableIndexFacts, s as COLUMNS_SQL } from "./compile-5QQLSNRY.js";
|
|
10
10
|
import { r as escapeSqlIdent } from "./sql-T4GaBh9X.js";
|
|
11
11
|
import { t as beforeFirst } from "./text-D704xHVl.js";
|
|
12
12
|
import { a as conditionShown, i as callsHelper, o as helperCallKeys, t as HELPER_TABLES } from "./helper-calls-DN1PJcNY.js";
|
|
13
13
|
import { u as isPlatformSchema } from "./report-x9GeUvjx.js";
|
|
14
14
|
import { c as ACTOR_MAY_WRITE, p as readOnlyActorKinds } from "./fields-CKX-qjWb.js";
|
|
15
|
-
import { a as verifyResult, i as verifyIgnores, n as runRlsVerify, r as rlsFinding } from "./verify-
|
|
16
|
-
import { r as parseRbacAuthorize } from "./rbac-
|
|
17
|
-
import { n as configuredTableReads } from "./table-reads-
|
|
15
|
+
import { a as verifyResult, i as verifyIgnores, n as runRlsVerify, r as rlsFinding } from "./verify-BHM21t2P.js";
|
|
16
|
+
import { r as parseRbacAuthorize } from "./rbac-BlVLEzQC.js";
|
|
17
|
+
import { n as configuredTableReads } from "./table-reads-BqTGNTSZ.js";
|
|
18
18
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
19
19
|
import { a as rel, o as sqlFiles } from "./files-DAR51W3J.js";
|
|
20
20
|
import { t as importFromApp } from "./app-peer-BnMh5lqz.js";
|
|
@@ -194,7 +194,7 @@ async function rlsInput(ctx, verb, shape, options) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
async function runRls(input) {
|
|
197
|
-
return (await import("./rls-
|
|
197
|
+
return (await import("./rls-BKoLx_wE.js")).runRls(input);
|
|
198
198
|
}
|
|
199
199
|
({
|
|
200
200
|
...shapeFlags,
|
|
@@ -305,7 +305,7 @@ const report = defineLeaf({
|
|
|
305
305
|
const [{ runRlsReport }, { pgConnector }, { configuredTableReads }] = await Promise.all([
|
|
306
306
|
import("./report-Dp-ApWVC.js"),
|
|
307
307
|
import("./pg-DtiDogUp.js"),
|
|
308
|
-
import("./table-reads-
|
|
308
|
+
import("./table-reads-BnUbRW9A.js")
|
|
309
309
|
]);
|
|
310
310
|
return runRlsReport({
|
|
311
311
|
cwd: ctx.cwd,
|
|
@@ -349,7 +349,7 @@ const measure = defineLeaf({
|
|
|
349
349
|
if (db === void 0) throw missingInput("rls measure", ["--db-url-stdin", "--local"], "the database to run requests against");
|
|
350
350
|
const tenant = given(flags.tenant);
|
|
351
351
|
const [{ runRlsMeasure, DEFAULT_REQUESTS, DEFAULT_TABLES }, { pgConnector }, { positiveInteger }] = await Promise.all([
|
|
352
|
-
import("./measure-
|
|
352
|
+
import("./measure-CJOb4tnF.js"),
|
|
353
353
|
import("./pg-DtiDogUp.js"),
|
|
354
354
|
import("./memberships-DiCbNRny.js")
|
|
355
355
|
]);
|
|
@@ -3,7 +3,7 @@ import { i as dateAt } from "./time-r0CKBm57.js";
|
|
|
3
3
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { m as seedsMigration, p as seedDeltaNote } from "./output-files-8lfALMSU.js";
|
|
5
5
|
import { a as fixturesPresent, i as defaultsSeedSql, o as fixturesSeedSql, r as FIXTURES_PATH, t as DEFAULTS_MARKER } from "./seed-sql-CjF7u0aX.js";
|
|
6
|
-
import { t as runRlsGenerate } from "./generate-
|
|
6
|
+
import { t as runRlsGenerate } from "./generate-Ckt9pvJD.js";
|
|
7
7
|
import { a as quietIo, r as noted } from "./plugin-MQVfUBUS.js";
|
|
8
8
|
// src/cli/generate/plugins/rls-options.ts
|
|
9
9
|
function seedMode(seeds) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
|
-
import { t as adapterKernel } from "./bind-
|
|
2
|
+
import { t as adapterKernel } from "./bind-CFwfgfp2.js";
|
|
3
3
|
import { n as tenantScope } from "./adapter-context-lHq_i_77.js";
|
|
4
4
|
import { s as requestFromContext } from "./http-C9jDw_bZ.js";
|
|
5
5
|
import { r as guardIterable } from "./stream-DdF94h7T.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as run } from "./run-DC-N-B56.js";
|
|
@@ -3,9 +3,9 @@ import { a as readConfig, l as withPluginOutputs, s as resolveCwd } from "./conf
|
|
|
3
3
|
import { t as beforeFirst } from "./text-D704xHVl.js";
|
|
4
4
|
import { a as describeError, n as CliError, r as cliFailure, s as failureOf, u as kindOfCode } from "./errors-DgLOqc6j.js";
|
|
5
5
|
import { a as suggestion, i as parseLeaf, o as GLOBAL_FLAGS, r as parseFlags } from "./args-BSpXxMnb.js";
|
|
6
|
-
import { a as githubAnnotations, c as sarifLog, d as consentReasons, f as quote, i as findingsDocument, l as confirmationRequired, n as errorDocument, p as replayArgv, s as resultDocument, t as dataOf, u as consentDigest } from "./output-
|
|
6
|
+
import { a as githubAnnotations, c as sarifLog, d as consentReasons, f as quote, i as findingsDocument, l as confirmationRequired, n as errorDocument, p as replayArgv, s as resultDocument, t as dataOf, u as consentDigest } from "./output-C3gBd5Yp.js";
|
|
7
7
|
import { r as progressReporter, t as redact } from "./credentials-6ZWbJ-Re.js";
|
|
8
|
-
import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-
|
|
8
|
+
import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-DWO7EC1m.js";
|
|
9
9
|
import { t as createStyle } from "./style-CQDaLJtP.js";
|
|
10
10
|
import { s as cliVersion } from "./version-D-jWyJb9.js";
|
|
11
11
|
import { n as isPermDockPlugin } from "./plugin-MQVfUBUS.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-
|
|
1
|
+
import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-CF8Ed44S.js";
|
|
2
2
|
import { a as deny, n as role, r as allow } from "./role-builder-BksM3Q9O.js";
|
|
3
3
|
import { l as relation, n as anyone } from "./grantee-BSCdpIF3.js";
|
|
4
4
|
import { r as definePolicy } from "./policy-CZBJDcTx.js";
|
|
5
5
|
import { i as principal } from "./refs-Cix9Zjis.js";
|
|
6
|
-
import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-
|
|
6
|
+
import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-DUWw9z1D.js";
|
|
7
7
|
import { s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
|
|
8
8
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
9
9
|
import { h as secondsAt } from "./time-r0CKBm57.js";
|
|
@@ -16,7 +16,7 @@ const scan = defineLeaf({
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
async run(ctx, { flags }) {
|
|
19
|
-
const { runAdoptionScan } = await import("./adoption-scan-
|
|
19
|
+
const { runAdoptionScan } = await import("./adoption-scan-BSVL4wIW.js");
|
|
20
20
|
return runAdoptionScan({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
srcPath: flags.src.length > 0 ? flags.src : ctx.config.collect?.srcPath ?? ["src"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as require__2020 } from "./2020-DBXhfpuK.js";
|
|
2
2
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
3
3
|
import { t as DRAFT_PINS } from "./pins-CXXkVEiD.js";
|
|
4
|
-
import { o as nonEmptyOr } from "./output-
|
|
4
|
+
import { o as nonEmptyOr } from "./output-C3gBd5Yp.js";
|
|
5
5
|
import { l as packageRoot } from "./version-D-jWyJb9.js";
|
|
6
6
|
import { readFileSync } from "node:fs";
|
|
7
7
|
import { join } from "node:path";
|
package/dist/server/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n as PermDockDeniedError, r as PermDockRevokedError, t as PermDockAppro
|
|
|
3
3
|
import { t as memoryRevocationFeed } from "../revocations-3jyzniOz.js";
|
|
4
4
|
import { n as tenantScope } from "../adapter-context-lHq_i_77.js";
|
|
5
5
|
import { c as problemFromDecision, f as validationProblem, l as problemResponse, p as wwwAuthenticate } from "../problem-BZB7zPC7.js";
|
|
6
|
-
import { t as createPermDock } from "../create-
|
|
6
|
+
import { t as createPermDock } from "../create-DRiggRWE.js";
|
|
7
7
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, h as invalidSignatureResponse, m as invalidSignatureProblem, o as evaluationsHandler, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
8
8
|
import { a as memoryCredentialStore, c as subjectFromApiKey, i as hashApiKey, n as generateApiKey, o as parseApiKey, r as generateFeedKey, s as parseFeedKey, t as apiKeyVerifier } from "../credentials-B-hsgB4W.js";
|
|
9
9
|
import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
|
|
@@ -38,7 +38,7 @@ const snapshotSize = defineLeaf({
|
|
|
38
38
|
},
|
|
39
39
|
async run(ctx, { flags }) {
|
|
40
40
|
try {
|
|
41
|
-
const { runSnapshotSize, SNAPSHOT_BUDGET_BYTES } = await import("./snapshot-size-
|
|
41
|
+
const { runSnapshotSize, SNAPSHOT_BUDGET_BYTES } = await import("./snapshot-size-CFwBMDNC.js");
|
|
42
42
|
const path = given(flags.policy) ?? ctx.config.policy;
|
|
43
43
|
return runSnapshotSize({
|
|
44
44
|
policy: await requirePolicy(ctx.cwd, path, "set policy in permdock.config.ts or pass --policy"),
|
|
@@ -103,7 +103,7 @@ const bundleSize = defineLeaf({
|
|
|
103
103
|
},
|
|
104
104
|
async run(ctx, { flags }) {
|
|
105
105
|
try {
|
|
106
|
-
const { runBundleSize } = await import("./bundle-size-
|
|
106
|
+
const { runBundleSize } = await import("./bundle-size-DRu3x2lW.js");
|
|
107
107
|
const path = given(flags.policy) ?? ctx.config.policy;
|
|
108
108
|
return runBundleSize({
|
|
109
109
|
policy: await requirePolicy(ctx.cwd, path, "set policy in permdock.config.ts or pass --policy"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as byCodePoint } from "./compare-dfHDj8kT.js";
|
|
2
2
|
import { t as didYouMean } from "./args-BSpXxMnb.js";
|
|
3
|
-
import { o as nonEmptyOr } from "./output-
|
|
3
|
+
import { o as nonEmptyOr } from "./output-C3gBd5Yp.js";
|
|
4
4
|
import { i as readJsonFile, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
5
5
|
import { l as packageRoot } from "./version-D-jWyJb9.js";
|
|
6
6
|
import { cpSync, existsSync, lstatSync, readFileSync, readdirSync, readlinkSync, realpathSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as defineLeaf } from "./command-9GAzSI7E.js";
|
|
2
2
|
import { t as checkFlag } from "./flags-DQzNPxg1.js";
|
|
3
3
|
import { r as pick, t as CANCELLED } from "./prompt-CPlJn_4-.js";
|
|
4
|
-
import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-
|
|
4
|
+
import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-CCpuGcKP.js";
|
|
5
5
|
// src/cli/commands/skills.ts
|
|
6
6
|
const forFlag = { for: {
|
|
7
7
|
type: "string",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
2
|
-
import { d as snapshotFor } from "./src-
|
|
2
|
+
import { d as snapshotFor } from "./src-DUWw9z1D.js";
|
|
3
3
|
import { gzipSync } from "node:zlib";
|
|
4
4
|
// src/cli/snapshot-size.ts
|
|
5
5
|
/** The default budget of the PD112 doctor rule, in bytes of JSON. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-
|
|
1
|
+
export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-1zICkeFb.js";
|
package/dist/solid/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "..
|
|
|
4
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-fzaF1R6q.js";
|
|
8
8
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
9
9
|
import { ErrorBoundary, createComponent, createComputed, createContext, createMemo, createSignal, getOwner, on, onCleanup, useContext } from "solid-js";
|
|
10
10
|
// src/solid/context.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
2
|
-
import { i as decorate } from "../bind-
|
|
3
|
-
import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { i as decorate } from "../bind-CFwfgfp2.js";
|
|
3
|
+
import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-niRAPzNm.js";
|
|
4
4
|
// src/solid-start/create.ts
|
|
5
5
|
/**
|
|
6
6
|
* `event.locals`. Its type, `App.RequestEventLocals`, is declared by
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as assertSqlFunctionArg, f as assertSqlFunctionName, l as normalizeWhere, p as assertSqlFunctionSet, u as assertPortableTwin } from "./role-builder-BksM3Q9O.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
3
|
-
import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-
|
|
3
|
+
import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-B0aE5Ime.js";
|
|
4
4
|
import { n as PermDockDeniedError } from "./errors-DOSkVeTC.js";
|
|
5
5
|
import { c as evaluateCondition } from "./delegation-0DVVomzu.js";
|
|
6
6
|
import { a as normalizeApproval, r as assertApprovalRelations } from "./approval-normalize-C6je8vWN.js";
|
|
@@ -13,7 +13,7 @@ import { c as listPermissions, i as getRegistry, n as findPermission } from "./p
|
|
|
13
13
|
import { n as isThenable } from "./thenable-BxMy2v8w.js";
|
|
14
14
|
import { a as durationOf, g as secondsOf, p as nowSeconds } from "./time-r0CKBm57.js";
|
|
15
15
|
import { D as tenantCustomRoles, E as roleAllowKeys, O as validateCustomRole, T as resolveCustomRole, b as isGlobalCustomRole, d as customGrantsFor, g as customRoleScope, h as customRoleOf, p as customRoleId, u as ceilingGrants, x as isSharedCustomRole } from "./evaluate-DNz6wMYv.js";
|
|
16
|
-
import { a as heldLevels, f as bindingOf, h as usesAssigns, i as assignableIn, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-
|
|
16
|
+
import { a as heldLevels, f as bindingOf, h as usesAssigns, i as assignableIn, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-BJam8gUa.js";
|
|
17
17
|
import { r as ownGet } from "./paths-CeS_gpHf.js";
|
|
18
18
|
import { n as relationId } from "./relations-CIgB5KPJ.js";
|
|
19
19
|
import { c as isEdgeRelation, m as restrictedStops, o as groupEntries, s as isComputedRelation, u as isPrincipalRelation } from "./resource-relations-Ck5sjYQR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as actionRunner, t as actionApproval } from "./protected-action-DiXulRVj.js";
|
|
2
2
|
import { a as gateView, 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 } from "./views-Dpr1uB16.js";
|
|
3
|
-
import { n as getUi, r as providePermDock, t as getStore } from "./context-
|
|
3
|
+
import { n as getUi, r as providePermDock, t as getStore } from "./context-CzHYMZr9.js";
|
|
4
4
|
import { derived, readable, toStore, writable } from "svelte/store";
|
|
5
5
|
// src/svelte/stores.ts
|
|
6
6
|
function fromStore(store, compute) {
|
package/dist/supabase/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { r as readSubjectRecord } from "../version-cache-l9Zrfvhz.js";
|
|
|
2
2
|
import { n as compactMemberships, r as expandMemberships } from "../read-memberships-DVBitJZG.js";
|
|
3
3
|
import { n as AUTHZ_TOPIC, r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D8x24Jv-.js";
|
|
4
4
|
import { n as supabaseMembershipsBudget, r as supabaseTenantClaim } from "../budget-BH81q2cj.js";
|
|
5
|
-
import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-
|
|
5
|
+
import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-DayxaRcg.js";
|
|
6
6
|
import { c as tableMembershipSource, i as authzVersion, o as junctionMembershipSource, s as supabasePostgresQuery, t as AUTHZ_VERSION_TABLE } from "../sources-C6Id63F8.js";
|
|
7
|
-
import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-
|
|
7
|
+
import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-CDJq6Q7f.js";
|
|
8
8
|
import { a as delegationOf, i as actorOf, o as subjectFromSupabase, s as subjectFromSupabaseSession } from "../definition-options-DLBlRrPO.js";
|
|
9
9
|
import { n as parseSupabaseManifest, t as hasTokenHook } from "../manifest-teSfgeqF.js";
|
|
10
10
|
export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_TABLE, actorOf, authorizeSql, authzUserTopic, authzVersion, compactMemberships, definePermDock, delegationOf, exchangeCapability, expandMemberships, hasTokenHook, junctionMembershipSource, parseSupabaseManifest, postgrestSources, readSubjectRecord, subjectFromSupabase, subjectFromSupabaseClient, subjectFromSupabaseSession, supabaseApprovalStore, supabaseClaims, supabaseMembershipsBudget, supabasePostgresQuery, supabaseRls, supabaseTenantClaim, tableApprovalDelegationSource, tableApprovalPolicySource, tableMembershipSource };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { u as withApp } from "../permdock-B0aE5Ime.js";
|
|
2
2
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
3
3
|
import { r as credentialSubject } from "../credential-D9in5keC.js";
|
|
4
4
|
import { t as instanceOptions } from "../instance-options-CLErhA76.js";
|
|
5
5
|
import { t as composeWraps } from "../wrap-CsfsaJhd.js";
|
|
6
|
-
import { n as attached } from "../bind-
|
|
7
|
-
import { t as createPermDock$1 } from "../create-
|
|
6
|
+
import { n as attached } from "../bind-CFwfgfp2.js";
|
|
7
|
+
import { t as createPermDock$1 } from "../create-DRiggRWE.js";
|
|
8
8
|
import { o as methodNotAllowed } from "../problem-BZB7zPC7.js";
|
|
9
9
|
import { n as tenantFromPath$1 } from "../tenant-from-path-AKTSY7uR.js";
|
|
10
10
|
import { n as supabaseOptionsOf, o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
|
|
@@ -20,7 +20,7 @@ const inspect = defineLeaf({
|
|
|
20
20
|
},
|
|
21
21
|
async run(ctx, { flags }) {
|
|
22
22
|
if (flags.functions !== void 0) {
|
|
23
|
-
const { inspectFunctions } = await import("./inspect-functions-
|
|
23
|
+
const { inspectFunctions } = await import("./inspect-functions-BevsMf1c.js");
|
|
24
24
|
return inspectFunctions({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
@@ -29,7 +29,7 @@ const inspect = defineLeaf({
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
|
|
32
|
-
const { runSupabase } = await import("./supabase-hook-
|
|
32
|
+
const { runSupabase } = await import("./supabase-hook-D6qeBhbR.js");
|
|
33
33
|
return runSupabase({
|
|
34
34
|
cwd: ctx.cwd,
|
|
35
35
|
config: ctx.config,
|
|
@@ -8,12 +8,12 @@ import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
|
|
|
8
8
|
import { s as ApprovalError } from "./types-DFZKovb3.js";
|
|
9
9
|
import { c as decodeApprovalCursor, l as encodeApprovalCursor, s as approvalPageSize, t as applyApprovalVerdict } from "./store-n3yEN7dt.js";
|
|
10
10
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
11
|
-
import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-
|
|
11
|
+
import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-CDJq6Q7f.js";
|
|
12
12
|
import { d as keptKeys, l as roleColumn } from "./sources-C6Id63F8.js";
|
|
13
13
|
import { a as quoteQualifiedTable, c as quoteSqlTable, d as sqlTextArray, i as qualifySqlTable, o as quoteSqlIdent, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
|
|
14
14
|
import { t as compactMembershipsSql } from "./membership-claim-sql-DGfhIn__.js";
|
|
15
15
|
import { o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "./definition-options-DLBlRrPO.js";
|
|
16
|
-
import { t as definePermDock$1 } from "./define-permdock-
|
|
16
|
+
import { t as definePermDock$1 } from "./define-permdock-CGI9pgqL.js";
|
|
17
17
|
import { r as isSubject } from "./subject-DkxY-AhF.js";
|
|
18
18
|
// src/supabase/capability.ts
|
|
19
19
|
const DEFAULT_TTL = 300;
|
|
@@ -5,13 +5,13 @@ import { _ as writeOutputFiles, d as pgDeltaPath, g as underSchemaDir, h as serv
|
|
|
5
5
|
import { i as readJsonFile, o as sqlFiles, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
6
6
|
import { n as formatManifestJson, t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
|
|
7
7
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
8
|
-
import { a as tryKeyReasons } from "./tenant-check-
|
|
9
|
-
import { n as hookUri } from "./rbac-
|
|
10
|
-
import { a as withTableReads } from "./table-reads-
|
|
11
|
-
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-
|
|
8
|
+
import { a as tryKeyReasons } from "./tenant-check-cX7MSxRQ.js";
|
|
9
|
+
import { n as hookUri } from "./rbac-BlVLEzQC.js";
|
|
10
|
+
import { a as withTableReads } from "./table-reads-BqTGNTSZ.js";
|
|
11
|
+
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-BArV58df.js";
|
|
12
12
|
import { r as HOOK_MARKER, s as hookMarkerFields } from "./markers-C-kThnKN.js";
|
|
13
13
|
import { i as withSchemaDefaults } from "./schema-tables-Ba9LE_XB.js";
|
|
14
|
-
import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-
|
|
14
|
+
import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DsIQxBsk.js";
|
|
15
15
|
import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
|
|
16
16
|
import { r as pgConnector } from "./pg-DmS5ITHu.js";
|
|
17
17
|
import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./sources-C6Id63F8.js";
|
|
2
2
|
import { a as describeError } from "./errors-DgLOqc6j.js";
|
|
3
|
-
import { n as hookUri } from "./rbac-
|
|
3
|
+
import { n as hookUri } from "./rbac-BlVLEzQC.js";
|
|
4
4
|
import { n as supabaseDir, t as supabaseConfigFile } from "./supabase-dir-0lxKbrYu.js";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { join, posix } from "node:path";
|
package/dist/svelte/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
|
|
2
|
-
import { n as getUi, t as getStore } from "../context-
|
|
2
|
+
import { n as getUi, t as getStore } from "../context-CzHYMZr9.js";
|
|
3
3
|
import { n as viewFor, t as scopedFor } from "../runtime-Cl6xSbEq.js";
|
|
4
4
|
import { d as slotContent } from "../views-Dpr1uB16.js";
|
|
5
5
|
import { n as describe } from "../describe-B7EosIKA.js";
|
|
6
6
|
import { r as requiredPlans } from "../problem-details-EJHcvYCz.js";
|
|
7
7
|
import { r as approvalHeaders } from "../protected-action-DiXulRVj.js";
|
|
8
8
|
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
|
|
9
|
-
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-
|
|
9
|
+
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-qYmLHVKv.js";
|
|
10
10
|
import "svelte/internal/disclose-version";
|
|
11
11
|
import * as $ from "svelte/internal/client";
|
|
12
12
|
import { onDestroy } from "svelte";
|
package/dist/svelte/runtime.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
|
|
2
2
|
import { d as slotContent } from "../views-Dpr1uB16.js";
|
|
3
|
-
import { n as getUi, t as getStore } from "../context-
|
|
3
|
+
import { n as getUi, t as getStore } from "../context-CzHYMZr9.js";
|
|
4
4
|
import { n as viewFor, t as scopedFor } from "../runtime-Cl6xSbEq.js";
|
|
5
5
|
export { boundaryDigest, boundaryFallback, getStore, getUi, scopedFor, slotContent, viewFor };
|