permdock 0.20.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a2a/index.d.ts +1 -1
- package/dist/a2a/index.js +3 -3
- package/dist/{adoption-scan-BTG9Noyy.js → adoption-scan-UkQisAqe.js} +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/index.js +3 -3
- package/dist/approvals/index.d.ts +1 -1
- package/dist/{arazzo-D4mKdaWI.js → arazzo-BC3uLIZy.js} +2 -2
- package/dist/{arazzo-CDXfX4u0.js → arazzo-CUthH61H.js} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +1 -1
- package/dist/authzen/index.d.ts +2 -2
- package/dist/authzen/index.js +1 -1
- package/dist/better-supabase/index.d.ts +2 -2
- package/dist/better-supabase/index.js +3 -3
- package/dist/{bind-gwEbe9hL.js → bind-CJf7S-Jd.js} +3 -3
- package/dist/{bind-CW7nsZ86.d.ts → bind-XvnD_SUz.d.ts} +5 -5
- package/dist/{build-instance-DaBdCRiz.js → build-instance-CkRKgjSj.js} +1 -1
- package/dist/{casbin-COUi09Ti.js → casbin-BOZN1P2Y.js} +1 -1
- package/dist/{casbin-BXlRcCdU.js → casbin-v9Xo_XPa.js} +1 -1
- package/dist/catalog/index.js +2 -2
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat-sdk/index.d.ts +1 -1
- package/dist/claude-agent/index.d.ts +2 -2
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/{cloud-BW7JKfrF.js → cloud-CB0btByh.js} +2 -2
- package/dist/{codemod-CR9EQBVd.js → codemod-B-duJDFD.js} +1 -1
- package/dist/{codemod-6CBQaT0x.js → codemod-C3a3Iz_w.js} +2 -2
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DZftFfXc.d.ts → compile-DonvwG9x.d.ts} +1 -1
- package/dist/{completion-CYRlOJzv.js → completion-6IshPaPd.js} +1 -1
- package/dist/{config-6iLK155o.js → config-C45X7mpm.js} +1 -1
- package/dist/{config-report-BLroaWCe.js → config-report-Bmo62RRr.js} +1 -1
- package/dist/convex/index.d.ts +2 -2
- package/dist/convex/index.js +2 -2
- package/dist/{core-BOeGWbcR.d.ts → core-9KbhurkH.d.ts} +1 -1
- package/dist/{core-BwVkrpsi.js → core-Dxkwz4xR.js} +2 -2
- package/dist/{create-DMCC5ZOi.d.ts → create-BQOQkYYg.d.ts} +4 -4
- package/dist/{create-DDUFG1ul.js → create-BRiRVNUO.js} +5 -4
- package/dist/{create-DYSYYiLr.d.ts → create-BzgDDamI.d.ts} +1 -1
- package/dist/{create-BezeYFcT.d.ts → create-DH4ZD0A7.d.ts} +2 -2
- package/dist/{create-C0R8omeF.js → create-Q0wF9Elt.js} +3 -3
- package/dist/delivery/index.d.ts +1 -1
- package/dist/{diff-DXRNcjpg.js → diff-3fpwo3UD.js} +1 -1
- package/dist/{diff-Bd1-VCe5.js → diff-BJv7I3GR.js} +2 -2
- package/dist/{doctor-CJcS0Mrq.js → doctor-Bz7s3JYD.js} +11 -11
- package/dist/{doctor-DYTgibLC.js → doctor-keoa9DpH.js} +2 -2
- package/dist/drizzle/index.d.ts +2 -2
- package/dist/elysia/index.d.ts +3 -3
- package/dist/elysia/index.js +1 -1
- package/dist/{evaluations-BgxEfPL7.d.ts → evaluations-OCm_Z-8V.d.ts} +1 -1
- package/dist/eve/index.d.ts +2 -2
- package/dist/eve/index.js +2 -2
- package/dist/express/index.d.ts +3 -3
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +3 -3
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-acq4dPX3.js → fetch-adapter-4EB3cLgB.js} +3 -2
- package/dist/{fetch-adapter-DCQ4pZxf.d.ts → fetch-adapter-BlL-ZhHq.d.ts} +2 -2
- package/dist/{gen-CH50v9VI.js → gen-Cf7nQsOb.js} +1 -1
- package/dist/{gen-gv_WHBIG.js → gen-DYF4LKUP.js} +1 -1
- package/dist/h3/index.d.ts +3 -3
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.d.ts +3 -3
- package/dist/hono/index.js +1 -1
- package/dist/{import-BlwuuZkr.js → import-CQ_kH_Ny.js} +1 -1
- package/dist/{index-Bt37QovT.d.ts → index-BqzpT-90.d.ts} +1 -1
- package/dist/{index-CruReRkB.d.ts → index-Do7FqHEr.d.ts} +1 -1
- package/dist/{index-B_I6N8Ju.d.ts → index-DuOF7OqS.d.ts} +2 -2
- package/dist/{index-D7xGi1LS.d.ts → index-tuR-kZoJ.d.ts} +4 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/{init-B62H9Kyx.js → init-DvkvbvZ_.js} +1 -1
- package/dist/{init-CalppFAI.js → init-kTFkEu8S.js} +3 -3
- package/dist/{instance-options-VPsNQsTH.d.ts → instance-options-Cq66kEeR.d.ts} +1 -1
- package/dist/{instance-snapshot-SX8zH_1t.js → instance-snapshot-Bi4-dJk0.js} +1 -1
- package/dist/{kernel-_QEUOSU0.js → kernel-CLEzDmbv.js} +3 -3
- package/dist/kysely/index.d.ts +2 -2
- package/dist/{login-dDb_8muO.js → login-9ycIcJZH.js} +1 -1
- package/dist/{login-MxQV1BLh.js → login-CM_etiLM.js} +3 -3
- package/dist/{manifest-DvDzxhy6.js → manifest-CCd-xrM3.js} +33 -33
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +3 -3
- package/dist/nest/index.d.ts +3 -3
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +9 -6
- package/dist/next/index.js +6 -4
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/openai/index.d.ts +2 -2
- package/dist/openai/index.js +3 -3
- package/dist/{openapi-DKePsnln.js → openapi-DA7FVG2F.js} +1 -1
- package/dist/{openapi-BkGtE5kX.js → openapi-QnnU2A1c.js} +2 -2
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +2 -2
- package/dist/{output-B2h-2g3F.js → output-KT0a3B3H.js} +1 -1
- package/dist/{ownership-MGHa5vfX.js → ownership-CeNOtQMV.js} +1 -1
- package/dist/pdp/index.d.ts +2 -2
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-D4F2p5J8.d.ts → permdock-CsrvbzHk.d.ts} +5 -0
- package/dist/{permdock-C1DN_7a-.js → permdock-DbAq8_Fp.js} +2 -1
- package/dist/{permissions-8N2yFsUM.js → permissions-Dz79qsFw.js} +1 -1
- package/dist/{policy-from-catalog-CUNlpgz0.js → policy-from-catalog-BtqfxytV.js} +1 -1
- package/dist/powersync-CWCirKAJ.js +1 -0
- package/dist/{powersync-Deim9O47.js → powersync-CWsN-QaK.js} +2 -2
- package/dist/{powersync-CB8RwcB4.js → powersync-DiqY3VBG.js} +5 -5
- package/dist/prisma/index.d.ts +1 -1
- package/dist/{protected-action-ua0cx5cW.d.ts → protected-action-CuG0xz4P.d.ts} +3 -3
- package/dist/{provider-D_hgjZRa.d.ts → provider-ihxuJbMi.d.ts} +1 -1
- package/dist/{pull-BxqVL4Es.js → pull-B4EhSqOG.js} +1 -1
- package/dist/pull-VzcECZ-R.js +1 -0
- package/dist/{push-D2SsRW0U.js → push-DYOI4bPf.js} +1 -1
- package/dist/{pushed-policy-BERO0x9O.js → pushed-policy-Dszouliu.js} +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react-native/index.d.ts +4 -4
- package/dist/{request-context-BPTi68z5.js → request-context-VjeXst1z.js} +1 -1
- package/dist/{resolve-names-BZQZRnMH.js → resolve-names-BIHnWL_L.js} +1 -1
- package/dist/{rls-DpoJ5gCg.js → rls-C7qXye9M.js} +1 -1
- package/dist/{rls-OPorg_2G.js → rls-CMFZWosz.js} +9 -9
- package/dist/{rpc-DdkbQVlT.js → rpc-BNIQwEB6.js} +1 -1
- package/dist/{rpc-D2LnFELm.d.ts → rpc-CYXICjM1.d.ts} +1 -1
- package/dist/{run-YCpANf1B.js → run-CMJX9x7b.js} +2 -2
- package/dist/run-D2e1tybu.js +1 -0
- package/dist/{run-ticket-94DOS9Cd.d.ts → run-ticket-BXYqQ9dy.d.ts} +1 -1
- package/dist/{saas-BEXnrH9H.js → saas-DHFfthXv.js} +2 -2
- package/dist/{scan-COvn7ZjN.js → scan-CSOkcNdl.js} +1 -1
- package/dist/{schema-BfSDo7Xj.js → schema-7pXCaRYB.js} +1 -1
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +1 -1
- package/dist/{server-types-ChzXWU4Y.d.ts → server-types-Bfl-IrzZ.d.ts} +6 -5
- package/dist/{skills-N2Hd8KN8.js → skills-DAjg-rgF.js} +1 -1
- package/dist/{skills-Ce4C2dq1.js → skills-DrX83QBK.js} +1 -1
- package/dist/solid/index.d.ts +2 -2
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +2 -2
- package/dist/{src-B8SQNsvw.js → src-Cop53_X1.js} +3 -2
- package/dist/{store-Dpg_fSNQ.d.ts → store-CRQ5VrWR.d.ts} +1 -1
- package/dist/{stores-C2A6KsxE.d.ts → stores-pEBMy94l.d.ts} +3 -3
- package/dist/supabase/middleware.d.ts +4 -4
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-zL7PC3RG.js → supabase-Cbl2orB2.js} +2 -2
- package/dist/{supabase-hook-BCSwK5x-.js → supabase-hook-BUcu3vPM.js} +3 -3
- package/dist/supabase-hook-QWphWBnG.js +1 -0
- package/dist/{supautils-7UES0i4a.js → supautils-a_253u1X.js} +5 -5
- package/dist/svelte/index.d.ts +3 -3
- package/dist/svelte/runtime.d.ts +2 -2
- package/dist/svelte/source.d.ts +3 -3
- package/dist/sveltekit/index.d.ts +3 -3
- package/dist/sveltekit/index.js +1 -1
- package/dist/{tables-DSX_Ma_n.js → tables-XrvffTMj.js} +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +1 -1
- package/dist/terminal/index.d.ts +2 -2
- package/dist/terminal/index.js +2 -2
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +6 -6
- package/dist/testing/saas/index.d.ts +1 -1
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +4 -4
- package/dist/trpc/index.js +2 -2
- package/dist/{types-C5p2hoBR.d.ts → types-C3C9ien9.d.ts} +2 -2
- package/dist/{types-Drs3OOAy.d.ts → types-DjGZAU64.d.ts} +2 -2
- package/dist/{types-D8JVDWOr.d.ts → types-DotXrris.d.ts} +1 -1
- package/dist/{types-DnzRZjEu.d.ts → types-MixnvXQ5.d.ts} +2 -2
- package/dist/{types-CMclYgSk.d.ts → types-zh4WGQcP.d.ts} +1 -1
- package/dist/{usage-BcAqmjkj.js → usage-DHsqp4lN.js} +1 -1
- package/dist/{usage-CUnw73Y-.js → usage-DPbdI3Vi.js} +2 -2
- package/dist/usage-dmSjKx-Z.js +1 -0
- package/dist/{verify-V08pirDB.js → verify-C0jGJrmb.js} +5 -5
- package/dist/vue/index.d.ts +2 -2
- package/dist/workflow/index.d.ts +1 -1
- package/dist/workflow/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +2 -2
- package/dist/{wrap-CE5lxje7.d.ts → wrap-EQ6Or2Hi.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/powersync-Cs1E04s6.js +0 -1
- package/dist/pull-BLT25Y5C.js +0 -1
- package/dist/run-CW0QsyA9.js +0 -1
- package/dist/supabase-hook-7XxWGHQF.js +0 -1
- package/dist/usage-BdIS9NfN.js +0 -1
package/dist/a2a/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { D as Policy, dr as AuthorizationDetail, yr as Principal } from "../poli
|
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { m as ApprovalStore } from "../types-BzxA2OAD.js";
|
|
4
4
|
import { a as ProblemDetails } from "../errors-OTE9u4Wk.js";
|
|
5
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
5
|
+
import { t as InstanceOptions } from "../instance-options-Cq66kEeR.js";
|
|
6
6
|
//#region src/a2a/types.d.ts
|
|
7
7
|
type A2aAuth = {
|
|
8
8
|
readonly clientId?: string;
|
package/dist/a2a/index.js
CHANGED
|
@@ -5,10 +5,10 @@ import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "..
|
|
|
5
5
|
import { t as canonicalJson } from "../canonical-json-DwilZ1iB.js";
|
|
6
6
|
import { t as bytesToBase64Url } from "../sha256-C-4WXKIu.js";
|
|
7
7
|
import { n as resourceRef } from "../resource-ref-CaS9yVPi.js";
|
|
8
|
-
import { i as challengeScope, l as withApp, o as hasScope, s as scopesReaching } from "../permdock-
|
|
8
|
+
import { i as challengeScope, l as withApp, o as hasScope, s as scopesReaching } from "../permdock-DbAq8_Fp.js";
|
|
9
9
|
import { p as wwwAuthenticate, r as bearerChallenge } from "../problem-BWP1l86g.js";
|
|
10
|
-
import { r as instanceOptions } from "../build-instance-
|
|
11
|
-
import { n as createAgentKernel } from "../kernel-
|
|
10
|
+
import { r as instanceOptions } from "../build-instance-CkRKgjSj.js";
|
|
11
|
+
import { n as createAgentKernel } from "../kernel-CLEzDmbv.js";
|
|
12
12
|
import { n as delegationFrom } from "../delegation-input-DcXhiMkf.js";
|
|
13
13
|
//#region src/a2a/create.ts
|
|
14
14
|
function firstScheme(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as listSourceFiles } from "./files-BSjrtIHw.js";
|
|
2
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
2
|
+
import { t as DOCS_BASE } from "./manifest-CCd-xrM3.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { relative } from "node:path";
|
|
5
5
|
//#region src/cli/adoption-scan.ts
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-De8cw3MW.js";
|
|
2
|
-
import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-
|
|
2
|
+
import { a as createPermDock, c as ModelMap, d as StepUp, i as OperationVerdict, l as ToolBinding, n as AgentPermDockOptions, o as AgentAdapterOptions, r as GatewayOptions, s as DecideToolOptions, t as AgentPermDock, u as ToolMap } from "../create-BQOQkYYg.js";
|
|
3
3
|
export { type AgentAdapterOptions, type AgentPermDock, type AgentPermDockOptions, type DecideToolOptions, type DeniedText, type DeniedTextEvent, type GatewayOptions, type ModelMap, type OperationVerdict, type StepUp, type ToolBinding, type ToolMap, createPermDock };
|
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as createPermDock } from "../create-
|
|
1
|
+
export { n as createPermDock } from "../create-Q0wF9Elt.js";
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { n as DeniedTextEvent, t as DeniedText } from "../denied-text-De8cw3MW.js";
|
|
4
|
-
import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
4
|
+
import { d as StepUp, o as AgentAdapterOptions, t as AgentPermDock } from "../create-BQOQkYYg.js";
|
|
5
5
|
//#region src/ai-sdk/create.d.ts
|
|
6
6
|
type AiSdkContext = {
|
|
7
7
|
readonly runtimeContext?: unknown;
|
package/dist/ai-sdk/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
2
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-ynga1EQy.js";
|
|
3
|
-
import { l as withApp } from "../permdock-
|
|
4
|
-
import { r as stepUpText, t as approvalTokenOf } from "../kernel-
|
|
5
|
-
import { t as agentRuntime } from "../create-
|
|
3
|
+
import { l as withApp } from "../permdock-DbAq8_Fp.js";
|
|
4
|
+
import { r as stepUpText, t as approvalTokenOf } from "../kernel-CLEzDmbv.js";
|
|
5
|
+
import { t as agentRuntime } from "../create-Q0wF9Elt.js";
|
|
6
6
|
//#region src/ai-sdk/create.ts
|
|
7
7
|
const APPROVAL_STATUSES = /* @__PURE__ */ new Set([
|
|
8
8
|
"approved",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as DEFAULT_APPROVAL_TTL, a as ApprovalDelegationSource, b as escalationOpenAt, c as ApprovalListQuery, d as ApprovalResumeFailureCause, f as ApprovalSignature, g as ApprovalVerdict, h as ApprovalSubjectSummary, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, n as ApprovalApprovers, o as ApprovalInspectResult, p as ApprovalStatus, r as ApprovalCancelMeta, s as ApprovalListFilter, t as APPROVAL_HEADER, u as ApprovalRequest, v as approvalQuorum, y as approverRelationKey } from "../types-BzxA2OAD.js";
|
|
2
2
|
import { n as ApprovalErrorCode, r as isApprovalError, t as ApprovalError } from "../errors-CHwoRRpB.js";
|
|
3
3
|
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, o as AccessReviewItemStatus, r as AccessReviewItem, s as AccessReviewStatus, t as AccessReview } from "../types-DZwEOsK1.js";
|
|
4
|
-
import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-
|
|
4
|
+
import { $ as pageAccessReviewItems, A as SignApprovalOptions, B as IdempotentResponse, C as ApproverRelationsOptions, D as approvalView, E as approvalEntityTag, F as ApprovalsHandlerOptions, G as ApproverDirectory, H as idempotencyRecordKey, I as approvalsHandler, J as matchDelegation, K as ApprovalDelegationMatch, L as IdempotencyRecord, M as signApproval, N as APPROVAL_REQUEST_SCHEMA, O as ApprovalSignatureClaims, P as parseApprovalRequest, Q as memoryAccessReviewStore, R as IdempotencyStore, S as vouchApproval, T as ApprovalView, U as matchesIdempotencyRecord, V as idempotencyRecord, W as memoryIdempotencyStore, X as parseApprovalDelegation, Y as memoryApprovalDelegationSource, Z as MemoryAccessReviewStore, _ as resolveApproval, a as approverPermissions, at as AccessReviewErrorCode, b as storedApprovalToken, c as decodeApprovalCursor, ct as accessReviewerEligible, d as pageApprovals, dt as accessReviewsHandler, et as AccessReviewHolder, f as cancelApprovals, g as requestApproval, h as readApprovalHeader, i as memoryApprovalStore, it as AccessReviewError, j as approvalSignatureClaims, k as ApprovalSignatureEntry, l as encodeApprovalCursor, lt as decideAccessReviewItem, m as inspectApproval, n as applyApprovalVerdict, nt as StartAccessReviewInput, o as ApprovalCursorPosition, ot as isAccessReviewError, p as consumeApproval, q as MatchDelegationOptions, r as assertApprover, rt as startAccessReview, s as approvalPageSize, st as AccessReviewVerdict, t as MemoryApprovalStore, tt as AccessReviewOptions, u as listAllApprovals, ut as AccessReviewsHandlerOptions, v as resumeDecision, w as approverRelations, x as summarizeSubject, y as resumeFromHeader, z as IdempotentCall } from "../index-Do7FqHEr.js";
|
|
5
5
|
import { t as approvalFingerprint } from "../token-D6pWn8Uj.js";
|
|
6
6
|
export { APPROVAL_HEADER, APPROVAL_REQUEST_SCHEMA, type AccessReview, type AccessReviewDecision, AccessReviewError, type AccessReviewErrorCode, type AccessReviewHolder, type AccessReviewItem, type AccessReviewItemPage, type AccessReviewItemQuery, type AccessReviewItemStatus, type AccessReviewOptions, type AccessReviewStatus, type AccessReviewStore, type AccessReviewVerdict, type AccessReviewsHandlerOptions, type ApprovalApprovers, type ApprovalCancelMeta, type ApprovalCursorPosition, type ApprovalDelegation, type ApprovalDelegationMatch, type ApprovalDelegationSource, ApprovalError, type ApprovalErrorCode, type ApprovalInspectResult, type ApprovalListFilter, type ApprovalListQuery, type ApprovalPage, type ApprovalRequest, type ApprovalResumeFailureCause, type ApprovalSignature, type ApprovalSignatureClaims, type ApprovalSignatureEntry, type ApprovalStatus, type ApprovalStore, type ApprovalSubjectSummary, type ApprovalVerdict, type ApprovalView, type ApprovalsHandlerOptions, type ApproverDirectory, type ApproverRelationsOptions, DEFAULT_APPROVAL_TTL, type IdempotencyRecord, type IdempotencyStore, type IdempotentCall, type IdempotentResponse, type MatchDelegationOptions, type MemoryAccessReviewStore, type MemoryApprovalStore, type SignApprovalOptions, type StartAccessReviewInput, accessReviewerEligible, accessReviewsHandler, applyApprovalVerdict, approvalEntityTag, approvalFingerprint, approvalPageSize, approvalQuorum, approvalSignatureClaims, approvalView, approvalsHandler, approverPermissions, approverRelationKey, approverRelations, assertApprover, cancelApprovals, consumeApproval, decideAccessReviewItem, decodeApprovalCursor, encodeApprovalCursor, escalationOpenAt, idempotencyRecord, idempotencyRecordKey, inspectApproval, isAccessReviewError, isApprovalError, listAllApprovals, matchDelegation, matchesIdempotencyRecord, memoryAccessReviewStore, memoryApprovalDelegationSource, memoryApprovalStore, memoryIdempotencyStore, pageAccessReviewItems, pageApprovals, parseApprovalDelegation, parseApprovalRequest, readApprovalHeader, requestApproval, resolveApproval, resumeDecision, resumeFromHeader, signApproval, startAccessReview, storedApprovalToken, summarizeSubject, vouchApproval };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as arazzoFindings } from "./src-
|
|
1
|
+
import { _ as arazzoFindings } from "./src-Cop53_X1.js";
|
|
2
2
|
import { c as missingInput } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { i as readJsonFile } from "./files-BSjrtIHw.js";
|
|
4
4
|
import { t as ARAZZO_REPORT_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
5
5
|
import { a as loadModule, s as pickNamed, t as asPermissionTree } from "./load-BaEamml-.js";
|
|
6
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
+
import { t as DOCS_BASE } from "./manifest-CCd-xrM3.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
8
|
import { resolve } from "node:path";
|
|
9
9
|
//#region src/cli/arazzo.ts
|
|
@@ -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-BC3uLIZy.js")).runArazzo({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
doc: given(flags.doc),
|
package/dist/astro/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
|
|
4
|
-
import { a as PermDock } from "../permdock-
|
|
5
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
6
|
-
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-
|
|
4
|
+
import { a as PermDock } from "../permdock-CsrvbzHk.js";
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-Bfl-IrzZ.js";
|
|
6
|
+
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-BlL-ZhHq.js";
|
|
7
7
|
import { APIContext, MiddlewareHandler } from "astro";
|
|
8
8
|
//#region src/astro/create.d.ts
|
|
9
9
|
type AstroPermDockOptions<TUser = unknown> = FetchAdapterOptions<APIContext, TUser>;
|
package/dist/astro/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.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-4EB3cLgB.js";
|
|
3
3
|
//#region src/astro/create.ts
|
|
4
4
|
const route = {
|
|
5
5
|
context: (context) => context,
|
package/dist/authzen/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as Policy, hr as Delegation, lr as Actor, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { m as ApprovalStore } from "../types-BzxA2OAD.js";
|
|
3
3
|
import { a as ProblemDetails } from "../errors-OTE9u4Wk.js";
|
|
4
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
5
|
-
import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-
|
|
4
|
+
import { t as InstanceOptions } from "../instance-options-Cq66kEeR.js";
|
|
5
|
+
import { a as evaluationsSemantic, n as EvaluationsSemantic, r as evaluateBatch, t as EVALUATIONS_SEMANTICS } from "../evaluations-OCm_Z-8V.js";
|
|
6
6
|
//#region src/authzen/map.d.ts
|
|
7
7
|
type AuthzenEntity = {
|
|
8
8
|
readonly type?: unknown;
|
package/dist/authzen/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { n as resourceRef } from "../resource-ref-CaS9yVPi.js";
|
|
|
7
7
|
import { n as readBodyText, t as MAX_BODY_BYTES } from "../body-text-DQhcmqdY.js";
|
|
8
8
|
import { r as hasCredentials } from "../http-DKLXrFGk.js";
|
|
9
9
|
import { d as unauthenticatedProblem, l as problemResponse, o as methodNotAllowed } from "../problem-BWP1l86g.js";
|
|
10
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
10
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-CkRKgjSj.js";
|
|
11
11
|
import { a as evaluationReasons, c as withRequestId, g as wireResourceId, h as permissionLookup, i as evaluateBatch, m as itemResourceData, n as applyApprovalResume, r as authzenMetadata, s as evaluationsSemantic, t as EVALUATIONS_SEMANTICS } from "../evaluations-CNMVJVD6.js";
|
|
12
12
|
//#region src/authzen/map.ts
|
|
13
13
|
const UNKNOWN = {
|
|
@@ -2,9 +2,9 @@ import { $n as DeniedDecision, D as Policy, Dn as ApproverInput, G as Credential
|
|
|
2
2
|
import { f as PermissionTree, u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { i as OperationEffect } from "../operations-Ci_rT6Uo.js";
|
|
4
4
|
import { i as ApprovalPolicySource } from "../approval-policies-CKlByf5o.js";
|
|
5
|
-
import { A as PermissionState, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, k as PermissionCheck, o as PermDockOptions, w as InstanceCache } from "../permdock-
|
|
5
|
+
import { A as PermissionState, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, k as PermissionCheck, o as PermDockOptions, w as InstanceCache } from "../permdock-CsrvbzHk.js";
|
|
6
6
|
import { m as ApprovalStore } from "../types-BzxA2OAD.js";
|
|
7
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
7
|
+
import { t as InstanceOptions } from "../instance-options-Cq66kEeR.js";
|
|
8
8
|
import { c as AccessReviewStore } from "../types-DZwEOsK1.js";
|
|
9
9
|
import { i as SupabaseRpcCaller } from "../postgrest-CWCCbaxm.js";
|
|
10
10
|
import { a as CatalogDocument } from "../types-7Vlz1Wi2.js";
|
|
@@ -14,9 +14,9 @@ import { n as asApprover } from "../approval-normalize-hlfO9BJv.js";
|
|
|
14
14
|
import { n as isOperationEffect } from "../operations-Bm9HFecz.js";
|
|
15
15
|
import { r as isSubject, t as anonymousSubject } from "../subject-C7RddW0G.js";
|
|
16
16
|
import { I as decisionTenant } from "../evaluate-Dcq_U2TV.js";
|
|
17
|
-
import { _ as claimsFirst } from "../instance-snapshot-
|
|
17
|
+
import { _ as claimsFirst } from "../instance-snapshot-Bi4-dJk0.js";
|
|
18
18
|
import { a as permissionStates } from "../checks-fyDOhcz0.js";
|
|
19
|
-
import { a as delegatedScopeMap, s as scopesReaching } from "../permdock-
|
|
19
|
+
import { a as delegatedScopeMap, s as scopesReaching } from "../permdock-DbAq8_Fp.js";
|
|
20
20
|
import { s as ApprovalError } from "../types-CcUXciSj.js";
|
|
21
21
|
import { t as applyApprovalVerdict } from "../store-CSOsXd5s.js";
|
|
22
22
|
import { i as linkPolicyViolation, n as capabilityOf, r as capabilitySubject } from "../capability-zN6T9fxe.js";
|
|
@@ -26,7 +26,7 @@ import { t as AccessReviewError } from "../errors-BDUwg2qC.js";
|
|
|
26
26
|
import { t as parseApprovalRequest } from "../parse-request-DOBVaeiQ.js";
|
|
27
27
|
import { n as parseApprovalHeader } from "../approval-header-8QV6MU4H.js";
|
|
28
28
|
import { i as snapshotTag } from "../snapshot-cache-B66h7FBK.js";
|
|
29
|
-
import { t as buildInstance } from "../build-instance-
|
|
29
|
+
import { t as buildInstance } from "../build-instance-CkRKgjSj.js";
|
|
30
30
|
import { n as NO_GRANT } from "../decision-CaG5_eNJ.js";
|
|
31
31
|
import { t as policyRowConditionKeys } from "../row-conditions-BAGHOmVq.js";
|
|
32
32
|
import { n as subscribersFor } from "../audience-BUonniPx.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { l as withApp } from "./permdock-
|
|
2
|
+
import { l as withApp } from "./permdock-DbAq8_Fp.js";
|
|
3
3
|
import { t as composeWraps } from "./wrap-C5PWzgkq.js";
|
|
4
|
-
import { r as instanceOptions } from "./build-instance-
|
|
4
|
+
import { r as instanceOptions } from "./build-instance-CkRKgjSj.js";
|
|
5
5
|
import { f as invalidSignatureResponse } from "./evaluations-CNMVJVD6.js";
|
|
6
6
|
import { n as tenantScope } from "./adapter-context-OHikyRqV.js";
|
|
7
|
-
import { t as createPermDock } from "./create-
|
|
7
|
+
import { t as createPermDock } from "./create-BRiRVNUO.js";
|
|
8
8
|
//#region src/server/bind.ts
|
|
9
9
|
/**
|
|
10
10
|
* The server kernel with the subject and actor callbacks reading the context
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Q as Intent, xr as Subject } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
3
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
3
|
+
import { t as InstanceOptions } from "./instance-options-Cq66kEeR.js";
|
|
4
4
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
5
|
-
import { n as PermDockWrap } from "./wrap-
|
|
6
|
-
import { o as OtelWrap } from "./types-
|
|
7
|
-
import { r as PdpFactory } from "./types-
|
|
8
|
-
import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-
|
|
5
|
+
import { n as PermDockWrap } from "./wrap-EQ6Or2Hi.js";
|
|
6
|
+
import { o as OtelWrap } from "./types-DotXrris.js";
|
|
7
|
+
import { r as PdpFactory } from "./types-zh4WGQcP.js";
|
|
8
|
+
import { S as TenantOption, _ as WebBotAuthVerifier, t as DeniedResponse } from "./server-types-Bfl-IrzZ.js";
|
|
9
9
|
//#region src/server/bind.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* The options of every framework adapter; `TContext` is what its callbacks
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as nonEmptyOr } from "./output-
|
|
1
|
+
import { a as nonEmptyOr } from "./output-KT0a3B3H.js";
|
|
2
2
|
import { t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
3
3
|
import { n as isIdentifier, t as emitPolicyModule } from "./policy-module-xym9fnSq.js";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -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-BOZN1P2Y.js");
|
|
20
20
|
return runCasbinImport({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
model: given(flags.model),
|
package/dist/catalog/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import { n as declaredRoleNames } from "../policy-CaAME-Rh.js";
|
|
|
7
7
|
import { i as hostedGrantDrops, n as codeApprovals, r as declaredGrantee, t as checkHostedGrant } from "../hosted-C2Pmhy2x.js";
|
|
8
8
|
import { n as rowConditionKeys, t as parseCatalog } from "../parse-CXTT7hBq.js";
|
|
9
9
|
import { t as operationFindings } from "../operation-findings-CVwJHEu_.js";
|
|
10
|
-
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-
|
|
11
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
10
|
+
import { n as resourceSchemaFromJson, t as policyFromCatalog } from "../policy-from-catalog-BtqfxytV.js";
|
|
11
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-Dszouliu.js";
|
|
12
12
|
//#region 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.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-
|
|
1
|
+
import { a as ChatCommandResult, c as createPermDock, d as SubjectFromChatOptions, f as isChatAuthor, i as ChatCommandContext, l as ChatAuthor, n as ChatActionResult, o as ChatPermDock, p as subjectFromChat, r as ChatCommand, s as ChatPermDockOptions, t as ChatAction, u as ChatPrincipal } from "../create-BzgDDamI.js";
|
|
2
2
|
export { type ChatAction, type ChatActionResult, type ChatAuthor, type ChatCommand, type ChatCommandContext, type ChatCommandResult, type ChatPermDock, type ChatPermDockOptions, type ChatPrincipal, type SubjectFromChatOptions, createPermDock, isChatAuthor, subjectFromChat };
|
package/dist/chat/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as compact } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { n as freezeDeep } from "../freeze-jjan0lCv.js";
|
|
3
3
|
import { n as loadPrincipalByIdentity } from "../principal-source-C6N60GtM.js";
|
|
4
4
|
import { f as nowMillis } from "../time-nR1JesoH.js";
|
|
5
|
-
import { l as withApp, t as getPermDock } from "../permdock-
|
|
5
|
+
import { l as withApp, t as getPermDock } from "../permdock-DbAq8_Fp.js";
|
|
6
6
|
import { c as isApprovalError } from "../types-CcUXciSj.js";
|
|
7
7
|
import { a as requestApproval, o as resolveApproval, s as resumeDecision } from "../helpers-D-MXwkOF.js";
|
|
8
8
|
import { t as approvalPrompt } from "../approval-prompt-B8hQY69x.js";
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ApprovalUrl, t as ApprovalPrompt } from "../approval-prompt-CQFiO1KE.js";
|
|
2
|
-
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-
|
|
2
|
+
import { l as ChatAuthor, n as ChatActionResult, o as ChatPermDock } from "../create-BzgDDamI.js";
|
|
3
3
|
import { n as ChatTransport } from "../types-p8mhWTcR.js";
|
|
4
4
|
import { ActionEvent, Author, CardElement } from "chat";
|
|
5
5
|
//#region src/chat-sdk/author.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
2
|
+
import { a as PermDock } from "../permdock-CsrvbzHk.js";
|
|
3
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-BQOQkYYg.js";
|
|
4
4
|
//#region src/claude-agent/create.d.ts
|
|
5
5
|
/** Structural `McpServerProvenance` from `@anthropic-ai/claude-agent-sdk`. */
|
|
6
6
|
type ClaudeMcpServer = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "../compact-CAf557ZB.js";
|
|
2
|
-
import { l as withApp } from "../permdock-
|
|
3
|
-
import { t as agentRuntime } from "../create-
|
|
2
|
+
import { l as withApp } from "../permdock-DbAq8_Fp.js";
|
|
3
|
+
import { t as agentRuntime } from "../create-Q0wF9Elt.js";
|
|
4
4
|
//#region src/claude-agent/create.ts
|
|
5
5
|
const MCP_PREFIX = "mcp__";
|
|
6
6
|
function asInput(input) {
|
package/dist/clerk/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as CustomRoleSource, xr as Subject, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { s as RemotePdpCache } from "../types-
|
|
3
|
+
import { s as RemotePdpCache } from "../types-zh4WGQcP.js";
|
|
4
4
|
import { t as ClaimsMap } from "../claims-map-D1Pb5oRq.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
//#region src/clerk/types.d.ts
|
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-DJZrPjRi.js"),
|
|
13
13
|
import("../signals-B1vHR3fN.js"),
|
|
14
|
-
import("../run-
|
|
14
|
+
import("../run-D2e1tybu.js"),
|
|
15
15
|
import("../style-DblOtSga.js")
|
|
16
16
|
]);
|
|
17
17
|
const signals = trapSignals();
|
package/dist/cli/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as catalogPath } from "../catalog-path-CnI0XTFK.js";
|
|
2
2
|
import { t as defineConfig } from "../config-D2oXUwos.js";
|
|
3
|
-
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
3
|
+
import { n as parsePushedPolicy, r as pushedPolicy, t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-Dszouliu.js";
|
|
4
4
|
import { c as parseGrantsMarker, l as parseHookMarker } from "../markers-BeHZ4x9Q.js";
|
|
5
|
-
import { t as run } from "../run-
|
|
5
|
+
import { t as run } from "../run-CMJX9x7b.js";
|
|
6
6
|
//#region src/cli/token-schemas.ts
|
|
7
7
|
const ID = {
|
|
8
8
|
type: "string",
|
|
@@ -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-DYOI4bPf.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-VzcECZ-R.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as rel } from "./files-BSjrtIHw.js";
|
|
3
3
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
4
|
-
import { n as ROOT } from "./manifest-
|
|
4
|
+
import { n as ROOT } from "./manifest-CCd-xrM3.js";
|
|
5
5
|
import { i as refuseDirty, t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
6
6
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
7
7
|
import { basename, extname, join, resolve } from "node:path";
|
|
@@ -7,7 +7,7 @@ const codemod = defineLeaf({
|
|
|
7
7
|
description: "The release to migrate to (0.5)",
|
|
8
8
|
required: true,
|
|
9
9
|
async complete() {
|
|
10
|
-
return (await import("./codemod-
|
|
10
|
+
return (await import("./codemod-B-duJDFD.js")).codemodVersions();
|
|
11
11
|
}
|
|
12
12
|
}, {
|
|
13
13
|
name: "paths",
|
|
@@ -22,7 +22,7 @@ const codemod = defineLeaf({
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
async run(ctx, { flags, args, rest }) {
|
|
25
|
-
return (await import("./codemod-
|
|
25
|
+
return (await import("./codemod-B-duJDFD.js")).runCodemod({
|
|
26
26
|
cwd: ctx.cwd,
|
|
27
27
|
version: args["version"],
|
|
28
28
|
paths: rest,
|
package/dist/compile/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as GraphSqlPart, r as RelationsMapping, t as GraphSql } from "../graph-sql-BwFC4Qjs.js";
|
|
2
|
-
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-
|
|
2
|
+
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-DonvwG9x.js";
|
|
3
3
|
export { type CompileWhereOptions, type CompiledCompare, type CompiledExists, type CompiledSql, type CompiledWhere, type GraphSql, type GraphSqlPart, type MembershipTable, type MembershipsMapping, type RelationsMapping, compileWhere, escapeLike };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Er as Condition, Sn as Scope, qt as Instant, xr as Subject } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { b as ResourceNode } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { f as WhereResult } from "./permdock-
|
|
3
|
+
import { f as WhereResult } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
import { r as RelationsMapping, t as GraphSql } from "./graph-sql-BwFC4Qjs.js";
|
|
5
5
|
//#region src/conditions/compile.d.ts
|
|
6
6
|
type MembershipTable = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BhRkoNS7.js";
|
|
2
2
|
import { a as GLOBAL_FLAGS, i as suggestion } from "./args-iafbHiXn.js";
|
|
3
|
-
import { a as resolve } from "./manifest-
|
|
3
|
+
import { a as resolve } from "./manifest-CCd-xrM3.js";
|
|
4
4
|
import { t as defineLeaf } from "./command-L8EstFNm.js";
|
|
5
5
|
//#region 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-Bmo62RRr.js");
|
|
14
14
|
return runConfig({
|
|
15
15
|
cwd: ctx.cwd,
|
|
16
16
|
config: ctx.config,
|
|
@@ -3,7 +3,7 @@ import { r as CONFIG_REPORT_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
|
3
3
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
4
4
|
import { n as guessPermissions, t as barrelFile } from "./collect-DN_x7hvV.js";
|
|
5
5
|
import "./sources-C4vkzZJV.js";
|
|
6
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
+
import { t as DOCS_BASE } from "./manifest-CCd-xrM3.js";
|
|
7
7
|
import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-DcJABbLW.js";
|
|
8
8
|
//#region src/cli/config-report.ts
|
|
9
9
|
function configReport(input) {
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-CsrvbzHk.js";
|
|
4
4
|
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-OTE9u4Wk.js";
|
|
5
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
5
|
+
import { t as InstanceOptions } from "../instance-options-Cq66kEeR.js";
|
|
6
6
|
//#region src/convex/types.d.ts
|
|
7
7
|
type ConvexContextLike = {
|
|
8
8
|
readonly auth?: {
|
package/dist/convex/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
2
|
import { n as PermDockValidationError } from "../validation-error-CYg2kJEw.js";
|
|
3
3
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-ynga1EQy.js";
|
|
4
|
-
import { l as withApp } from "../permdock-
|
|
5
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
4
|
+
import { l as withApp } from "../permdock-DbAq8_Fp.js";
|
|
5
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-CkRKgjSj.js";
|
|
6
6
|
import { n as tenantScope, t as actorFrom } from "../adapter-context-OHikyRqV.js";
|
|
7
7
|
//#region src/convex/create.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as Policy, Yn as Decision, pr as CustomRole, vr as Membership } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { f as WhereResult, o as PermDockOptions } from "./permdock-
|
|
3
|
+
import { f as WhereResult, o as PermDockOptions } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
//#region src/testing/policy-matrix.d.ts
|
|
5
5
|
type MatrixOutcome = "granted" | "denied" | "approval-required";
|
|
6
6
|
type MatrixCell = MatrixOutcome | {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as memoryCustomRoleSource } from "./src-
|
|
1
|
+
import { A as memoryCustomRoleSource } from "./src-Cop53_X1.js";
|
|
2
2
|
import { c as listPermissions } from "./permission-registry-B8tYxPIt.js";
|
|
3
3
|
import { d as scopeList } from "./scopes-BSdYaGHs.js";
|
|
4
4
|
import { y as membershipsClaim } from "./evaluate-Dcq_U2TV.js";
|
|
5
5
|
import { n as parseSnapshot } from "./snapshot-DHPih65J.js";
|
|
6
6
|
import { n as fromSnapshot } from "./from-snapshot-DHnb8Fh4.js";
|
|
7
|
-
import { t as getPermDock } from "./permdock-
|
|
7
|
+
import { t as getPermDock } from "./permdock-DbAq8_Fp.js";
|
|
8
8
|
import "./budget-BBCPDOGP.js";
|
|
9
9
|
import { c as quoteSqlTable, n as defaultSqlCommand, o as quoteSqlIdent, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
10
10
|
//#region src/testing/policy-matrix.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, Yn as Decision, hr as Delegation, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { t as Operation } from "./operations-Ci_rT6Uo.js";
|
|
4
|
-
import { a as PermDock } from "./permdock-
|
|
4
|
+
import { a as PermDock } from "./permdock-CsrvbzHk.js";
|
|
5
5
|
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
6
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
6
|
+
import { t as InstanceOptions } from "./instance-options-Cq66kEeR.js";
|
|
7
7
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
9
|
-
import { o as OtelWrap } from "./types-
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-EQ6Or2Hi.js";
|
|
9
|
+
import { o as OtelWrap } from "./types-DotXrris.js";
|
|
10
10
|
import { t as DeniedText } from "./denied-text-De8cw3MW.js";
|
|
11
11
|
//#region src/agent/step-up.d.ts
|
|
12
12
|
/**
|
|
@@ -3,14 +3,14 @@ import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
|
3
3
|
import { n as problemDetails } from "./problem-details-CLDgX1KV.js";
|
|
4
4
|
import { c as listPermissions } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { n as resourceRef } from "./resource-ref-CaS9yVPi.js";
|
|
6
|
-
import { i as challengeScope, l as withApp } from "./permdock-
|
|
6
|
+
import { i as challengeScope, l as withApp } from "./permdock-DbAq8_Fp.js";
|
|
7
7
|
import { r as hasCredentials } from "./http-DKLXrFGk.js";
|
|
8
8
|
import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-BWP1l86g.js";
|
|
9
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
9
|
+
import { n as resolveOrNull } from "./build-instance-CkRKgjSj.js";
|
|
10
10
|
import { t as LOAD_FAILED } from "./decision-CaG5_eNJ.js";
|
|
11
11
|
import { l as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-CNMVJVD6.js";
|
|
12
12
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-OHikyRqV.js";
|
|
13
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
13
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-VjeXst1z.js";
|
|
14
14
|
import { n as decideSet, r as permissionList } from "./decide-set-DXEPepY1.js";
|
|
15
15
|
//#region src/server/kernel-problems.ts
|
|
16
16
|
const NOT_DELEGATED = freezeDeep({
|
|
@@ -304,7 +304,8 @@ function createPermDock(policy, given) {
|
|
|
304
304
|
const getSnapshot = async (request, query = {}) => {
|
|
305
305
|
return (await getPermDock(request, query.tenant === void 0 ? void 0 : { tenant: query.tenant })).snapshot(compact({
|
|
306
306
|
include: query.include,
|
|
307
|
-
tenants: query.tenants
|
|
307
|
+
tenants: query.tenants,
|
|
308
|
+
omitAssignable: query.omitAssignable
|
|
308
309
|
}));
|
|
309
310
|
};
|
|
310
311
|
const deps = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $n as DeniedDecision, D as Policy, Jn as ApprovalRequiredDecision, N as PolicyVocabulary, tr as GrantedDecision, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { t as Operation } from "./operations-Ci_rT6Uo.js";
|
|
3
|
-
import { _ as PrincipalSource, a as PermDock, o as PermDockOptions } from "./permdock-
|
|
3
|
+
import { _ as PrincipalSource, a as PermDock, o as PermDockOptions } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
import { m as ApprovalStore, p as ApprovalStatus } from "./types-BzxA2OAD.js";
|
|
5
5
|
import { n as ApprovalErrorCode } from "./errors-CHwoRRpB.js";
|
|
6
6
|
import { t as ApprovalPrompt } from "./approval-prompt-CQFiO1KE.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, Xn as Denial, Yn as Decision, _t as TokenSigner, qt as Instant, sn as AuthEvent, vt as TokenVerifier, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { _ as PrincipalSource, a as PermDock, n as DecideOptions, o as PermDockOptions } from "./permdock-
|
|
3
|
+
import { _ as PrincipalSource, a as PermDock, n as DecideOptions, o as PermDockOptions } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
5
5
|
import { a as AutomationSource } from "./automation-CpOk7Tlu.js";
|
|
6
6
|
import { n as ApprovalWaiter } from "./waiter-BjVI_Byg.js";
|
|
7
|
-
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-
|
|
7
|
+
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-BXYqQ9dy.js";
|
|
8
8
|
//#region src/workflow/create.d.ts
|
|
9
9
|
type WorkflowPermDockOptions = PermDockOptions & {
|
|
10
10
|
/** Signs the run tickets `start` mints. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
3
|
import { o as deniedFor } from "./where-scope-BAyOsPQW.js";
|
|
4
|
-
import { l as withApp } from "./permdock-
|
|
4
|
+
import { l as withApp } from "./permdock-DbAq8_Fp.js";
|
|
5
5
|
import { t as composeWraps } from "./wrap-C5PWzgkq.js";
|
|
6
|
-
import { r as instanceOptions } from "./build-instance-
|
|
7
|
-
import { n as createAgentKernel } from "./kernel-
|
|
6
|
+
import { r as instanceOptions } from "./build-instance-CkRKgjSj.js";
|
|
7
|
+
import { n as createAgentKernel } from "./kernel-CLEzDmbv.js";
|
|
8
8
|
//#region src/agent/create.ts
|
|
9
9
|
function modelRow(modelId) {
|
|
10
10
|
return { id: modelId };
|
package/dist/delivery/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { dn as DeliveryChannel, hn as EmailCategory, pn as DeliveryFailureCause } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-CQFiO1KE.js";
|
|
3
3
|
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-p8mhWTcR.js";
|
|
4
|
-
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-
|
|
4
|
+
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-BqzpT-90.js";
|
|
5
5
|
export { type ApprovalPrompt, type ApprovalUrl, type Audience, type AudienceOptions, CONNECTOR_KINDS, CONNECTOR_SCHEMA, type ChatMessage, type ChatTransport, type Connector, type ConnectorIssue, type ConnectorKind, type DeliverOptions, type DeliveryChannel, type DeliveryFailureCause, type DeliveryMessages, type DeliveryPermDock, type DeliveryPermDockOptions, type DeliveryReport, type DeliveryResult, type DeliveryTarget, type DeliveryTransport, type DeliveryTransports, type EmailCategory, type EmailMessage, type EmailTransport, type EmailUnsubscribe, type MemoryDelivery, type MemoryDeliveryTransport, type MemoryDeliveryTransportOptions, type OutgoingEmail, type ParseConnectorResult, type Recipient, type SiemDestination, type SubscriberEvent, type TransportItem, type TransportMessages, type TransportOptions, type WebhookMessage, type WebhookTransport, type WebhookTransportOptions, approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, parseConnector, subscribersFor, webhookTransport };
|
|
@@ -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-BJv7I3GR.js")).runDiff({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
sources: [args["before"], args["after"]].filter((value) => value !== void 0),
|