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

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
L
LangChain Blog
博客园 - Franky
美团技术团队
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
小众软件
小众软件
Y
Y Combinator Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News

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
refactor: reuse manifest catalog provider refs · openclaw...
shakkernerd · 2026-04-28 · via Recent Commits to openclaw:main

@@ -176,6 +176,19 @@ function buildModelCatalogProviderAliasTargets(

176176

return aliasesByTargetProvider;

177177

}

178178179+

function buildModelCatalogProviderRefs(plugin: ManifestModelCatalogPlugin): ReadonlySet<string> {

180+

const ownedProviders = buildOwnedProviderSet(plugin);

181+

const refs = new Set(ownedProviders);

182+

for (const [rawAlias, alias] of Object.entries(plugin.modelCatalog?.aliases ?? {})) {

183+

const aliasProvider = normalizeModelCatalogProviderId(rawAlias);

184+

const targetProvider = normalizeModelCatalogProviderId(alias.provider);

185+

if (aliasProvider && targetProvider && ownedProviders.has(targetProvider)) {

186+

refs.add(aliasProvider);

187+

}

188+

}

189+

return refs;

190+

}

191+179192

function applyModelCatalogAliasOverrides(params: {

180193

rows: readonly NormalizedModelCatalogRow[];

181194

alias?: ModelCatalogAlias;

@@ -190,27 +203,6 @@ function applyModelCatalogAliasOverrides(params: {

190203

}));

191204

}

192205193-

function pluginOwnsModelCatalogProviderRef(params: {

194-

plugin: ManifestModelCatalogPlugin;

195-

provider: string;

196-

}): boolean {

197-

const provider = normalizeModelCatalogProviderId(params.provider);

198-

if (!provider) {

199-

return false;

200-

}

201-

const ownedProviders = buildOwnedProviderSet(params.plugin);

202-

if (ownedProviders.has(provider)) {

203-

return true;

204-

}

205-

return Object.entries(params.plugin.modelCatalog?.aliases ?? {}).some(([rawAlias, alias]) => {

206-

const aliasProvider = normalizeModelCatalogProviderId(rawAlias);

207-

const targetProvider = normalizeModelCatalogProviderId(alias.provider);

208-

return (

209-

aliasProvider === provider && Boolean(targetProvider) && ownedProviders.has(targetProvider)

210-

);

211-

});

212-

}

213-214206

export function planManifestModelCatalogSuppressions(params: {

215207

registry: ManifestModelCatalogRegistry;

216208

providerFilter?: string;

@@ -224,6 +216,7 @@ export function planManifestModelCatalogSuppressions(params: {

224216

: undefined;

225217

const suppressions: ManifestModelCatalogSuppressionEntry[] = [];

226218

for (const plugin of params.registry.plugins) {

219+

const providerRefs = buildModelCatalogProviderRefs(plugin);

227220

for (const suppression of plugin.modelCatalog?.suppressions ?? []) {

228221

const provider = normalizeModelCatalogProviderId(suppression.provider);

229222

const model = normalizeLowercaseStringOrEmpty(suppression.model);

@@ -236,7 +229,7 @@ export function planManifestModelCatalogSuppressions(params: {

236229

if (modelFilter && model !== modelFilter) {

237230

continue;

238231

}

239-

if (!pluginOwnsModelCatalogProviderRef({ plugin, provider })) {

232+

if (!providerRefs.has(provider)) {

240233

continue;

241234

}

242235

suppressions.push({