openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 3.37 kB
JavaScript
import { t as formatCliCommand } from "../command-format-CKGmlpAQ.js";
import { n as enablePluginInConfig } from "../enable-DXODwa0_.js";
import { b as readStringParam, g as readPositiveIntegerParam, h as readNumberParam, l as jsonResult, m as readNonNegativeIntegerParam, v as readStringArrayParam } from "../common-C4yy9V-D.js";
import { a as wrapWebContent } from "../external-content-pX-Pk1Iu.js";
import { a as truncateText, r as markdownToText } from "../web-fetch-utils-CGeEaxjc.js";
import { a as readResponseText, c as resolveTimeoutSeconds, i as readCache, n as DEFAULT_TIMEOUT_SECONDS, o as resolveCacheTtlMs, r as normalizeCacheKey, s as resolvePositiveTimeoutSeconds, t as DEFAULT_CACHE_TTL_MINUTES, u as writeCache } from "../web-shared-TPeHhehr.js";
import { S as writeCachedSearchPayload, _ as resolveSearchTimeoutSeconds, a as buildUnsupportedSearchFilterResponse, b as withSelfHostedWebSearchEndpoint, c as normalizeToIsoDate, d as postTrustedWebToolsJson, f as readCachedSearchPayload, g as resolveSearchCount, h as resolveSearchCacheTtlMs, i as buildSearchCacheKey, l as parseIsoDateRange, m as readProviderEnvValue, n as FRESHNESS_TO_RECENCY, o as isoToPerplexityDate, p as readConfiguredSecretString, r as MAX_SEARCH_COUNT, s as normalizeFreshness, t as DEFAULT_SEARCH_COUNT, u as parseWebSearchTimeFilters, v as resolveSiteName, x as withTrustedWebSearchEndpoint, y as throwWebSearchApiError } from "../web-search-provider-common-DisZTXTb.js";
import { i as withTrustedWebToolsEndpoint, n as withSelfHostedWebToolsEndpoint } from "../web-guarded-fetch-DYAWPWNo.js";
import { a as setProviderWebSearchPluginConfigValue, i as resolveProviderWebSearchPluginConfig, n as getTopLevelCredentialValue, o as setScopedCredentialValue, r as mergeScopedSearchConfig, s as setTopLevelCredentialValue, t as getScopedCredentialValue } from "../web-search-provider-config-BQzMMhw8.js";
import { n as resolveWebSearchProviderCredential, r as resolveCitationRedirectUrl, t as createPluginBackedWebSearchProvider } from "../provider-web-search-9G87vZMY.js";
export { DEFAULT_CACHE_TTL_MINUTES, DEFAULT_SEARCH_COUNT, DEFAULT_TIMEOUT_SECONDS, FRESHNESS_TO_RECENCY, MAX_SEARCH_COUNT, buildSearchCacheKey, buildUnsupportedSearchFilterResponse, createPluginBackedWebSearchProvider, enablePluginInConfig, formatCliCommand, getScopedCredentialValue, getTopLevelCredentialValue, isoToPerplexityDate, jsonResult, markdownToText, mergeScopedSearchConfig, normalizeCacheKey, normalizeFreshness, normalizeToIsoDate, parseIsoDateRange, parseWebSearchTimeFilters, postTrustedWebToolsJson, readCache, readCachedSearchPayload, readConfiguredSecretString, readNonNegativeIntegerParam, readNumberParam, readPositiveIntegerParam, readProviderEnvValue, readResponseText, readStringArrayParam, readStringParam, resolveCacheTtlMs, resolveCitationRedirectUrl, resolvePositiveTimeoutSeconds, resolveProviderWebSearchPluginConfig, resolveSearchCacheTtlMs, resolveSearchCount, resolveSearchTimeoutSeconds, resolveSiteName, resolveTimeoutSeconds, resolveWebSearchProviderCredential, setProviderWebSearchPluginConfigValue, setScopedCredentialValue, setTopLevelCredentialValue, throwWebSearchApiError, truncateText, withSelfHostedWebSearchEndpoint, withSelfHostedWebToolsEndpoint, withTrustedWebSearchEndpoint, withTrustedWebToolsEndpoint, wrapWebContent, writeCache, writeCachedSearchPayload };