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

推荐订阅源

J
Java Code Geeks
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
A
About on SuperTechFans
Vercel News
Vercel News
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
S
SegmentFault 最新的问题
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
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: keep bundled OpenClaw plugins image-owned · openclaw...
fuller-stack · 2026-05-27 · via Recent Commits to openclaw:main

@@ -1054,6 +1054,7 @@ describe("plugins cli install", () => {

10541054

const enabledCfg = createEnabledPluginConfig("discord");

1055105510561056

loadConfig.mockReturnValue(cfg);

1057+

findBundledPluginSourceMock.mockReturnValue(undefined);

10571058

installPluginFromNpmSpec.mockResolvedValue(createNpmPluginInstallResult("discord"));

10581059

enablePluginInConfig.mockReturnValue({ config: enabledCfg });

10591060

recordPluginInstall.mockReturnValue(enabledCfg);

@@ -1070,11 +1071,60 @@ describe("plugins cli install", () => {

10701071

expect(installPluginFromClawHub).not.toHaveBeenCalled();

10711072

});

107210731074+

it("uses bundled OpenClaw package specs instead of pinning stale managed npm overrides", async () => {

1075+

const cfg = createEmptyPluginConfig();

1076+

const enabledCfg = createEnabledPluginConfig("discord");

1077+

const bundledPath = "/app/dist/extensions/discord";

1078+1079+

loadConfig.mockReturnValue(cfg);

1080+

findBundledPluginSourceMock.mockImplementation(

1081+

({ lookup }: { lookup: { kind: "pluginId" | "npmSpec"; value: string } }) =>

1082+

lookup.kind === "npmSpec" && lookup.value === "@openclaw/discord"

1083+

? {

1084+

pluginId: "discord",

1085+

localPath: bundledPath,

1086+

npmSpec: "@openclaw/discord",

1087+

version: "2026.5.24-beta.2",

1088+

}

1089+

: undefined,

1090+

);

1091+

enablePluginInConfig.mockReturnValue({ config: enabledCfg });

1092+

recordPluginInstall.mockReturnValue(enabledCfg);

1093+

applyExclusiveSlotSelection.mockReturnValue({

1094+

config: enabledCfg,

1095+

warnings: [],

1096+

});

1097+1098+

await runPluginsCommand([

1099+

"plugins",

1100+

"install",

1101+

"@openclaw/discord@2026.5.20",

1102+

"--pin",

1103+

"--force",

1104+

]);

1105+1106+

expect(installPluginFromNpmSpec).not.toHaveBeenCalled();

1107+

expect(findBundledPluginSourceMock).toHaveBeenCalledWith({

1108+

lookup: { kind: "npmSpec", value: "@openclaw/discord@2026.5.20" },

1109+

});

1110+

expect(findBundledPluginSourceMock).toHaveBeenCalledWith({

1111+

lookup: { kind: "npmSpec", value: "@openclaw/discord" },

1112+

});

1113+

const record = persistedInstallRecord("discord");

1114+

expect(record.source).toBe("path");

1115+

expect(record.spec).toBe("@openclaw/discord@2026.5.20");

1116+

expect(record.sourcePath).toBe(bundledPath);

1117+

expect(record.installPath).toBe(bundledPath);

1118+

expect(runtimeLogsContain("ships with the current OpenClaw build")).toBe(true);

1119+

expect(runtimeLogsContain("npm:@openclaw/discord@2026.5.20")).toBe(true);

1120+

});

1121+10731122

it("marks catalog npm package installs with alternate selectors as trusted", async () => {

10741123

const cfg = createEmptyPluginConfig();

10751124

const enabledCfg = createEnabledPluginConfig("wecom-openclaw-plugin");

1076112510771126

loadConfig.mockReturnValue(cfg);

1127+

findBundledPluginSourceMock.mockReturnValue(undefined);

10781128

installPluginFromNpmSpec.mockResolvedValue(

10791129

createNpmPluginInstallResult("wecom-openclaw-plugin"),

10801130

);