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

推荐订阅源

V
Visual Studio Blog
N
Netflix TechBlog - Medium
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
IT之家
IT之家
博客园 - Franky
雷峰网
雷峰网
博客园 - 聂微东
腾讯CDC
M
MIT News - Artificial intelligence
B
Blog RSS Feed
博客园_首页
罗磊的独立博客
S
SegmentFault 最新的问题
I
InfoQ
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
D
Docker
宝玉的分享
宝玉的分享
B
Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

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
test: avoid deepseek loader cold path · openclaw/openclaw...
steipete · 2026-05-06 · via Recent Commits to openclaw:main

@@ -2361,23 +2361,78 @@ module.exports = { id: "throws-after-import", register() {} };`,

23612361

).toBe(true);

23622362

});

236323632364-

it("can scope bundled provider loads to deepseek without hanging", () => {

2364+

it("can scope bundled provider loads without hanging", () => {

2365+

const bundledDir = makeTempDir();

2366+

const scopedDir = path.join(bundledDir, "scoped-provider");

2367+

mkdirSafe(scopedDir);

2368+

fs.writeFileSync(

2369+

path.join(scopedDir, "package.json"),

2370+

JSON.stringify({

2371+

name: "@openclaw/scoped-provider",

2372+

openclaw: { extensions: ["./index.cjs"] },

2373+

}),

2374+

"utf-8",

2375+

);

2376+

const plugin = writePlugin({

2377+

id: "scoped-provider",

2378+

dir: scopedDir,

2379+

filename: "index.cjs",

2380+

body: `module.exports = {

2381+

id: "scoped-provider",

2382+

register(api) {

2383+

api.registerProvider({

2384+

id: "scoped-provider",

2385+

label: "Scoped Provider",

2386+

auth: [],

2387+

});

2388+

},

2389+

};`,

2390+

});

2391+

updatePluginManifest(plugin, { enabledByDefault: true, providers: ["scoped-provider"] });

2392+2393+

const unscopedDir = path.join(bundledDir, "unscoped-provider");

2394+

mkdirSafe(unscopedDir);

2395+

fs.writeFileSync(

2396+

path.join(unscopedDir, "package.json"),

2397+

JSON.stringify({

2398+

name: "@openclaw/unscoped-provider",

2399+

openclaw: { extensions: ["./index.cjs"] },

2400+

}),

2401+

"utf-8",

2402+

);

2403+

const unscoped = writePlugin({

2404+

id: "unscoped-provider",

2405+

dir: unscopedDir,

2406+

filename: "index.cjs",

2407+

body: `module.exports = {

2408+

id: "unscoped-provider",

2409+

register() {

2410+

throw new Error("unscoped provider should not load");

2411+

},

2412+

};`,

2413+

});

2414+

updatePluginManifest(unscoped, {

2415+

enabledByDefault: true,

2416+

providers: ["unscoped-provider"],

2417+

});

2418+

process.env.OPENCLAW_BUNDLED_PLUGINS_DIR = bundledDir;

2419+

delete process.env.OPENCLAW_DISABLE_BUNDLED_PLUGINS;

2420+23652421

const scoped = loadOpenClawPlugins({

23662422

cache: false,

23672423

activate: false,

2368-

pluginSdkResolution: "dist",

23692424

config: {

23702425

plugins: {

23712426

enabled: true,

2372-

allow: ["deepseek"],

2427+

allow: ["scoped-provider", "unscoped-provider"],

23732428

},

23742429

},

2375-

onlyPluginIds: ["deepseek"],

2430+

onlyPluginIds: ["scoped-provider"],

23762431

});

237724322378-

expect(scoped.plugins.map((entry) => entry.id)).toEqual(["deepseek"]);

2433+

expect(scoped.plugins.map((entry) => entry.id)).toEqual(["scoped-provider"]);

23792434

expect(scoped.plugins[0]?.status).toBe("loaded");

2380-

expect(scoped.providers.map((entry) => entry.provider.id)).toEqual(["deepseek"]);

2435+

expect(scoped.providers.map((entry) => entry.provider.id)).toEqual(["scoped-provider"]);

23812436

});

2382243723832438

it("does not replace active memory plugin registries during non-activating loads", () => {