UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

9 lines • 3.31 kB
import { Vb as formatErrorMessage, i_ as expandAllowFromWithAccessGroups, uO as resolvePinnedMainDmOwnerFromAllowlist, zb as redactSensitiveText } from "../config-contracts--zSNHFlu.js"; import { C as truncateSanitizedExternalContent, S as hasProxyEnvConfigured, T as wrapWebContent, _ as buildUntrustedChannelMetadata, a as resolveStrictExistingPathsWithinRoot, b as fileExists, c as privateFileStoreSync, d as compileSafeRegexDetailed, f as ContextVisibilityDecision, g as buildChannelMetadata, h as shouldIncludeSupplementalContext, i as resolveExistingPathsWithinRoot, l as normalizeHostname, m as filterSupplementalContextItems, n as pathScope, o as sanitizeUntrustedFileName, p as evaluateSupplementalContextVisibility, r as replaceFileAtomic, s as safeEqualSecret, t as movePathWithCopyFallback, u as SafeRegexRejectReason, v as assertNoSymlinkParents, w as wrapExternalContent, x as isPathInside, y as assertNoSymlinkParentsSync } from "../security-runtime-B63YT34S.js"; import { O as resolvePinnedHostnameWithPolicy, T as matchesHostnameAllowlist, g as LookupFn, v as SsrFBlockedError, w as isPrivateNetworkAllowedByPolicy, y as SsrFPolicy } from "../web-media-BZaKJeDp.js"; import { _ as writeExternalFileWithinRoot, a as openLocalFileSafely, c as readRegularFile, d as resolveAbsolutePathForWrite, f as resolveLocalPathFromRootsSync, g as withTimeout, h as statRegularFileSync, i as findExistingAncestor, l as readRegularFileSync, m as statRegularFile, n as appendRegularFile, o as pathExists, p as root, r as canonicalPathFromExistingAncestor, s as pathExistsSync, t as FsSafeError, u as resolveAbsolutePathForRead } from "../fs-safe-DlrPy6P_.js"; import { r as extractErrorCode } from "../error-coercion-CZowT8iA.js"; import { i as parseAccessGroupAllowFromEntry } from "../allow-from-BbSIDWoC.js"; import { t as resolvePreferredOpenClawTmpDir } from "../tmp-openclaw-dir-FtKzMdSs.js"; import { r as ensurePortAvailable } from "../ports-Caqor9S7.js"; export { type ContextVisibilityDecision, FsSafeError, type LookupFn, type SafeRegexRejectReason, SsrFBlockedError, type SsrFPolicy, appendRegularFile, assertNoSymlinkParents, assertNoSymlinkParentsSync, buildChannelMetadata, buildUntrustedChannelMetadata, canonicalPathFromExistingAncestor, compileSafeRegexDetailed, ensurePortAvailable, evaluateSupplementalContextVisibility, expandAllowFromWithAccessGroups, extractErrorCode, fileExists, filterSupplementalContextItems, findExistingAncestor, formatErrorMessage, hasProxyEnvConfigured, isPathInside, isPrivateNetworkAllowedByPolicy, matchesHostnameAllowlist, movePathWithCopyFallback, normalizeHostname, openLocalFileSafely, parseAccessGroupAllowFromEntry, pathExists, pathExistsSync, pathScope, privateFileStoreSync, readRegularFile, readRegularFileSync, redactSensitiveText, replaceFileAtomic, resolveAbsolutePathForRead, resolveAbsolutePathForWrite, resolveExistingPathsWithinRoot, resolveLocalPathFromRootsSync, resolvePinnedHostnameWithPolicy, resolvePinnedMainDmOwnerFromAllowlist, resolvePreferredOpenClawTmpDir, resolveStrictExistingPathsWithinRoot, root, safeEqualSecret, sanitizeUntrustedFileName, shouldIncludeSupplementalContext, statRegularFile, statRegularFileSync, truncateSanitizedExternalContent, withTimeout, wrapExternalContent, wrapWebContent, writeExternalFileWithinRoot };