UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

6 lines (5 loc) • 5.03 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-Dz6h3Nj6.js"; import { a as isWindowsPlatform, i as analyzeWindowsShellCommand, n as resolvePlannedSegmentArgv, o as tokenizeWindowsSegment, r as analyzeArgvCommand, s as windowsEscapeArg, t as buildEnforcedShellCommand } from "./exec-approvals-analysis-DFuSdYi7.js"; import { a as isSafeBinUsage, c as resolveAllowAlwaysPatterns, i as evaluateShellAllowlistWithAuthorization, l as resolveSafeBins, n as evaluateExecAllowlistWithAuthorization, o as normalizeSafeBins, r as evaluateShellAllowlist, s as resolveAllowAlwaysPatternEntries, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CVSIo3dH.js"; import { A as requestExecApprovalViaSocket, B as resolveExecApprovalsFromFile, C as normalizeExecSecurity, D as readExecApprovalsSnapshot, E as persistAllowAlwaysPatterns, F as resolveExecApprovalAllowedDecisions, G as resolveExecModePolicy, H as resolveExecApprovalsSocketPath, I as resolveExecApprovalRequestAllowedDecisions, J as saveExecApprovals, K as resolveExecPolicyForMode, L as resolveExecApprovalUnavailableDecisions, M as requiresExecApproval, N as resolveAllowAlwaysPatternCoverage, O as recordAllowlistMatchesUse, P as resolveAllowAlwaysPersistenceDecision, R as resolveExecApprovals, S as normalizeExecMode, T as persistAllowAlwaysDecision, U as resolveExecApprovalsTranscriptPath, V as resolveExecApprovalsPath, W as resolveExecModeFromPolicy, _ as minSecurity, a as OPTIONAL_EXEC_APPROVAL_DECISIONS, b as normalizeExecAsk, c as commandRequiresSecurityAuditSuppressionApproval, d as hasExactCommandDurableExecApproval, f as hasNodeCommandAllowAlwaysMarker, g as mergeExecApprovalsSocketDefaults, h as maxAsk, i as EXEC_TARGET_VALUES, j as requireValidExecTarget, k as recordAllowlistUse, l as ensureExecApprovals, m as loadExecApprovals, n as DEFAULT_EXEC_APPROVAL_DECISIONS, o as addAllowlistEntry, p as isExecApprovalDecisionAllowed, q as restoreExecApprovalsSnapshot, r as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, s as addDurableCommandApproval, t as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, u as hasDurableExecApproval, v as normalizeExecApprovalUnavailableDecisions, w as normalizeExecTarget, x as normalizeExecHost, y as normalizeExecApprovals, z as resolveExecApprovalsDisplayPath } from "./exec-approvals-zVFNVwl1.js"; export { DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, DEFAULT_EXEC_APPROVAL_DECISIONS, DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, EXEC_TARGET_VALUES, OPTIONAL_EXEC_APPROVAL_DECISIONS, addAllowlistEntry, addDurableCommandApproval, analyzeArgvCommand, analyzeWindowsShellCommand, buildEnforcedShellCommand, commandRequiresSecurityAuditSuppressionApproval, ensureExecApprovals, evaluateExecAllowlist, evaluateExecAllowlistWithAuthorization, evaluateShellAllowlist, evaluateShellAllowlistWithAuthorization, hasDurableExecApproval, hasExactCommandDurableExecApproval, hasNodeCommandAllowAlwaysMarker, isExecApprovalDecisionAllowed, isSafeBinUsage, isWindowsPlatform, loadExecApprovals, matchAllowlist, maxAsk, mergeExecApprovalsSocketDefaults, minSecurity, normalizeExecApprovalUnavailableDecisions, normalizeExecApprovals, normalizeExecAsk, normalizeExecHost, normalizeExecMode, normalizeExecSecurity, normalizeExecTarget, normalizeSafeBins, parseExecArgvToken, persistAllowAlwaysDecision, persistAllowAlwaysPatterns, readExecApprovalsSnapshot, recordAllowlistMatchesUse, recordAllowlistUse, requestExecApprovalViaSocket, requireValidExecTarget, requiresExecApproval, resolveAllowAlwaysPatternCoverage, resolveAllowAlwaysPatternEntries, resolveAllowAlwaysPatterns, resolveAllowAlwaysPersistenceDecision, resolveAllowlistCandidatePath, resolveApprovalAuditCandidatePath, resolveApprovalAuditTrustPath, resolveCommandResolution, resolveCommandResolutionFromArgv, resolveExecApprovalAllowedDecisions, resolveExecApprovalRequestAllowedDecisions, resolveExecApprovalUnavailableDecisions, resolveExecApprovals, resolveExecApprovalsDisplayPath, resolveExecApprovalsFromFile, resolveExecApprovalsPath, resolveExecApprovalsSocketPath, resolveExecApprovalsTranscriptPath, resolveExecModeFromPolicy, resolveExecModePolicy, resolveExecPolicyForMode, resolveExecutableTrustPath, resolveExecutionTargetCandidatePath, resolveExecutionTargetResolution, resolveExecutionTargetTrustPath, resolvePlannedSegmentArgv, resolvePolicyAllowlistCandidatePath, resolvePolicyTargetCandidatePath, resolvePolicyTargetResolution, resolvePolicyTargetTrustPath, resolveSafeBins, restoreExecApprovalsSnapshot, saveExecApprovals, tokenizeWindowsSegment, windowsEscapeArg };