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

推荐订阅源

爱范儿
爱范儿
腾讯CDC
博客园 - 司徒正美
A
About on SuperTechFans
H
Help Net Security
J
Java Code Geeks
C
Check Point Blog
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
MyScale Blog
MyScale Blog
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
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): scope tool registry reuse to plugin plan · ...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -165,7 +165,7 @@ describe("getCompatibleActivePluginRegistry", () => {

165165

).toBeUndefined();

166166

});

167167168-

it("reuses a scoped gateway-bindable registry for an unscoped default-mode request", () => {

168+

it("reuses a scoped gateway-bindable registry for a matching default-mode tool scope", () => {

169169

const registry = createEmptyPluginRegistry();

170170

registry.plugins.push(

171171

{ id: "acpx" } as (typeof registry.plugins)[number],

@@ -190,11 +190,12 @@ describe("getCompatibleActivePluginRegistry", () => {

190190

__testing.getCompatibleActivePluginRegistry({

191191

config: startupOptions.config,

192192

workspaceDir: "/tmp/workspace-a",

193+

onlyPluginIds: ["acpx", "telegram"],

193194

}),

194195

).toBe(registry);

195196

});

196197197-

it("reuses a scoped gateway-bindable registry for an unscoped snapshot-mode request", () => {

198+

it("reuses a scoped gateway-bindable registry for a matching snapshot-mode tool scope", () => {

198199

const registry = createEmptyPluginRegistry();

199200

registry.plugins.push(

200201

{ id: "acpx" } as (typeof registry.plugins)[number],

@@ -219,18 +220,52 @@ describe("getCompatibleActivePluginRegistry", () => {

219220

__testing.getCompatibleActivePluginRegistry({

220221

config: startupOptions.config,

221222

workspaceDir: "/tmp/workspace-a",

223+

onlyPluginIds: ["acpx", "telegram"],

222224

activate: false,

223225

}),

224226

).toBe(registry);

225227

});

226228227-

it("does not reuse a scoped registry when plugin IDs differ", () => {

229+

it("does not reuse a scoped registry when the requested tool scope needs another plugin", () => {

228230

const registry = createEmptyPluginRegistry();

229-

registry.plugins.push({ id: "acpx" } as (typeof registry.plugins)[number]);

231+

registry.plugins.push(

232+

{ id: "acpx" } as (typeof registry.plugins)[number],

233+

{ id: "telegram" } as (typeof registry.plugins)[number],

234+

);

230235

const startupOptions = {

231236

config: {

232237

plugins: {

233-

allow: ["acpx", "telegram"],

238+

allow: ["acpx", "telegram", "tavily"],

239+

},

240+

},

241+

workspaceDir: "/tmp/workspace-a",

242+

onlyPluginIds: ["acpx", "telegram"],

243+

runtimeOptions: {

244+

allowGatewaySubagentBinding: true,

245+

},

246+

};

247+

const { cacheKey } = __testing.resolvePluginLoadCacheContext(startupOptions);

248+

setActivePluginRegistry(registry, cacheKey, "gateway-bindable");

249+250+

expect(

251+

__testing.getCompatibleActivePluginRegistry({

252+

config: startupOptions.config,

253+

workspaceDir: "/tmp/workspace-a",

254+

onlyPluginIds: ["acpx", "telegram", "tavily"],

255+

}),

256+

).toBeUndefined();

257+

});

258+259+

it("does not treat an unscoped request as compatible with the scoped startup registry", () => {

260+

const registry = createEmptyPluginRegistry();

261+

registry.plugins.push(

262+

{ id: "acpx" } as (typeof registry.plugins)[number],

263+

{ id: "telegram" } as (typeof registry.plugins)[number],

264+

);

265+

const startupOptions = {

266+

config: {

267+

plugins: {

268+

allow: ["acpx", "telegram", "tavily"],

234269

},

235270

},

236271

workspaceDir: "/tmp/workspace-a",

@@ -309,6 +344,7 @@ describe("getCompatibleActivePluginRegistry", () => {

309344

__testing.getCompatibleActivePluginRegistry({

310345

config: startupOptions.config,

311346

workspaceDir: "/tmp/workspace-a",

347+

onlyPluginIds: ["acpx", "telegram"],

312348

}),

313349

).toBe(registry);

314350

});