refactor(web): remove provider runtime facade · openclaw/openclaw@e122cd0
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,7 +20,7 @@ paths:
|
20 | 20 | - src/agents/tools/web-shared.ts |
21 | 21 | - src/plugin-sdk/ssrf-policy.ts |
22 | 22 | - src/web-fetch |
23 | | - - src/web/provider-runtime-shared.ts |
| 23 | + - packages/web-content-core/src/provider-runtime-shared.ts |
24 | 24 | - packages/memory-host-sdk/src/host/ssrf-policy.ts |
25 | 25 | - packages/net-policy/src |
26 | 26 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ query-filters:
|
16 | 16 | paths: |
17 | 17 | - src/web-fetch |
18 | 18 | - src/web-search |
19 | | - - src/web/provider-runtime-shared.ts |
| 19 | + - packages/web-content-core/src/provider-runtime-shared.ts |
20 | 20 | - src/media |
21 | 21 | - src/media-understanding |
22 | 22 | - src/image-generation |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,7 +17,7 @@ import { wrapExternalContent, wrapWebContent } from "../../security/external-con
|
17 | 17 | import { createLazyImportLoader } from "../../shared/lazy-promise.js"; |
18 | 18 | import { isRecord } from "../../utils.js"; |
19 | 19 | import { extractReadableContent } from "../../web-fetch/content-extractors.runtime.js"; |
20 | | -import { resolveWebProviderConfig } from "../../web/provider-runtime-shared.js"; |
| 20 | +import { resolveWebProviderConfig } from "../../../packages/web-content-core/src/provider-runtime-shared.js"; |
21 | 21 | import { stringEnum } from "../schema/string-enum.js"; |
22 | 22 | import { setToolTerminalPresentation } from "../tool-terminal-presentation.js"; |
23 | 23 | import type { AnyAgentTool } from "./common.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ import {
|
19 | 19 | readWebProviderEnvValue, |
20 | 20 | resolveWebProviderConfig, |
21 | 21 | resolveWebProviderDefinition, |
22 | | -} from "../web/provider-runtime-shared.js"; |
| 22 | +} from "../../packages/web-content-core/src/provider-runtime-shared.js"; |
23 | 23 | |
24 | 24 | // Runtime provider selection for the web_fetch tool. It resolves config, |
25 | 25 | // credentials, runtime metadata, and sandbox-safe bundled provider scopes. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,7 +27,7 @@ import {
|
27 | 27 | providerRequiresCredential, |
28 | 28 | readWebProviderEnvValue, |
29 | 29 | resolveWebProviderConfig, |
30 | | -} from "../web/provider-runtime-shared.js"; |
| 30 | +} from "../../packages/web-content-core/src/provider-runtime-shared.js"; |
31 | 31 | import type { |
32 | 32 | ResolveWebSearchDefinitionParams, |
33 | 33 | RunWebSearchParams, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。