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

推荐订阅源

H
Help Net Security
月光博客
月光博客
IT之家
IT之家
B
Blog RSS Feed
T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
博客园_首页
B
Blog
V
V2EX
腾讯CDC
Vercel News
Vercel News
量子位
Microsoft Security Blog
Microsoft Security 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(plugins): hydrate bundled channel config metadata · o...
vincentkoc · 2026-04-27 · via Recent Commits to openclaw:main

@@ -158,6 +158,12 @@ export type PluginManifestRegistry = {

158158

diagnostics: PluginDiagnostic[];

159159

};

160160161+

export type BundledChannelConfigCollector = (params: {

162+

pluginDir: string;

163+

manifest: PluginManifest;

164+

packageManifest?: OpenClawPackageManifest;

165+

}) => Record<string, PluginManifestChannelConfig> | undefined;

166+161167

const registryCache = pluginManifestRegistryCache as Map<

162168

string,

163169

{ expiresAt: number; registry: PluginManifestRegistry }

@@ -293,9 +299,18 @@ function buildRecord(params: {

293299

manifestPath: string;

294300

schemaCacheKey?: string;

295301

configSchema?: Record<string, unknown>;

302+

bundledChannelConfigCollector?: BundledChannelConfigCollector;

296303

}): PluginManifestRecord {

304+

const manifestChannelConfigs =

305+

params.candidate.origin === "bundled" && params.bundledChannelConfigCollector

306+

? params.bundledChannelConfigCollector({

307+

pluginDir: params.candidate.packageDir ?? params.candidate.rootDir,

308+

manifest: params.manifest,

309+

packageManifest: params.candidate.packageManifest,

310+

})

311+

: params.manifest.channelConfigs;

297312

const channelConfigs = mergePackageChannelMetaIntoChannelConfigs({

298-

channelConfigs: params.manifest.channelConfigs,

313+

channelConfigs: manifestChannelConfigs,

299314

packageChannel: params.candidate.packageManifest?.channel,

300315

});

301316

const packageChannelCommands = normalizePackageChannelCommands(

@@ -542,14 +557,18 @@ export function loadPluginManifestRegistry(

542557

candidates?: PluginCandidate[];

543558

diagnostics?: PluginDiagnostic[];

544559

installRecords?: Record<string, PluginInstallRecord>;

560+

bundledChannelConfigCollector?: BundledChannelConfigCollector;

545561

} = {},

546562

): PluginManifestRegistry {

547563

const config = params.config ?? {};

548564

const normalized = normalizePluginsConfigWithResolver(config.plugins);

549565

const env = params.env ?? process.env;

550566

const cacheKey = buildCacheKey({ workspaceDir: params.workspaceDir, plugins: normalized, env });

551567

const cacheEnabled =

552-

params.cache !== false && !params.installRecords && shouldUseManifestCache(env);

568+

params.cache !== false &&

569+

!params.installRecords &&

570+

!params.bundledChannelConfigCollector &&

571+

shouldUseManifestCache(env);

553572

if (cacheEnabled) {

554573

const cached = registryCache.get(cacheKey);

555574

if (cached && cached.expiresAt > Date.now()) {

@@ -659,6 +678,9 @@ export function loadPluginManifestRegistry(

659678

manifestPath: manifestRes.manifestPath,

660679

schemaCacheKey,

661680

configSchema,

681+

...(params.bundledChannelConfigCollector

682+

? { bundledChannelConfigCollector: params.bundledChannelConfigCollector }

683+

: {}),

662684

});

663685664686

const existing = seenIds.get(manifest.id);