openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 4.81 kB
JavaScript
import { r as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, s as normalizeExecApprovalsInternal, u as resolveExecApprovalsDisplayPath } from "./exec-approvals-config-BBzEUJlE.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-DaBYjPqy.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-puBAw1bE.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-BGzNHuNm.mjs";
import { t as resolveExecApprovalsFromFileInternal } from "./exec-approvals-resolver-C6IwmycS.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-BUZ9uOWF.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-f3-u9Y6p.mjs";
import { n as countObsoleteGeneratedExecApprovals, r as repairObsoleteGeneratedExecApprovals, t as countObsoleteGeneratedExecApprovalRules } from "./exec-approvals-generated-migration-BCmbxD17.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-DITNT1Lg.mjs";
import { i as recordAllowlistMatchesUse, n as resolveExecApprovalsLocked, r as commitExecAuthorizationLocked, t as redactExecApprovals } from "./exec-approvals-rOfoWejC.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 };