mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
refactor(web): remove provider runtime facade
This commit is contained in:
@@ -20,7 +20,7 @@ paths:
|
||||
- src/agents/tools/web-shared.ts
|
||||
- src/plugin-sdk/ssrf-policy.ts
|
||||
- src/web-fetch
|
||||
- src/web/provider-runtime-shared.ts
|
||||
- packages/web-content-core/src/provider-runtime-shared.ts
|
||||
- packages/memory-host-sdk/src/host/ssrf-policy.ts
|
||||
- packages/net-policy/src
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ query-filters:
|
||||
paths:
|
||||
- src/web-fetch
|
||||
- src/web-search
|
||||
- src/web/provider-runtime-shared.ts
|
||||
- packages/web-content-core/src/provider-runtime-shared.ts
|
||||
- src/media
|
||||
- src/media-understanding
|
||||
- src/image-generation
|
||||
|
||||
@@ -17,7 +17,7 @@ import { wrapExternalContent, wrapWebContent } from "../../security/external-con
|
||||
import { createLazyImportLoader } from "../../shared/lazy-promise.js";
|
||||
import { isRecord } from "../../utils.js";
|
||||
import { extractReadableContent } from "../../web-fetch/content-extractors.runtime.js";
|
||||
import { resolveWebProviderConfig } from "../../web/provider-runtime-shared.js";
|
||||
import { resolveWebProviderConfig } from "../../../packages/web-content-core/src/provider-runtime-shared.js";
|
||||
import { stringEnum } from "../schema/string-enum.js";
|
||||
import { setToolTerminalPresentation } from "../tool-terminal-presentation.js";
|
||||
import type { AnyAgentTool } from "./common.js";
|
||||
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
readWebProviderEnvValue,
|
||||
resolveWebProviderConfig,
|
||||
resolveWebProviderDefinition,
|
||||
} from "../web/provider-runtime-shared.js";
|
||||
} from "../../packages/web-content-core/src/provider-runtime-shared.js";
|
||||
|
||||
// Runtime provider selection for the web_fetch tool. It resolves config,
|
||||
// credentials, runtime metadata, and sandbox-safe bundled provider scopes.
|
||||
|
||||
@@ -27,7 +27,7 @@ import {
|
||||
providerRequiresCredential,
|
||||
readWebProviderEnvValue,
|
||||
resolveWebProviderConfig,
|
||||
} from "../web/provider-runtime-shared.js";
|
||||
} from "../../packages/web-content-core/src/provider-runtime-shared.js";
|
||||
import type {
|
||||
ResolveWebSearchDefinitionParams,
|
||||
RunWebSearchParams,
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
// Core facade for shared web-provider runtime helpers from the package layer.
|
||||
// Keeps src imports stable while provider logic lives in web-content-core.
|
||||
export * from "../../packages/web-content-core/src/provider-runtime-shared.js";
|
||||
Reference in New Issue
Block a user