




















@@ -61,7 +61,7 @@ function cliInstallPath(pluginId: string): string {
61616262function useProfileExtensionsDir(): string {
6363process.env.OPENCLAW_STATE_DIR = PROFILE_STATE_ROOT;
64-return path.join(PROFILE_STATE_ROOT, "extensions");
64+return path.resolve(PROFILE_STATE_ROOT, "extensions");
6565}
66666767function createEnabledPluginConfig(pluginId: string): OpenClawConfig {
@@ -850,10 +850,10 @@ describe("plugins cli install", () => {
850850851851await runPluginsCommand(["plugins", "install", "wecom"]);
852852853-expect(npmInstallCall().spec).toBe("@wecom/wecom-openclaw-plugin@2026.4.23");
853+expect(npmInstallCall().spec).toBe("@wecom/wecom-openclaw-plugin@2026.5.7");
854854expect(npmInstallCall().expectedPluginId).toBe("wecom-openclaw-plugin");
855855expect(npmInstallCall().expectedIntegrity).toBe(
856-"sha512-bnzfdIEEu1/LFvcdyjaTkyxt27w6c7dqhkPezU62OWaqmcdFsUGR3T55USK/O9pIKsNcnL1Tnu1pqKYCWHFgWQ==",
856+"sha512-TCkP9as00WfEhgFWG8YL/rcmaWGIshAki2HQh83nTRccGfVBCoGjrEboTTqq3yDmK9koWTV11zi8u8A4dNtvug==",
857857);
858858expect(npmInstallCall().trustedSourceLinkedOfficialInstall).toBe(true);
859859});
@@ -896,15 +896,15 @@ describe("plugins cli install", () => {
896896installHooksFromNpmSpec.mockResolvedValue({
897897ok: false,
898898error:
899-"aborted: npm package integrity drift detected for @wecom/wecom-openclaw-plugin@2026.4.23",
899+"aborted: npm package integrity drift detected for @wecom/wecom-openclaw-plugin@2026.5.7",
900900});
901901902902await expect(runPluginsCommand(["plugins", "install", "wecom"])).rejects.toThrow("__exit__:1");
903903904904expect(npmInstallCall().trustedSourceLinkedOfficialInstall).toBe(true);
905-expect(hookNpmInstallCall().spec).toBe("@wecom/wecom-openclaw-plugin@2026.4.23");
905+expect(hookNpmInstallCall().spec).toBe("@wecom/wecom-openclaw-plugin@2026.5.7");
906906expect(hookNpmInstallCall().expectedIntegrity).toBe(
907-"sha512-bnzfdIEEu1/LFvcdyjaTkyxt27w6c7dqhkPezU62OWaqmcdFsUGR3T55USK/O9pIKsNcnL1Tnu1pqKYCWHFgWQ==",
907+"sha512-TCkP9as00WfEhgFWG8YL/rcmaWGIshAki2HQh83nTRccGfVBCoGjrEboTTqq3yDmK9koWTV11zi8u8A4dNtvug==",
908908);
909909});
910910此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。