UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

6 lines (5 loc) 4.54 kB
import { a as resolveApprovalAuditTrustPath, c as resolveExecutableTrustPath, d as resolveExecutionTargetTrustPath, f as resolvePolicyAllowlistCandidatePath, h as resolvePolicyTargetTrustPath, i as resolveApprovalAuditCandidatePath, l as resolveExecutionTargetCandidatePath, m as resolvePolicyTargetResolution, n as parseExecArgvToken, o as resolveCommandResolution, p as resolvePolicyTargetCandidatePath, r as resolveAllowlistCandidatePath, s as resolveCommandResolutionFromArgv, t as matchAllowlist, u as resolveExecutionTargetResolution } from "./exec-command-resolution-CqhcxBz-.js"; import { a as buildSafeShellCommand, c as splitCommandChain, i as buildSafeBinsShellCommand, l as splitCommandChainWithOperators, n as analyzeShellCommand, o as isWindowsPlatform, r as buildEnforcedShellCommand, s as resolvePlannedSegmentArgv, t as analyzeArgvCommand, u as windowsEscapeArg } from "./exec-approvals-analysis-B4N2JXzl.js"; import { a as resolveAllowAlwaysPatternEntries, i as normalizeSafeBins, n as evaluateShellAllowlist, o as resolveAllowAlwaysPatterns, r as isSafeBinUsage, s as resolveSafeBins, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-VYEHBfj3.js"; import { A as resolveExecApprovalAllowedDecisions, B as resolveExecPolicyForMode, C as readExecApprovalsSnapshot, D as requireValidExecTarget, E as requestExecApprovalViaSocket, F as resolveExecApprovalsPath, H as saveExecApprovals, I as resolveExecApprovalsSocketPath, L as resolveExecApprovalsTranscriptPath, M as resolveExecApprovals, N as resolveExecApprovalsDisplayPath, O as requiresExecApproval, P as resolveExecApprovalsFromFile, R as resolveExecModeFromPolicy, S as persistAllowAlwaysPatterns, T as recordAllowlistUse, V as restoreExecApprovalsSnapshot, _ as normalizeExecAsk, a as addAllowlistEntry, b as normalizeExecSecurity, c as ensureExecApprovals, d as isExecApprovalDecisionAllowed, f as loadExecApprovals, g as normalizeExecApprovals, h as minSecurity, i as EXEC_TARGET_VALUES, j as resolveExecApprovalRequestAllowedDecisions, k as resolveAllowAlwaysPatternCoverage, l as hasDurableExecApproval, m as mergeExecApprovalsSocketDefaults, n as DEFAULT_EXEC_APPROVAL_DECISIONS, o as addDurableCommandApproval, p as maxAsk, r as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, s as commandRequiresSecurityAuditSuppressionApproval, t as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, u as hasNodeCommandAllowAlwaysMarker, v as normalizeExecHost, w as recordAllowlistMatchesUse, x as normalizeExecTarget, y as normalizeExecMode, z as resolveExecModePolicy } from "./exec-approvals-C6M6SGY3.js"; export { DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, DEFAULT_EXEC_APPROVAL_DECISIONS, DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, EXEC_TARGET_VALUES, addAllowlistEntry, addDurableCommandApproval, analyzeArgvCommand, analyzeShellCommand, buildEnforcedShellCommand, buildSafeBinsShellCommand, buildSafeShellCommand, commandRequiresSecurityAuditSuppressionApproval, ensureExecApprovals, evaluateExecAllowlist, evaluateShellAllowlist, hasDurableExecApproval, hasNodeCommandAllowAlwaysMarker, isExecApprovalDecisionAllowed, isSafeBinUsage, isWindowsPlatform, loadExecApprovals, matchAllowlist, maxAsk, mergeExecApprovalsSocketDefaults, minSecurity, normalizeExecApprovals, normalizeExecAsk, normalizeExecHost, normalizeExecMode, normalizeExecSecurity, normalizeExecTarget, normalizeSafeBins, parseExecArgvToken, persistAllowAlwaysPatterns, readExecApprovalsSnapshot, recordAllowlistMatchesUse, recordAllowlistUse, requestExecApprovalViaSocket, requireValidExecTarget, requiresExecApproval, resolveAllowAlwaysPatternCoverage, resolveAllowAlwaysPatternEntries, resolveAllowAlwaysPatterns, resolveAllowlistCandidatePath, resolveApprovalAuditCandidatePath, resolveApprovalAuditTrustPath, resolveCommandResolution, resolveCommandResolutionFromArgv, resolveExecApprovalAllowedDecisions, resolveExecApprovalRequestAllowedDecisions, resolveExecApprovals, resolveExecApprovalsDisplayPath, resolveExecApprovalsFromFile, resolveExecApprovalsPath, resolveExecApprovalsSocketPath, resolveExecApprovalsTranscriptPath, resolveExecModeFromPolicy, resolveExecModePolicy, resolveExecPolicyForMode, resolveExecutableTrustPath, resolveExecutionTargetCandidatePath, resolveExecutionTargetResolution, resolveExecutionTargetTrustPath, resolvePlannedSegmentArgv, resolvePolicyAllowlistCandidatePath, resolvePolicyTargetCandidatePath, resolvePolicyTargetResolution, resolvePolicyTargetTrustPath, resolveSafeBins, restoreExecApprovalsSnapshot, saveExecApprovals, splitCommandChain, splitCommandChainWithOperators, windowsEscapeArg };