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

推荐订阅源

Y
Y Combinator Blog
宝玉的分享
宝玉的分享
月光博客
月光博客
小众软件
小众软件
Jina AI
Jina AI
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Blog — PlanetScale
Blog — PlanetScale

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(channels): remove stale bundled channel helpers ...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main

@@ -197,7 +197,7 @@ afterEach(() => {

197197

describe("bundled channel entry shape guards", () => {

198198

const bundledPluginRoots = listSourceBundledPluginRoots();

199199

let realBundledSourceTreeProbe: {

200-

hasAccountInspect: boolean;

200+

hasAccountInspector: boolean;

201201

pluginIds: readonly string[];

202202

};

203203

@@ -221,7 +221,7 @@ describe("bundled channel entry shape guards", () => {

221221

"./bundled.js?scope=real-bundled-source-tree-preload",

222222

);

223223

realBundledSourceTreeProbe = {

224-

hasAccountInspect: bundled.hasBundledChannelEntryFeature("slack", "accountInspect"),

224+

hasAccountInspector: typeof bundled.getBundledChannelAccountInspector("slack") === "function",

225225

pluginIds: [...bundled.listBundledChannelPluginIds()],

226226

};

227227

});

@@ -256,7 +256,7 @@ describe("bundled channel entry shape guards", () => {

256256257257

it("loads real bundled channel entry contracts from the source tree", async () => {

258258

expect(realBundledSourceTreeProbe.pluginIds).toEqual(["slack"]);

259-

expect(realBundledSourceTreeProbe.hasAccountInspect).toBe(true);

259+

expect(realBundledSourceTreeProbe.hasAccountInspector).toBe(true);

260260

});

261261262262

it("fills sparse bundled channel plugin metadata from package metadata", async () => {

@@ -316,12 +316,12 @@ describe("bundled channel entry shape guards", () => {

316316

"./bundled.js?scope=bundled-package-metadata",

317317

);

318318319-

const plugin = bundled.requireBundledChannelPlugin("alpha");

320-

expect(plugin.meta.id).toBe("alpha");

321-

expect(plugin.meta.label).toBe("Alpha");

322-

expect(plugin.meta.selectionLabel).toBe("Use Alpha");

323-

expect(plugin.meta.docsPath).toBe("/channels/alpha");

324-

expect(plugin.meta.blurb).toBe("Alpha channel metadata.");

319+

const plugin = bundled.getBundledChannelPlugin("alpha");

320+

expect(plugin?.meta.id).toBe("alpha");

321+

expect(plugin?.meta.label).toBe("Alpha");

322+

expect(plugin?.meta.selectionLabel).toBe("Use Alpha");

323+

expect(plugin?.meta.docsPath).toBe("/channels/alpha");

324+

expect(plugin?.meta.blurb).toBe("Alpha channel metadata.");

325325

} finally {

326326

restoreBundledPluginsDir(previousBundledPluginsDir);

327327

fs.rmSync(tempRoot, { recursive: true, force: true });

@@ -392,7 +392,7 @@ describe("bundled channel entry shape guards", () => {

392392

expect(metadataRootDir).toBe(tempRoot);

393393

expect(generatedRootDir).toBe(tempRoot);

394394

expect(testGlobal["__bundledOverrideRuntime"]).toBe("ok");

395-

expect(bundled.requireBundledChannelPlugin("alpha").id).toBe("alpha");

395+

expect(bundled.getBundledChannelPlugin("alpha")?.id).toBe("alpha");

396396

} finally {

397397

restoreBundledPluginsDir(previousBundledPluginsDir);

398398

fs.rmSync(tempRoot, { recursive: true, force: true });

@@ -459,7 +459,7 @@ describe("bundled channel entry shape guards", () => {

459459

"./bundled.js?scope=bundled-package-local-dist-sdk-alias",

460460

);

461461462-

expect(bundled.requireBundledChannelPlugin("alpha").meta.label).toBe("Package dist Alpha");

462+

expect(bundled.getBundledChannelPlugin("alpha")?.meta.label).toBe("Package dist Alpha");

463463

} finally {

464464

fs.rmSync(root, { recursive: true, force: true });

465465

}

@@ -514,7 +514,7 @@ describe("bundled channel entry shape guards", () => {

514514

"./bundled.js?scope=bundled-direct-dist-sdk-alias",

515515

);

516516517-

expect(bundled.requireBundledChannelPlugin("alpha").meta.label).toBe("Direct dist Alpha");

517+

expect(bundled.getBundledChannelPlugin("alpha")?.meta.label).toBe("Direct dist Alpha");

518518

} finally {

519519

restoreBundledPluginsDir(previousBundledPluginsDir);

520520

fs.rmSync(root, { recursive: true, force: true });

@@ -588,7 +588,7 @@ describe("bundled channel entry shape guards", () => {

588588

expect(generatedRootDir).toBe(pluginsRoot);

589589

expect(generatedScanDir).toBe(pluginsRoot);

590590

expect(testGlobal["__bundledOverrideRuntime"]).toBe("ok");

591-

expect(bundled.requireBundledChannelPlugin("alpha").id).toBe("alpha");

591+

expect(bundled.getBundledChannelPlugin("alpha")?.id).toBe("alpha");

592592

} finally {

593593

restoreBundledPluginsDir(previousBundledPluginsDir);

594594

fs.rmSync(tempRoot, { recursive: true, force: true });

@@ -673,7 +673,7 @@ describe("bundled channel entry shape guards", () => {

673673

);

674674675675

process.env.OPENCLAW_BUNDLED_PLUGINS_DIR = path.join(rootA, "dist", "extensions");

676-

expect(bundled.requireBundledChannelPlugin("alpha").meta.label).toBe("Alpha A");

676+

expect(bundled.getBundledChannelPlugin("alpha")?.meta.label).toBe("Alpha A");

677677

expect(bundled.getBundledChannelSetupPlugin("alpha")?.meta.label).toBe("Setup A");

678678

expect(bundled.getBundledChannelSecrets("alpha")?.secretTargetRegistryEntries?.[0]?.id).toBe(

679679

"channels.alpha.A.entry-token",

@@ -684,7 +684,7 @@ describe("bundled channel entry shape guards", () => {

684684

bundled.setBundledChannelRuntime("alpha", { marker: "first" } as never);

685685686686

process.env.OPENCLAW_BUNDLED_PLUGINS_DIR = path.join(rootB, "dist", "extensions");

687-

expect(bundled.requireBundledChannelPlugin("alpha").meta.label).toBe("Alpha B");

687+

expect(bundled.getBundledChannelPlugin("alpha")?.meta.label).toBe("Alpha B");

688688

expect(bundled.getBundledChannelSetupPlugin("alpha")?.meta.label).toBe("Setup B");

689689

expect(bundled.getBundledChannelSecrets("alpha")?.secretTargetRegistryEntries?.[0]?.id).toBe(

690690

"channels.alpha.B.entry-token",