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

推荐订阅源

腾讯CDC
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
I
InfoQ
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
有赞技术团队
有赞技术团队
G
Google Developers Blog
L
LangChain Blog
博客园_首页
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
月光博客
月光博客
IT之家
IT之家
量子位
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio 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
fix(plugins): clarify unavailable clawhub artifacts · ope...
vincentkoc · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -12,6 +12,7 @@ Docs: https://docs.openclaw.ai

1212
1313

### Fixes

1414
15+

- Plugins/ClawHub: explain unavailable explicit ClawHub ClawPack artifact downloads with a temporary npm install hint while ClawHub artifact routing rolls out. Thanks @vincentkoc.

1516

- Onboarding/search: install official external web-search plugins such as Brave before saving provider config, and make doctor repair reconcile selected external search providers whose npm payload is missing. Thanks @vincentkoc.

1617

- Plugins/externalization: add official npm-first catalogs for externalized channel, provider, and generic plugins, keep unpublished ACPX/Google Chat/LINE bundled, and make missing-plugin repair honor npm-first metadata while ClawHub pack files roll out. Thanks @vincentkoc.

1718

- Plugins/update: detect tracked plugin install records whose package directories disappeared during `openclaw update`, reinstall them before normal plugin updates, and fail the update if any install record still points at missing disk payloads.

Original file line numberDiff line numberDiff line change

@@ -555,6 +555,49 @@ describe("installPluginFromClawHub", () => {

555555

expect(archiveCleanupMock).toHaveBeenCalledTimes(1);

556556

});

557557
558+

it("points explicit ClawHub ClawPack download failures at npm during launch rollout", async () => {

559+

fetchClawHubPackageVersionMock.mockResolvedValueOnce({

560+

version: {

561+

version: "2026.3.22",

562+

createdAt: 0,

563+

changelog: "",

564+

compatibility: {

565+

pluginApiRange: ">=2026.3.22",

566+

minGatewayVersion: "2026.3.0",

567+

},

568+

artifact: {

569+

kind: "npm-pack",

570+

format: "tgz",

571+

sha256: DEMO_CLAWPACK_SHA256,

572+

},

573+

},

574+

});

575+

downloadClawHubPackageArchiveMock.mockRejectedValueOnce(

576+

new ClawHubRequestError({

577+

path: "/api/v1/packages/demo/versions/2026.3.22/artifact/download",

578+

status: 404,

579+

body: "Not Found",

580+

}),

581+

);

582+
583+

const result = await installPluginFromClawHub({

584+

spec: "clawhub:demo",

585+

baseUrl: "https://clawhub.ai",

586+

});

587+
588+

expect(result).toMatchObject({

589+

ok: false,

590+

error:

591+

'ClawHub artifact download for "demo@2026.3.22" is not available yet (ClawHub /api/v1/packages/demo/versions/2026.3.22/artifact/download failed (404): Not Found). Use "npm:demo@2026.3.22" for launch installs while ClawHub artifact routing is being rolled out.',

592+

});

593+

expect(downloadClawHubPackageArchiveMock).toHaveBeenCalledWith(

594+

expect.objectContaining({

595+

artifact: "clawpack",

596+

}),

597+

);

598+

expect(installPluginFromArchiveMock).not.toHaveBeenCalled();

599+

});

600+
558601

it("does not persist package-level ClawPack metadata for version records without ClawPack facts", async () => {

559602

parseClawHubPluginSpecMock.mockReturnValueOnce({ name: "demo", version: "2026.3.21" });

560603

fetchClawHubPackageDetailMock.mockResolvedValueOnce({

Original file line numberDiff line numberDiff line change

@@ -330,6 +330,18 @@ function mapClawHubRequestError(

330330

return buildClawHubInstallFailure(formatErrorMessage(error));

331331

}

332332
333+

function formatClawHubClawPackDownloadError(params: {

334+

error: unknown;

335+

packageName: string;

336+

version: string;

337+

}): string {

338+

const message = formatErrorMessage(params.error);

339+

if (!(params.error instanceof ClawHubRequestError)) {

340+

return message;

341+

}

342+

return `ClawHub artifact download for "${params.packageName}@${params.version}" is not available yet (${message}). Use "npm:${params.packageName}@${params.version}" for launch installs while ClawHub artifact routing is being rolled out.`;

343+

}

344+
333345

function resolveRequestedVersion(params: {

334346

detail: ClawHubPackageDetail;

335347

requestedVersion?: string;

@@ -1037,7 +1049,17 @@ export async function installPluginFromClawHub(

10371049

timeoutMs: params.timeoutMs,

10381050

});

10391051

} catch (error) {

1040-

return buildClawHubInstallFailure(formatErrorMessage(error));

1052+

// Fix-me(clawhub): remove this npm hint once ClawHub ClawPack artifact

1053+

// routing is live for official package installs.

1054+

return buildClawHubInstallFailure(

1055+

expectedClawPackSha256

1056+

? formatClawHubClawPackDownloadError({

1057+

error,

1058+

packageName: canonicalPackageName,

1059+

version: versionState.version,

1060+

})

1061+

: formatErrorMessage(error),

1062+

);

10411063

}

10421064

try {

10431065

if (expectedClawPackSha256) {