UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

10 lines (9 loc) • 4.5 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-DxYxel2J.mjs"; import { i as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, l as mergeExecApprovalsSocketDefaults, p as resolveExecApprovalsDisplayPath, u as normalizeExecApprovalsInternal } from "./exec-approvals-migration-gate-4cEEb67t.mjs"; import { _ as resolveExecApprovalAllowedDecisions, a as createExecApprovalPolicySnapshot, b as resolveExecApprovalsFromFileInternal, c as hasNodeCommandAllowAlwaysMarker, d as resolveAllowAlwaysPersistenceDecision, f as resolveDurableExecApprovalRequirement, g as requiresExecApproval, h as normalizeExecApprovalUnavailableDecisions, l as isExecApprovalPolicySnapshotCurrent, m as minSecurity, o as hasDurableExecApproval, p as maxAsk, s as hasExactCommandDurableExecApproval, u as resolveAllowAlwaysPatternCoverage, v as resolveExecApprovalRequestAllowedDecisions, y as resolveExecApprovalUnavailableDecisions } from "./exec-approvals-authorization.kernel-C_vJhPCn.mjs"; import { f as withAgentExecApprovalsRemoved, i as loadExecApprovalsReadOnly, l as restoreExecApprovalsSnapshotLocked, n as ensureExecApprovalsSnapshot, r as loadExecApprovals, s as readExecApprovalsSnapshot, u as updateExecApprovals } from "./exec-approvals-store-DGp2moY9.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-CU7bs0k0.mjs"; import { n as repairObsoleteGeneratedExecApprovals, t as countObsoleteGeneratedExecApprovals } from "./exec-approvals-generated-migration-CnSZXIu2.mjs"; import { i as recordAllowlistMatchesUse, n as resolveExecApprovalsLocked, r as commitExecAuthorizationLocked, t as redactExecApprovals } from "./exec-approvals-B1rZTeax.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, mergeExecApprovalsSocketDefaults, minSecurity, normalizeExecApprovalUnavailableDecisions, normalizeExecApprovalsInternal as normalizeExecApprovals, normalizeExecAsk, normalizeExecMode, normalizeExecSecurity, normalizeExecTarget, readExecApprovalsSnapshot, 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 };