惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
F
Fortinet All Blogs
博客园 - 叶小钗
博客园_首页
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(config): warn for stale web search providers · opencl...
vincentkoc · 2026-05-16 · via Recent Commits to openclaw:main

@@ -1052,35 +1052,40 @@ function validateConfigObjectWithPluginsBase(

10521052

].toSorted((left, right) => left.localeCompare(right));

10531053

};

105410541055-

const hasStalePluginEvidenceForUnknownWebSearchProvider = (providerId: string): boolean => {

1056-

const normalizedProviderId = normalizePluginId(providerId);

1057-

if (!normalizedProviderId || ensureKnownIds().has(normalizedProviderId)) {

1055+

const hasPluginEvidenceForWebSearchProvider = (

1056+

...pluginOrProviderIds: readonly string[]

1057+

): boolean => {

1058+

const candidateIds = new Set(

1059+

pluginOrProviderIds.map((id) => normalizePluginId(id)).filter((id) => id.length > 0),

1060+

);

1061+

if (candidateIds.size === 0) {

10581062

return false;

10591063

}

1064+

const matches = (pluginId: string) => candidateIds.has(normalizePluginId(pluginId));

10601065

const pluginConfig = config.plugins;

1061-

if (

1062-

Array.isArray(pluginConfig?.allow) &&

1063-

pluginConfig.allow.some((pluginId) => normalizePluginId(pluginId) === normalizedProviderId)

1064-

) {

1066+

if (Array.isArray(pluginConfig?.allow) && pluginConfig.allow.some(matches)) {

10651067

return true;

10661068

}

1067-

if (

1068-

isRecord(pluginConfig?.entries) &&

1069-

Object.keys(pluginConfig.entries).some(

1070-

(pluginId) => normalizePluginId(pluginId) === normalizedProviderId,

1071-

)

1072-

) {

1069+

if (isRecord(pluginConfig?.entries) && Object.keys(pluginConfig.entries).some(matches)) {

10731070

return true;

10741071

}

1075-

if (

1076-

isRecord(pluginConfig?.installs) &&

1077-

Object.keys(pluginConfig.installs).some(

1078-

(pluginId) => normalizePluginId(pluginId) === normalizedProviderId,

1079-

)

1080-

) {

1072+

if (isRecord(pluginConfig?.installs) && Object.keys(pluginConfig.installs).some(matches)) {

10811073

return true;

10821074

}

1083-

return ensureInstalledPluginRecordIds().has(normalizedProviderId);

1075+

for (const pluginId of candidateIds) {

1076+

if (ensureInstalledPluginRecordIds().has(pluginId)) {

1077+

return true;

1078+

}

1079+

}

1080+

return false;

1081+

};

1082+1083+

const hasStalePluginEvidenceForUnknownWebSearchProvider = (providerId: string): boolean => {

1084+

const normalizedProviderId = normalizePluginId(providerId);

1085+

if (!normalizedProviderId || ensureKnownIds().has(normalizedProviderId)) {

1086+

return false;

1087+

}

1088+

return hasPluginEvidenceForWebSearchProvider(providerId);

10841089

};

1085109010861091

const validateWebSearchProvider = () => {

@@ -1102,11 +1107,19 @@ function validateConfigObjectWithPluginsBase(

11021107

(entry) => entry.provider.id === trimmed,

11031108

);

11041109

if (installCatalogEntry) {

1105-

issues.push({

1110+

const issue = {

11061111

path,

11071112

message: `web_search provider is not available: ${trimmed} (install or enable plugin "${installCatalogEntry.pluginId}", then run openclaw doctor --fix)`,

11081113

allowedValues: collectKnownWebSearchProviderIds(),

1109-

});

1114+

};

1115+

if (hasPluginEvidenceForWebSearchProvider(trimmed, installCatalogEntry.pluginId)) {

1116+

warnings.push({

1117+

...issue,

1118+

message: `web_search provider is not available: ${trimmed} (configured plugin "${installCatalogEntry.pluginId}" is unavailable; Gateway will ignore this optional provider until the plugin is installed/enabled or openclaw doctor --fix repairs the config)`,

1119+

});

1120+

return;

1121+

}

1122+

issues.push(issue);

11101123

return;

11111124

}

11121125

const allowedValues = collectKnownWebSearchProviderIds();