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
package/dist/a2a/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as createAgentKernel } from "../kernel-
|
|
2
|
-
import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-
|
|
1
|
+
import { n as createAgentKernel } from "../kernel-UOKCD3tV.js";
|
|
2
|
+
import { i as challengeScope, o as hasScope, s as scopesReaching, u as withApp } from "../permdock-B0aE5Ime.js";
|
|
3
3
|
import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as delegationFrom } from "../delegation-input-7Y5Rlja7.js";
|
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as createPermDock } from "../create-
|
|
1
|
+
export { n as createPermDock } from "../create-fNkkpOy5.js";
|
package/dist/ai-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
-
import { r as stepUpText, t as approvalTokenOf } from "../kernel-
|
|
3
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { t as agentRuntime } from "../create-fNkkpOy5.js";
|
|
2
|
+
import { r as stepUpText, t as approvalTokenOf } from "../kernel-UOKCD3tV.js";
|
|
3
|
+
import { u as withApp } from "../permdock-B0aE5Ime.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
|
|
6
6
|
// src/ai-sdk/create.ts
|
package/dist/app/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as definePermDock } from "../define-permdock-
|
|
1
|
+
export { t as definePermDock } from "../define-permdock-CGI9pgqL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as arazzoFindings } from "./src-
|
|
1
|
+
import { y as arazzoFindings } from "./src-DUWw9z1D.js";
|
|
2
2
|
import { d as missingInput } from "./errors-DgLOqc6j.js";
|
|
3
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
3
|
+
import { t as DOCS_BASE } from "./manifest-DWO7EC1m.js";
|
|
4
4
|
import { t as ARAZZO_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
5
5
|
import { i as readJsonFile } from "./files-DAR51W3J.js";
|
|
6
6
|
import { a as loadModule, s as pickNamed, t as asPermissionTree } from "./load-m7jmit3y.js";
|
|
@@ -21,7 +21,7 @@ const check = defineLeaf({
|
|
|
21
21
|
...permissionsFlag
|
|
22
22
|
},
|
|
23
23
|
async run(ctx, { flags }) {
|
|
24
|
-
return (await import("./arazzo-
|
|
24
|
+
return (await import("./arazzo-C04bMN6Y.js")).runArazzo({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
doc: given(flags.doc),
|
package/dist/astro/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
2
|
-
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-niRAPzNm.js";
|
|
3
3
|
// src/astro/create.ts
|
|
4
4
|
const route = {
|
|
5
5
|
context: (context) => context,
|
package/dist/authzen/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
1
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-BX5yWZDz.js";
|
|
2
2
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
3
3
|
import { r as ownGet } from "../paths-CeS_gpHf.js";
|
|
4
4
|
import { a as getResource, c as listPermissions } from "../permission-registry-DstT40VS.js";
|
|
@@ -3,7 +3,7 @@ import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
|
3
3
|
import { o as flattenGrantee } from "../grantee-BSCdpIF3.js";
|
|
4
4
|
import { c as listPermissions, n as findPermission, o as isPermission } from "../permission-registry-DstT40VS.js";
|
|
5
5
|
import { i as dateAt, m as rfc3339, p as nowSeconds, u as isoAt } from "../time-r0CKBm57.js";
|
|
6
|
-
import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-
|
|
6
|
+
import { a as withMembers, i as ownedCaches, n as getPermissions$1, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "../resolver-CDJq6Q7f.js";
|
|
7
7
|
import { s as ApprovalError } from "../types-DFZKovb3.js";
|
|
8
8
|
import { t as parseApprovalRequest } from "../parse-request-IEEzVFM8.js";
|
|
9
9
|
import { t as applyApprovalVerdict } from "../store-n3yEN7dt.js";
|
|
@@ -16,11 +16,11 @@ import { a as flattenApprovers, i as approverManagerKey, r as approverLeaves } f
|
|
|
16
16
|
import { t as canonicalJson } from "../canonical-json-BibZkXtE.js";
|
|
17
17
|
import { r as sha256Digest } from "../sha256-DFsnyVPo.js";
|
|
18
18
|
import { r as expandGrants } from "../snapshot-compact-BWMLnIXK.js";
|
|
19
|
-
import { s as scopesReaching, t as getPermDock } from "../permdock-
|
|
19
|
+
import { s as scopesReaching, t as getPermDock } from "../permdock-B0aE5Ime.js";
|
|
20
20
|
import { d as scopeList } from "../scopes-B-KX9EI8.js";
|
|
21
21
|
import { n as holdsActiveTenant, t as OTHER_TRUNCATED_CLAIMS } from "../share-key-claims-CZGAeVqa.js";
|
|
22
22
|
import { i as snapshotTag } from "../snapshot-cache-DTTEfmxv.js";
|
|
23
|
-
import { n as warmUp } from "../warm-
|
|
23
|
+
import { n as warmUp } from "../warm-C6Hn4J-4.js";
|
|
24
24
|
import { r as isSubject, t as anonymousSubject } from "../subject-DkxY-AhF.js";
|
|
25
25
|
import { r as credentialSubject, s as parseCredential } from "../credential-D9in5keC.js";
|
|
26
26
|
import { s as subjectFromSupabaseSession, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
|
|
@@ -28,13 +28,13 @@ import { n as parseSupabaseManifest } from "../manifest-teSfgeqF.js";
|
|
|
28
28
|
import { t as loadPrincipal } from "../principal-source-BIcukkB3.js";
|
|
29
29
|
import { n as subscribersFor } from "../audience-B6DQ5wQu.js";
|
|
30
30
|
import { t as decideSupportSession } from "../support-session-DpzcGTuV.js";
|
|
31
|
-
import { r as widenedKeys, t as authorizationProvider } from "../provider-
|
|
31
|
+
import { r as widenedKeys, t as authorizationProvider } from "../provider-DRsBw6My.js";
|
|
32
32
|
import { n as parseApprovalHeader } from "../approval-header-BvszJE3l.js";
|
|
33
33
|
import { i as qualifySqlTable, l as sqlIdent } from "../sql-T4GaBh9X.js";
|
|
34
34
|
import { o as junctionMembershipSource } from "../sources-C6Id63F8.js";
|
|
35
35
|
import { t as parseCatalog } from "../parse-CUqZ_lLC.js";
|
|
36
36
|
import { n as policyRowConditionKeys } from "../row-conditions-BjARoFLU.js";
|
|
37
|
-
import { t as definePermDock$1 } from "../define-permdock-
|
|
37
|
+
import { t as definePermDock$1 } from "../define-permdock-CGI9pgqL.js";
|
|
38
38
|
import { i as linkPolicyViolation, n as capabilityOf, r as capabilitySubject } from "../capability-oxfxybFR.js";
|
|
39
39
|
import { r as isId, t as idList } from "../ids-0QDIxtxL.js";
|
|
40
40
|
import { AsyncResult, dbError } from "better-supabase";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
4
4
|
import { t as composeWraps } from "./wrap-CsfsaJhd.js";
|
|
5
5
|
import { n as tenantScope } from "./adapter-context-lHq_i_77.js";
|
|
6
|
-
import { t as createPermDock } from "./create-
|
|
6
|
+
import { t as createPermDock } from "./create-DRiggRWE.js";
|
|
7
7
|
import { h as invalidSignatureResponse } from "./evaluations-DPEAu_jM.js";
|
|
8
8
|
// src/server/bind.ts
|
|
9
9
|
/**
|
|
@@ -5,7 +5,7 @@ import { i as refuseDirty, t as applyFiles } from "./files-DuV7wRim.js";
|
|
|
5
5
|
import { a as rel } from "./files-DAR51W3J.js";
|
|
6
6
|
import { a as readConfig } from "./config-Dan6vcvj.js";
|
|
7
7
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
8
|
-
import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-
|
|
8
|
+
import { i as keyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-cX7MSxRQ.js";
|
|
9
9
|
import { a as parseSqlFile, u as removeStatements } from "./ast-Dnm2TOHN.js";
|
|
10
10
|
import { n as loadBsbSql, r as schemaSqlFiles, t as bsbSqlMissing } from "./bsb-access-Bcw6GrQm.js";
|
|
11
11
|
import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
2
2
|
import { n as supabaseMembershipsBudget } from "./budget-BH81q2cj.js";
|
|
3
3
|
import { t as claimsSize } from "./claims-size-ZiUJBn0r.js";
|
|
4
|
-
import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-
|
|
5
|
-
import { t as bundleSize } from "./bundle-size-
|
|
4
|
+
import { a as snapshotSize, r as mostPrivilegedRole } from "./snapshot-size-1zICkeFb.js";
|
|
5
|
+
import { t as bundleSize } from "./bundle-size-CeLuyWm0.js";
|
|
6
6
|
// src/cli/budgets/budgets.ts
|
|
7
7
|
/**
|
|
8
8
|
* Memberships of the probe subject when `budgets.snapshot.memberships` is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
3
|
+
import { t as getPermDock } from "./permdock-B0aE5Ime.js";
|
|
4
4
|
// src/core/build-instance.ts
|
|
5
5
|
/**
|
|
6
6
|
* `resolve()`, or `null` when it throws: a subject or delegation that cannot be
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as clientBundle } from "./permdock-
|
|
2
|
-
import { n as measurePart } from "./snapshot-size-
|
|
1
|
+
import { p as clientBundle } from "./permdock-B0aE5Ime.js";
|
|
2
|
+
import { n as measurePart } from "./snapshot-size-1zICkeFb.js";
|
|
3
3
|
// src/cli/budgets/bundle-size.ts
|
|
4
4
|
/**
|
|
5
5
|
* The size of `clientBundle(policy)` as JSON, per role and per shared part. The
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runBundleSize } from "./bundle-size-CeLuyWm0.js";
|
|
@@ -16,7 +16,7 @@ const casbinImport = defineLeaf({
|
|
|
16
16
|
...outFlag
|
|
17
17
|
},
|
|
18
18
|
async run(ctx, { flags }) {
|
|
19
|
-
const { runCasbinImport } = await import("./casbin-
|
|
19
|
+
const { runCasbinImport } = await import("./casbin-DAHhk83J.js");
|
|
20
20
|
return runCasbinImport({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
model: given(flags.model),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
2
|
-
import { o as nonEmptyOr } from "./output-
|
|
2
|
+
import { o as nonEmptyOr } from "./output-C3gBd5Yp.js";
|
|
3
3
|
import { n as isIdentifier, t as emitPolicyModule } from "./policy-module-Bp4HvsRg.js";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import { resolve } from "node:path";
|
package/dist/catalog/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { a as getResource, n as findPermission } from "../permission-registry-Ds
|
|
|
6
6
|
import { n as declaredRoleNames } from "../policy-CZBJDcTx.js";
|
|
7
7
|
import { d as isSelfParented } from "../resource-relations-Ck5sjYQR.js";
|
|
8
8
|
import { o as listPlans, r as findRole } from "../vocabulary-CE2k7s1a.js";
|
|
9
|
-
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-
|
|
9
|
+
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-hECiBs9M.js";
|
|
10
10
|
import { n as rowConditionKeys, t as parseCatalog } from "../parse-CUqZ_lLC.js";
|
|
11
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
11
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-DXA5KLo6.js";
|
|
12
12
|
// src/catalog/drift.ts
|
|
13
13
|
/**
|
|
14
14
|
* The finding a drop reason becomes; `null` for a reason the catalog did not
|
package/dist/chat/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as isApprovalError } from "../types-DFZKovb3.js";
|
|
2
2
|
import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-COh0lLc1.js";
|
|
3
|
-
import { t as getPermDock, u as withApp } from "../permdock-
|
|
3
|
+
import { t as getPermDock, u as withApp } from "../permdock-B0aE5Ime.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
|
|
6
6
|
import { f as nowMillis } from "../time-r0CKBm57.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { t as agentRuntime } from "../create-fNkkpOy5.js";
|
|
2
|
+
import { u as withApp } from "../permdock-B0aE5Ime.js";
|
|
3
3
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
4
4
|
// src/claude-agent/create.ts
|
|
5
5
|
const MCP_PREFIX = "mcp__";
|
package/dist/cli/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ if (argv.length === 1 && (argv[0] === "--version" || argv[0] === "-v")) {
|
|
|
11
11
|
const [{ isCi }, { trapSignals }, { run }, { streamHasColors }] = await Promise.all([
|
|
12
12
|
import("../env-hbYumkRp.js"),
|
|
13
13
|
import("../signals-a1NxAP0X.js"),
|
|
14
|
-
import("../run-
|
|
14
|
+
import("../run-BR0E2gC_.js"),
|
|
15
15
|
import("../style-Crf-90o6.js")
|
|
16
16
|
]);
|
|
17
17
|
const signals = trapSignals();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord } from "../../compact-C4LFuqbW.js";
|
|
2
2
|
import { a as describeError } from "../../errors-DgLOqc6j.js";
|
|
3
3
|
import { a as readConfig } from "../../config-Dan6vcvj.js";
|
|
4
|
-
import { t as executeGenerate } from "../../execute-
|
|
4
|
+
import { t as executeGenerate } from "../../execute-hsLYXuwL.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { parentPort, workerData } from "node:worker_threads";
|
|
7
7
|
// src/cli/generate/watch-worker.ts
|
package/dist/cli/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import { t as catalogPath } from "../catalog-path-bG0XxHMu.js";
|
|
|
2
2
|
import { n as defineConfig } from "../config-Dan6vcvj.js";
|
|
3
3
|
import { t as definePlugin } from "../plugin-MQVfUBUS.js";
|
|
4
4
|
import { c as parseGrantsMarker, l as parseHookMarker } from "../markers-C-kThnKN.js";
|
|
5
|
-
import { t as run } from "../run-
|
|
6
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
5
|
+
import { t as run } from "../run-DC-N-B56.js";
|
|
6
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-DXA5KLo6.js";
|
|
7
7
|
// src/cli/token-schemas.ts
|
|
8
8
|
const ID = {
|
|
9
9
|
type: "string",
|
package/dist/cli/plugins/app.js
CHANGED
|
@@ -32,7 +32,7 @@ function openapi(options = {}) {
|
|
|
32
32
|
return operationsFile(source.cwd, options.routes, task.out);
|
|
33
33
|
}
|
|
34
34
|
if (options.doc === void 0) return [];
|
|
35
|
-
const { openapiDocument } = await import("../../openapi-document-
|
|
35
|
+
const { openapiDocument } = await import("../../openapi-document-qHp-hW5Y.js");
|
|
36
36
|
return openapiDocument(task, options, source);
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -18,7 +18,7 @@ function powersync(options = {}) {
|
|
|
18
18
|
}],
|
|
19
19
|
emit: async (task, _model, source) => {
|
|
20
20
|
if (source === void 0) return [];
|
|
21
|
-
const { powersyncFiles, publicationPath } = await import("../../powersync-
|
|
21
|
+
const { powersyncFiles, publicationPath } = await import("../../powersync-WHQ4bGgx.js");
|
|
22
22
|
return powersyncFiles(source.policy, source.config, task.out, await publicationPath(source.cwd, source.config)).files.map((file) => ({
|
|
23
23
|
path: file.path,
|
|
24
24
|
contents: file.text
|
package/dist/cli/plugins/rls.js
CHANGED
|
@@ -19,7 +19,7 @@ function rls(options = {}) {
|
|
|
19
19
|
}],
|
|
20
20
|
config: (config) => withRlsOutputs(config, options),
|
|
21
21
|
emit: async (task, _model, source) => {
|
|
22
|
-
const { filesForRls } = await import("../../rls-files-
|
|
22
|
+
const { filesForRls } = await import("../../rls-files-CXNRzrb-.js");
|
|
23
23
|
return filesForRls(task, options, source);
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -18,7 +18,7 @@ function supabaseHook(options = {}) {
|
|
|
18
18
|
config: (config) => withHookOut(config, options.out),
|
|
19
19
|
emit: async (_task, _model, source) => {
|
|
20
20
|
if (source === void 0) return [];
|
|
21
|
-
const { runSupabase } = await import("../../supabase-hook-
|
|
21
|
+
const { runSupabase } = await import("../../supabase-hook-D6qeBhbR.js");
|
|
22
22
|
const outcome = await runSupabase({
|
|
23
23
|
cwd: source.cwd,
|
|
24
24
|
config: source.config,
|
|
@@ -37,14 +37,14 @@ function supabase(options = {}) {
|
|
|
37
37
|
config: (config) => withHookOut(withRlsOutputs(config, options), hookOut),
|
|
38
38
|
emit: async (task, _model, source) => {
|
|
39
39
|
if (task.id === "sql") {
|
|
40
|
-
const { filesForRls } = await import("../../rls-files-
|
|
40
|
+
const { filesForRls } = await import("../../rls-files-CXNRzrb-.js");
|
|
41
41
|
return filesForRls(task, {
|
|
42
42
|
...rlsOptions,
|
|
43
43
|
dialect: "supabase"
|
|
44
44
|
}, source);
|
|
45
45
|
}
|
|
46
46
|
if (source === void 0) return [];
|
|
47
|
-
const { runSupabase } = await import("../../supabase-hook-
|
|
47
|
+
const { runSupabase } = await import("../../supabase-hook-D6qeBhbR.js");
|
|
48
48
|
const hookOptions = hook === false || hook === void 0 ? {} : hook;
|
|
49
49
|
const outcome = await runSupabase({
|
|
50
50
|
cwd: source.cwd,
|
package/dist/cli/plugins/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as kindPlugin } from "../../gen-kind-
|
|
1
|
+
import { t as kindPlugin } from "../../gen-kind-BKSdYxVh.js";
|
|
2
2
|
// src/cli/plugins/ui.ts
|
|
3
3
|
/** `permdock/react` bound to the policy's vocabulary. Carries `"use client"`. */
|
|
4
4
|
function reactHooks(options = {}) {
|
|
@@ -41,7 +41,7 @@ const push = defineLeaf({
|
|
|
41
41
|
},
|
|
42
42
|
async run(ctx, { flags }) {
|
|
43
43
|
const env = await withStdinSecret(ctx, "key", flags["key-stdin"], "PERMDOCK_CLOUD_KEY");
|
|
44
|
-
return (await import("./push-
|
|
44
|
+
return (await import("./push-Dl7o5gU_.js")).runCloud({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
config: ctx.config,
|
|
47
47
|
url: given(flags.url),
|
|
@@ -70,7 +70,7 @@ const pull = defineLeaf({
|
|
|
70
70
|
},
|
|
71
71
|
async run(ctx, { flags }) {
|
|
72
72
|
const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
|
|
73
|
-
return (await import("./pull-
|
|
73
|
+
return (await import("./pull-DTiAI52h.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|
|
@@ -8,7 +8,7 @@ const codemod = defineLeaf({
|
|
|
8
8
|
description: "The release to migrate to (0.5), config with --prune, manager-chain, bsb-access-tags or bsb-action-keys",
|
|
9
9
|
required: true,
|
|
10
10
|
async complete() {
|
|
11
|
-
return (await import("./codemod-
|
|
11
|
+
return (await import("./codemod-DdSdwmq4.js")).codemodVersions();
|
|
12
12
|
}
|
|
13
13
|
}, {
|
|
14
14
|
name: "paths",
|
|
@@ -33,7 +33,7 @@ const codemod = defineLeaf({
|
|
|
33
33
|
async run(ctx, { flags, args, rest }) {
|
|
34
34
|
if (args["version"] === "config") {
|
|
35
35
|
if (!flags.prune) throw new CliError("usage", "codemod config needs --prune", { code: "invalid_value" });
|
|
36
|
-
return (await import("./prune-config-
|
|
36
|
+
return (await import("./prune-config-CdcEIILi.js")).runPruneConfig({
|
|
37
37
|
cwd: ctx.cwd,
|
|
38
38
|
check: flags.check,
|
|
39
39
|
dryRun: flags["dry-run"],
|
|
@@ -41,7 +41,7 @@ const codemod = defineLeaf({
|
|
|
41
41
|
json: ctx.json
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-
|
|
44
|
+
if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-BfKzb3sw.js")).runAccessTags({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
...rest[0] === void 0 ? {} : { schemas: rest[0] },
|
|
47
47
|
dryRun: flags["dry-run"],
|
|
@@ -62,7 +62,7 @@ const codemod = defineLeaf({
|
|
|
62
62
|
force: flags.force,
|
|
63
63
|
json: ctx.json
|
|
64
64
|
});
|
|
65
|
-
return (await import("./codemod-
|
|
65
|
+
return (await import("./codemod-DdSdwmq4.js")).runCodemod({
|
|
66
66
|
cwd: ctx.cwd,
|
|
67
67
|
version: args["version"],
|
|
68
68
|
paths: rest,
|
|
@@ -5,7 +5,7 @@ import { t as catalogFingerprint } from "./catalog-fingerprint-DAWZARy6.js";
|
|
|
5
5
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
6
6
|
import { n as flagSpellings, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
|
|
7
7
|
import { c as generateFlags, f as policyFlag, i as dryRunFlag, r as dbUrlFlags, t as checkFlag } from "./flags-DQzNPxg1.js";
|
|
8
|
-
import { n as ROOT } from "./manifest-
|
|
8
|
+
import { n as ROOT } from "./manifest-DWO7EC1m.js";
|
|
9
9
|
import { n as baselineText, r as parseBaseline } from "./baseline-file-BQoki1O_.js";
|
|
10
10
|
import { r as resolveConfigRoot, t as configProperty } from "./config-paths-CQvGng3k.js";
|
|
11
11
|
import { n as propertyKey, r as removeProperty, t as applyEditsStrict } from "./edits-CqU8s2GC.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as heldLevels } from "./instance-snapshot-
|
|
1
|
+
import { a as heldLevels } from "./instance-snapshot-BJam8gUa.js";
|
|
2
2
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
3
3
|
import { a as sole } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { S as leveled } from "./evaluate-DNz6wMYv.js";
|
|
@@ -11,14 +11,14 @@ import { l as isConditionRef, o as hasConditionOp } from "./refs-Cix9Zjis.js";
|
|
|
11
11
|
import { t as requiresApproval } from "./approval-required-B-R4Yw3J.js";
|
|
12
12
|
import { c as jsonSchemaOf } from "./catalog-doc-BX97oFAn.js";
|
|
13
13
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
14
|
-
import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-
|
|
14
|
+
import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-CKtoAAm5.js";
|
|
15
15
|
import { t as connectPgPool } from "./pg-DmS5ITHu.js";
|
|
16
16
|
import { S as scopeTable } from "./names-DwGleRKB.js";
|
|
17
17
|
import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-LNaBdCGA.js";
|
|
18
18
|
import { r as interactiveAllowsCall } from "./interactive-only-C9NQJXpi.js";
|
|
19
19
|
import { _ as validitySql, h as andSql, v as wrapSql } from "./fields-CKX-qjWb.js";
|
|
20
20
|
import { _ as arrayColumnsOf, d as subjectClaimSql, u as subjectClaimJsonSql, v as columnTypesOf } from "./subject-B7p94Y0s.js";
|
|
21
|
-
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-
|
|
21
|
+
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-BlVLEzQC.js";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
// src/cli/rls/indexes.ts
|
|
24
24
|
/** Postgres truncates identifiers longer than this, in bytes. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as suggestion, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
|
|
2
2
|
import { t as defineLeaf } from "./command-9GAzSI7E.js";
|
|
3
|
-
import { a as resolve } from "./manifest-
|
|
3
|
+
import { a as resolve } from "./manifest-DWO7EC1m.js";
|
|
4
4
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
5
5
|
// src/cli/core/completion.ts
|
|
6
6
|
const SHELLS = [
|
|
@@ -10,7 +10,7 @@ const config = defineLeaf({
|
|
|
10
10
|
...failOnFlag
|
|
11
11
|
},
|
|
12
12
|
async run(ctx, { flags }) {
|
|
13
|
-
const { runConfig } = await import("./config-report-
|
|
13
|
+
const { runConfig } = await import("./config-report-BO_DLUaK.js");
|
|
14
14
|
return runConfig({
|
|
15
15
|
cwd: ctx.cwd,
|
|
16
16
|
config: ctx.config,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./sources-C6Id63F8.js";
|
|
2
2
|
import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
|
|
3
3
|
import { n as guessPermissions, t as barrelFile } from "./collect-Co-w8Eg2.js";
|
|
4
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
4
|
+
import { t as DOCS_BASE } from "./manifest-DWO7EC1m.js";
|
|
5
5
|
import { r as CONFIG_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
6
6
|
import { a as rel, t as defaultSrcPath } from "./files-DAR51W3J.js";
|
|
7
7
|
import { n as restatedDefaults, t as resolveConfig } from "./resolve-config-Cu_mE2wt.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as switchTenant, t as providerStore } from "./provider-store-
|
|
1
|
+
import { n as switchTenant, t as providerStore } from "./provider-store-fzaF1R6q.js";
|
|
2
2
|
import { l as isPromiseLike } from "./store-options-DgOuhUSn.js";
|
|
3
3
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { getContext, onDestroy, setContext } from "svelte";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as packageManagerOf } from "./peer-D77JpXe-.js";
|
|
2
|
-
import { c as readSupabaseConfig } from "./supabase-schemas-
|
|
2
|
+
import { c as readSupabaseConfig } from "./supabase-schemas-DsIQxBsk.js";
|
|
3
3
|
import { existsSync, readdirSync } from "node:fs";
|
|
4
4
|
import { join, relative } from "node:path";
|
|
5
5
|
// src/cli/generate/context.ts
|
package/dist/convex/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as tenantScope, t as actorFrom } from "../adapter-context-lHq_i_77.js";
|
|
2
2
|
import { n as PermDockValidationError } from "../validation-error-CgDOA6VS.js";
|
|
3
|
-
import { u as withApp } from "../permdock-
|
|
4
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
3
|
+
import { u as withApp } from "../permdock-B0aE5Ime.js";
|
|
4
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-BX5yWZDz.js";
|
|
5
5
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
6
6
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
|
|
7
7
|
// src/convex/create.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as fromSnapshot } from "./from-snapshot-
|
|
1
|
+
import { t as fromSnapshot } from "./from-snapshot-O341Vdgj.js";
|
|
2
2
|
import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
3
|
+
import { t as getPermDock } from "./permdock-B0aE5Ime.js";
|
|
4
4
|
import { C as membershipsClaim } from "./evaluate-DNz6wMYv.js";
|
|
5
5
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
6
6
|
import { c as quoteSqlTable, n as defaultSqlCommand, o as quoteSqlIdent, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
|
|
7
|
-
import { A as memoryCustomRoleSource } from "./src-
|
|
7
|
+
import { A as memoryCustomRoleSource } from "./src-DUWw9z1D.js";
|
|
8
8
|
import { n as parseSnapshot } from "./snapshot-Dzi4LR6n.js";
|
|
9
9
|
import "./budget-BH81q2cj.js";
|
|
10
10
|
// src/testing/policy-matrix.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-lHq_i_77.js";
|
|
2
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
2
|
+
import { n as resolveOrNull } from "./build-instance-BX5yWZDz.js";
|
|
3
3
|
import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
4
4
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
5
5
|
import { t as LOAD_FAILED } from "./decision-hHv4UZgy.js";
|
|
@@ -7,9 +7,9 @@ import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
|
7
7
|
import { n as problemDetails } from "./problem-details-EJHcvYCz.js";
|
|
8
8
|
import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-BZB7zPC7.js";
|
|
9
9
|
import { f as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-DPEAu_jM.js";
|
|
10
|
-
import { i as challengeScope, u as withApp } from "./permdock-
|
|
10
|
+
import { i as challengeScope, u as withApp } from "./permdock-B0aE5Ime.js";
|
|
11
11
|
import { t as deferredSink } from "./deferred-sink-BZahJ8sO.js";
|
|
12
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
12
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-Bi0Crsd5.js";
|
|
13
13
|
import { n as decideSet, r as permissionList } from "./decide-set-CgNcE6pP.js";
|
|
14
14
|
import { n as resourceRef } from "./resource-ref-BiQtFK-I.js";
|
|
15
15
|
import { r as hasCredentials } from "./http-C9jDw_bZ.js";
|
|
@@ -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 { c as deniedFor } from "./may-use-ikNCnNgZ.js";
|
|
4
4
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
5
5
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
6
6
|
import { t as composeWraps } from "./wrap-CsfsaJhd.js";
|
|
7
|
-
import { n as createAgentKernel } from "./kernel-
|
|
7
|
+
import { n as createAgentKernel } from "./kernel-UOKCD3tV.js";
|
|
8
8
|
// src/agent/create.ts
|
|
9
9
|
function modelRow(modelId) {
|
|
10
10
|
return { id: modelId };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as memoryApprovalStore } from "./store-n3yEN7dt.js";
|
|
2
|
-
import { c as APP, t as getPermDock } from "./permdock-
|
|
2
|
+
import { c as APP, t as getPermDock } from "./permdock-B0aE5Ime.js";
|
|
3
3
|
import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
5
5
|
import { n as memoryLimitStore, t as limits } from "./limits-DpTxX6N4.js";
|
|
6
|
-
import { _ as claimsFirst } from "./instance-snapshot-
|
|
6
|
+
import { _ as claimsFirst } from "./instance-snapshot-BJam8gUa.js";
|
|
7
7
|
import { r as mapClaimsToSubject } from "./map-claims-BKdnPwep.js";
|
|
8
8
|
import { c as subjectFromApiKey } from "./credentials-B-hsgB4W.js";
|
|
9
9
|
// src/core/version-sources.ts
|
|
@@ -3,8 +3,8 @@ import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
|
|
|
3
3
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
4
4
|
import { g as secondsOf } from "./time-r0CKBm57.js";
|
|
5
5
|
import { n as findPermission } from "./permission-registry-DstT40VS.js";
|
|
6
|
-
import { t as getPermDock } from "./permdock-
|
|
7
|
-
import { A as memoryCustomRoleSource } from "./src-
|
|
6
|
+
import { t as getPermDock } from "./permdock-B0aE5Ime.js";
|
|
7
|
+
import { A as memoryCustomRoleSource } from "./src-DUWw9z1D.js";
|
|
8
8
|
import { t as buildCatalog } from "./catalog-doc-BX97oFAn.js";
|
|
9
9
|
import { f as usageResult, i as configError } from "./errors-DgLOqc6j.js";
|
|
10
10
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
|
|
@@ -21,7 +21,7 @@ const diff = defineLeaf({
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
async run(ctx, { flags, args }) {
|
|
24
|
-
return (await import("./diff-
|
|
24
|
+
return (await import("./diff-CcbTG1G4.js")).runDiff({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
sources: [args["before"], args["after"]].filter((value) => value !== void 0),
|