UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 4.61 kB
import { a as normalizeExecTarget, c as resolveExecModeFromPolicy, i as normalizeExecSecurity, l as resolveExecModePolicy, n as normalizeExecAsk, o as requireValidExecTarget, r as normalizeExecMode, s as resolveExactExecModeFromPolicy, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, u as resolveExecPolicyForMode } from "./exec-approvals-core-s7tTQC_a.mjs"; import { a as matchAllowlist, c as resolveCommandResolutionFromArgv, d as resolveExecutionTargetResolution, f as resolveExecutionTargetTrustPath, h as resolvePolicyTargetTrustPath, l as resolveExecutableTrustPath, m as resolvePolicyTargetResolution, p as resolvePolicyTargetCandidatePath, s as resolveApprovalAuditTrustPath, t as buildCwdBoundHashedArgPattern, u as resolveExecutionTargetCandidatePath } from "./exec-command-resolution-B0fS-8og.mjs"; import { _ as isWindowsPlatform, h as analyzeArgvCommand, i as resolveSafeBins, m as resolvePlannedSegmentArgv, n as evaluateShellAllowlistWithAuthorization, p as buildEnforcedShellCommand, r as resolveAllowAlwaysPatternEntries, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-C7KHpE0m.mjs"; import { i as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, p as resolveExecApprovalsDisplayPath, u as normalizeExecApprovalsInternal } from "./exec-approvals-migration-gate-BHpUkl4x.mjs"; import { t as resolveExecApprovalsFromFileInternal } from "./exec-approvals-resolver-C1cTECqF.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-BkCHCtjQ.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-BUCGxklR.mjs"; import { 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-B-TRUVtg.mjs"; import { n as repairObsoleteGeneratedExecApprovals, t as countObsoleteGeneratedExecApprovals } from "./exec-approvals-generated-migration-iiTtmqvq.mjs"; import { i as recordAllowlistMatchesUse, n as resolveExecApprovalsLocked, r as commitExecAuthorizationLocked, t as redactExecApprovals } from "./exec-approvals-BkzkbwrB.mjs"; export { DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, analyzeArgvCommand, buildCwdBoundHashedArgPattern, buildEnforcedShellCommand, commitExecAuthorizationLocked, countObsoleteGeneratedExecApprovals, createExecApprovalPolicySnapshot, ensureExecApprovalsSnapshot, evaluateExecAllowlist, evaluateShellAllowlistWithAuthorization, hasDurableExecApproval, hasExactCommandDurableExecApproval, hasNodeCommandAllowAlwaysMarker, isExecApprovalPolicySnapshotCurrent, isWindowsPlatform, loadExecApprovals, loadExecApprovalsReadOnly, 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 };