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

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
J
Java Code Geeks
宝玉的分享
宝玉的分享
Jina AI
Jina AI
B
Blog
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
腾讯CDC
C
Check Point Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
罗磊的独立博客
B
Blog RSS Feed
WordPress大学
WordPress大学
小众软件
小众软件
博客园 - 叶小钗
M
MIT News - Artificial intelligence
GbyAI
GbyAI

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): preserve external capability provider fallb...
Conan-Scott · 2026-05-03 · via Recent Commits to openclaw:main

@@ -156,7 +156,8 @@ function collectActiveRegistryLookups() {

156156

Boolean(

157157

options &&

158158

typeof options === "object" &&

159-

Object.hasOwn(options as Record<string, unknown>, "onlyPluginIds"),

159+

Object.hasOwn(options as Record<string, unknown>, "onlyPluginIds") &&

160+

!Object.hasOwn(options as Record<string, unknown>, "activate"),

160161

),

161162

);

162163

}

@@ -471,6 +472,62 @@ describe("resolvePluginCapabilityProviders", () => {

471472

expect(mocks.loadBundledCapabilityRuntimeRegistry).not.toHaveBeenCalled();

472473

});

473474475+

it("cold-loads enabled external manifest-contract providers missing from startup registry", () => {

476+

const loaded = createEmptyPluginRegistry();

477+

loaded.speechProviders.push({

478+

pluginId: "fish-audio",

479+

pluginName: "Fish Audio",

480+

source: "test",

481+

provider: {

482+

id: "fish-audio",

483+

label: "Fish Audio",

484+

isConfigured: () => true,

485+

synthesize: async () => ({ kind: "audio", data: Buffer.from([]), mimeType: "audio/mpeg" }),

486+

},

487+

} as never);

488+

mocks.loadPluginRegistrySnapshot.mockReturnValue({

489+

plugins: [{ pluginId: "fish-audio", origin: "global", enabled: true }],

490+

});

491+

mocks.loadPluginManifestRegistry.mockReturnValue({

492+

plugins: [

493+

{

494+

id: "fish-audio",

495+

origin: "global",

496+

enabledByDefault: false,

497+

contracts: { speechProviders: ["fish-audio"] },

498+

},

499+

],

500+

diagnostics: [],

501+

});

502+

mocks.resolveRuntimePluginRegistry.mockImplementation((options?: unknown) => {

503+

if (

504+

options &&

505+

typeof options === "object" &&

506+

(options as { activate?: unknown }).activate === false

507+

) {

508+

return loaded;

509+

}

510+

return undefined;

511+

});

512+513+

const provider = resolvePluginCapabilityProvider({

514+

key: "speechProviders",

515+

providerId: "fish-audio",

516+

});

517+518+

expect(provider?.id).toBe("fish-audio");

519+

expect(mocks.resolveRuntimePluginRegistry).toHaveBeenCalledWith({

520+

onlyPluginIds: ["fish-audio"],

521+

});

522+

expect(mocks.resolveRuntimePluginRegistry).toHaveBeenCalledWith(

523+

expect.objectContaining({

524+

activate: false,

525+

onlyPluginIds: ["fish-audio"],

526+

}),

527+

);

528+

expect(mocks.loadBundledCapabilityRuntimeRegistry).not.toHaveBeenCalled();

529+

});

530+474531

it("uses active non-speech capability providers even when cfg has explicit plugin entries", () => {

475532

const active = createEmptyPluginRegistry();

476533

active.mediaUnderstandingProviders.push({