mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 18:21:30 +00:00
* fix: support HTTPS managed proxy CA trust * fix: strip IP SNI for HTTPS proxy dispatchers * fix: harden managed proxy undici dispatchers * docs: refresh proxy baselines * fix: drop stale whatsapp undici dependency * fix: satisfy proxy dispatcher lint and tests --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
23 lines
890 B
TypeScript
23 lines
890 B
TypeScript
// Public fetch/proxy helpers for plugins that need wrapped fetch behavior.
|
|
|
|
export { resolveFetch, wrapFetchWithAbortSignal } from "../infra/fetch.js";
|
|
export {
|
|
createHttp1EnvHttpProxyAgent,
|
|
createHttp1ProxyAgent,
|
|
} from "../infra/net/undici-runtime.js";
|
|
export { withTrustedEnvProxyGuardedFetchMode } from "../infra/net/fetch-guard.ts";
|
|
export {
|
|
addActiveManagedProxyTlsOptions,
|
|
resolveActiveManagedProxyTlsOptions,
|
|
} from "../infra/net/proxy/managed-proxy-undici.js";
|
|
export {
|
|
hasEnvHttpProxyConfigured,
|
|
hasEnvHttpProxyAgentConfigured,
|
|
resolveEnvHttpProxyAgentOptions,
|
|
resolveEnvHttpProxyUrl,
|
|
shouldUseEnvHttpProxyForUrl,
|
|
} from "../infra/net/proxy-env.js";
|
|
export { getProxyUrlFromFetch, makeProxyFetch } from "../infra/net/proxy-fetch.js";
|
|
export { createPinnedLookup } from "../infra/net/ssrf.js";
|
|
export type { PinnedDispatcherPolicy } from "../infra/net/ssrf.js";
|