UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines (13 loc) • 3.59 kB
import { t as formatCliCommand } from "../command-format-CqdwUgPk.mjs"; import { n as enablePluginInConfig } from "../enable-BY2SJL8Z.mjs"; import { n as jsonResult } from "../tool-results-CcV0sxnb.mjs"; import { c as readNonNegativeIntegerParam, f as readStringArrayParam, l as readNumberParam, m as readToolStringParam, u as readPositiveIntegerParam } from "../common-njQNtpnW.mjs"; import { n as readProviderEnvValue } from "../provider-credential-values-pLjdcwQh.mjs"; import { o as wrapWebContent } from "../external-content-CGL7l-3s.mjs"; import { i as truncateWebFetchText, r as markdownToText } from "../web-fetch-utils-ClthTLue.mjs"; import { a as readCache, c as resolvePositiveTimeoutSeconds, i as normalizeCacheKey, l as resolveTimeoutSeconds, n as DEFAULT_TIMEOUT_SECONDS, o as readResponseText, s as resolveCacheTtlMs, t as DEFAULT_CACHE_TTL_MINUTES, u as writeCache } from "../web-shared-DLIuWlIC.mjs"; import { C as withTrustedWebSearchEndpoint, S as withSelfHostedWebSearchEndpoint, _ as resolveSearchCacheTtlMs, a as buildUnsupportedSearchFilterResponse, b as resolveSiteName, c as normalizeFreshness, d as parseWebSearchTimeFilters, f as postTrustedWebToolsJson, g as readWebSearchQueryAndCount, h as readWebSearchApiKey, i as buildSearchCacheKey, l as normalizeToIsoDate, m as readConfiguredSecretString, n as FRESHNESS_TO_RECENCY, o as externalContentStamp, p as readCachedSearchPayload, r as MAX_SEARCH_COUNT, s as isoToPerplexityDate, t as DEFAULT_SEARCH_COUNT, u as parseIsoDateRange, v as resolveSearchCount, w as writeCachedSearchPayload, x as throwWebSearchApiError, y as resolveSearchTimeoutSeconds } from "../web-search-provider-common-BIurMuHZ.mjs"; import { i as withTrustedWebToolsEndpoint, n as withSelfHostedWebToolsEndpoint } from "../web-guarded-fetch-DOiI5dYn.mjs"; import { a as setScopedCredentialValue, i as setProviderWebSearchPluginConfigValue, o as setTopLevelCredentialValue, r as mergeScopedSearchConfig, s as resolvePluginWebSearchConfig, t as getScopedCredentialValue } from "../web-search-provider-config-CYzD1DF7.mjs"; import { n as resolveCitationRedirectUrl, t as resolveWebSearchProviderCredential } from "../provider-web-search-hr4kzF3y.mjs"; export { DEFAULT_CACHE_TTL_MINUTES, DEFAULT_SEARCH_COUNT, DEFAULT_TIMEOUT_SECONDS, FRESHNESS_TO_RECENCY, MAX_SEARCH_COUNT, buildSearchCacheKey, buildUnsupportedSearchFilterResponse, enablePluginInConfig, externalContentStamp, formatCliCommand, getScopedCredentialValue, isoToPerplexityDate, jsonResult, markdownToText, mergeScopedSearchConfig, normalizeCacheKey, normalizeFreshness, normalizeToIsoDate, parseIsoDateRange, parseWebSearchTimeFilters, postTrustedWebToolsJson, readCache, readCachedSearchPayload, readConfiguredSecretString, readNonNegativeIntegerParam, readNumberParam, readPositiveIntegerParam, readProviderEnvValue, readResponseText, readStringArrayParam, readToolStringParam as readStringParam, readWebSearchApiKey, readWebSearchQueryAndCount, resolveCacheTtlMs, resolveCitationRedirectUrl, resolvePositiveTimeoutSeconds, resolvePluginWebSearchConfig as resolveProviderWebSearchPluginConfig, resolveSearchCacheTtlMs, resolveSearchCount, resolveSearchTimeoutSeconds, resolveSiteName, resolveTimeoutSeconds, resolveWebSearchProviderCredential, setProviderWebSearchPluginConfigValue, setScopedCredentialValue, setTopLevelCredentialValue, throwWebSearchApiError, truncateWebFetchText as truncateText, withSelfHostedWebSearchEndpoint, withSelfHostedWebToolsEndpoint, withTrustedWebSearchEndpoint, withTrustedWebToolsEndpoint, wrapWebContent, writeCache, writeCachedSearchPayload };