UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 4.63 kB
import{r as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK,s as normalizeExecApprovalsInternal,u as resolveExecApprovalsDisplayPath}from"./exec-approvals-config-B_i2AhQm.mjs";import{_ as resolvePolicyTargetTrustPath,a as matchAllowlist,c as resolveApprovalAuditTrustPath,d as resolveExecutableTrustPath,f as resolveExecutionTargetCandidatePath,g as resolvePolicyTargetResolution,h as resolvePolicyTargetCandidatePath,l as resolveCommandResolutionFromArgv,m as resolveExecutionTargetTrustPath,p as resolveExecutionTargetResolution,t as buildCwdBoundHashedArgPattern}from"./exec-command-resolution-BI7wY-6_.mjs";import{a as normalizeExecSecurity,c as resolveExactExecModeFromPolicy,d as resolveExecPolicyForMode,i as normalizeExecMode,l as resolveExecModeFromPolicy,n as EXEC_APPROVAL_DECISIONS,o as normalizeExecTarget,r as normalizeExecAsk,s as requireValidExecTarget,t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS,u as resolveExecModePolicy}from"./exec-approvals-core-BZ6-zeZE.mjs";import{a as requiresExecApproval,c as resolveExecApprovalUnavailableDecisions,i as normalizeExecApprovalUnavailableDecisions,n as maxAsk,o as resolveExecApprovalAllowedDecisions,r as minSecurity,s as resolveExecApprovalRequestAllowedDecisions}from"./exec-approvals-policy-DUqwCsoC.mjs";import{t as resolveExecApprovalsFromFileInternal}from"./exec-approvals-resolver-BBnOjuxT.mjs";import{a as loadExecApprovalsReadOnlyAsync,c as readExecApprovalsSnapshot,d as updateExecApprovals,i as loadExecApprovalsReadOnly,l as readExecApprovalsSnapshotAsync,n as ensureExecApprovalsSnapshot,p as withAgentExecApprovalsRemoved,r as loadExecApprovals,u as restoreExecApprovalsSnapshotLocked}from"./exec-approvals-store-CKqFK0Id.mjs";import{g as analyzeArgvCommand,h as resolvePlannedSegmentArgv,i as resolveSafeBins,m as buildEnforcedShellCommand,n as evaluateShellAllowlistWithAuthorization,r as resolveAllowAlwaysPatternEntries,t as evaluateExecAllowlist,v as isWindowsPlatform}from"./exec-approvals-allowlist-WcJeUOTK.mjs";import{n as countObsoleteGeneratedExecApprovals,r as repairObsoleteGeneratedExecApprovals,t as countObsoleteGeneratedExecApprovalRules}from"./exec-approvals-generated-migration-CRnGtmJK.mjs";import{a as hasDurableExecApproval,c as isExecApprovalPolicySnapshotCurrent,d as resolveDurableExecApprovalRequirement,i as createExecApprovalPolicySnapshot,l as resolveAllowAlwaysPatternCoverage,o as hasExactCommandDurableExecApproval,s as hasNodeCommandAllowAlwaysMarker,u as resolveAllowAlwaysPersistenceDecision}from"./exec-approvals-authorization.kernel-K-YiskZ8.mjs";import{i as recordAllowlistMatchesUse,n as resolveExecApprovalsLocked,r as commitExecAuthorizationLocked,t as redactExecApprovals}from"./exec-approvals-BLANskJu.mjs";export{DEFAULT_EXEC_APPROVAL_ASK_FALLBACK,DEFAULT_EXEC_APPROVAL_TIMEOUT_MS,EXEC_APPROVAL_DECISIONS,analyzeArgvCommand,buildCwdBoundHashedArgPattern,buildEnforcedShellCommand,commitExecAuthorizationLocked,countObsoleteGeneratedExecApprovalRules,countObsoleteGeneratedExecApprovals,createExecApprovalPolicySnapshot,ensureExecApprovalsSnapshot,evaluateExecAllowlist,evaluateShellAllowlistWithAuthorization,hasDurableExecApproval,hasExactCommandDurableExecApproval,hasNodeCommandAllowAlwaysMarker,isExecApprovalPolicySnapshotCurrent,isWindowsPlatform,loadExecApprovals,loadExecApprovalsReadOnly,loadExecApprovalsReadOnlyAsync,matchAllowlist,maxAsk,minSecurity,normalizeExecApprovalUnavailableDecisions,normalizeExecApprovalsInternal as normalizeExecApprovals,normalizeExecAsk,normalizeExecMode,normalizeExecSecurity,normalizeExecTarget,readExecApprovalsSnapshot,readExecApprovalsSnapshotAsync,recordAllowlistMatchesUse,redactExecApprovals,repairObsoleteGeneratedExecApprovals,requireValidExecTarget,requiresExecApproval,resolveAllowAlwaysPatternCoverage,resolveAllowAlwaysPatternEntries,resolveAllowAlwaysPersistenceDecision,resolveApprovalAuditTrustPath,resolveCommandResolutionFromArgv,resolveDurableExecApprovalRequirement,resolveExactExecModeFromPolicy,resolveExecApprovalAllowedDecisions,resolveExecApprovalRequestAllowedDecisions,resolveExecApprovalUnavailableDecisions,resolveExecApprovalsDisplayPath,resolveExecApprovalsFromFileInternal as resolveExecApprovalsFromFile,resolveExecApprovalsLocked,resolveExecModeFromPolicy,resolveExecModePolicy,resolveExecPolicyForMode,resolveExecutableTrustPath,resolveExecutionTargetCandidatePath,resolveExecutionTargetResolution,resolveExecutionTargetTrustPath,resolvePlannedSegmentArgv,resolvePolicyTargetCandidatePath,resolvePolicyTargetResolution,resolvePolicyTargetTrustPath,resolveSafeBins,restoreExecApprovalsSnapshotLocked,updateExecApprovals,withAgentExecApprovalsRemoved};