mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:40:44 +00:00
Revert "fix(onboarding): prefer clawhub diagnostics installs"
This reverts commit 3338581c20.
This commit is contained in:
@@ -20,7 +20,6 @@ Docs: https://docs.openclaw.ai
|
||||
### Fixes
|
||||
|
||||
- Plugins/onboarding: trust optional official plugin and web-search installs selected from the official catalog so npm security scanning treats them like other source-linked official install paths. Thanks @vincentkoc.
|
||||
- Plugins/onboarding: default official diagnostics plugin choices to ClawHub while keeping npm fallback metadata, matching the intended storepack-first install path. Thanks @vincentkoc.
|
||||
- Microsoft Teams: persist sent-message markers across Gateway restarts so follow-up replies to recent bot messages keep resolving the original conversation instead of dropping out after restart, with marker TTLs preserved on best-effort recovery. (#75585) Thanks @amknight.
|
||||
- Matrix: persist pending approval reaction targets across Gateway restarts so room approvers can still approve or deny outstanding prompts after OpenClaw comes back online. (#75586) Thanks @amknight.
|
||||
- Channels/onboarding: map third-party official WeCom and Yuanbao catalog entries to their published plugin ids so npm installs pass expected-plugin validation. Thanks @vincentkoc.
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"install": {
|
||||
"clawhubSpec": "clawhub:@openclaw/diagnostics-otel",
|
||||
"npmSpec": "@openclaw/diagnostics-otel",
|
||||
"defaultChoice": "clawhub",
|
||||
"defaultChoice": "npm",
|
||||
"minHostVersion": ">=2026.4.25"
|
||||
}
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
"install": {
|
||||
"clawhubSpec": "clawhub:@openclaw/diagnostics-prometheus",
|
||||
"npmSpec": "@openclaw/diagnostics-prometheus",
|
||||
"defaultChoice": "clawhub",
|
||||
"defaultChoice": "npm",
|
||||
"minHostVersion": ">=2026.4.25"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,24 +69,6 @@ describe("formatInstallHint", () => {
|
||||
).toBe("npm, with ClawHub fallback");
|
||||
});
|
||||
|
||||
it("keeps catalog diagnostics installs ClawHub first with npm fallback", () => {
|
||||
const diagnostics = resolveOfficialPluginOnboardingInstallEntries({ config: {} }).filter(
|
||||
(entry) => entry.pluginId.startsWith("diagnostics-"),
|
||||
);
|
||||
|
||||
expect(diagnostics).toHaveLength(2);
|
||||
for (const entry of diagnostics) {
|
||||
expect(entry.install).toEqual(
|
||||
expect.objectContaining({
|
||||
clawhubSpec: expect.stringMatching(/^clawhub:@openclaw\/diagnostics-/u),
|
||||
npmSpec: expect.stringMatching(/^@openclaw\/diagnostics-/u),
|
||||
defaultChoice: "clawhub",
|
||||
}),
|
||||
);
|
||||
expect(__testing.formatInstallHint(entry.install)).toBe("ClawHub, with npm fallback");
|
||||
}
|
||||
});
|
||||
|
||||
it("keeps dual-source clawhub-default installs ClawHub first", () => {
|
||||
expect(
|
||||
__testing.formatInstallHint({
|
||||
@@ -134,7 +116,7 @@ describe("setupOfficialPluginInstalls", () => {
|
||||
install: expect.objectContaining({
|
||||
clawhubSpec: "clawhub:@openclaw/diagnostics-otel",
|
||||
npmSpec: "@openclaw/diagnostics-otel",
|
||||
defaultChoice: "clawhub",
|
||||
defaultChoice: "npm",
|
||||
}),
|
||||
}),
|
||||
promptInstall: false,
|
||||
|
||||
Reference in New Issue
Block a user