Skip to content

Commit 39bc94e

Browse files
committed
fix(onboarding): trust official optional plugin installs
1 parent 6ae09d0 commit 39bc94e

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Docs: https://docs.openclaw.ai
1919

2020
### Fixes
2121

22+
- Plugins/onboarding: trust optional official plugin installs selected from the official catalog so npm security scanning treats them like other source-linked official install paths. Thanks @vincentkoc.
2223
- CLI/plugins: keep `plugins enable` and `plugins disable` from creating unconfigured channel config sections, so channel plugins with required setup fields no longer fail validation during lifecycle probes. Thanks @vincentkoc.
2324
- Agents/sessions: keep delayed `sessions_send` A2A replies alive after soft wait-window timeouts, while preserving terminal run timeouts and avoiding stale target replies in requester sessions. Fixes #76443. Thanks @ryswork1993 and @vincentkoc.
2425
- CLI/sessions: keep intentional empty agent replies silent after tool-delivered channel output, instead of surfacing a misleading "No reply from agent." fallback. Thanks @vincentkoc.

src/wizard/setup.official-plugins.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ describe("setupOfficialPluginInstalls", () => {
112112
expect.objectContaining({
113113
entry: expect.objectContaining({
114114
pluginId: "diagnostics-otel",
115+
trustedSourceLinkedOfficialInstall: true,
115116
install: expect.objectContaining({
116117
clawhubSpec: "clawhub:@openclaw/diagnostics-otel",
117118
npmSpec: "@openclaw/diagnostics-otel",

src/wizard/setup.official-plugins.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export type OfficialPluginOnboardingInstallEntry = {
1818
label: string;
1919
description?: string;
2020
install: PluginPackageInstall;
21+
trustedSourceLinkedOfficialInstall?: boolean;
2122
};
2223

2324
function isInstalledOrConfigured(config: OpenClawConfig, pluginId: string): boolean {
@@ -76,6 +77,7 @@ export function resolveOfficialPluginOnboardingInstallEntries(params: {
7677
label: resolveOfficialExternalPluginLabel(entry),
7778
...(entry.description ? { description: entry.description } : {}),
7879
install,
80+
trustedSourceLinkedOfficialInstall: true,
7981
});
8082
}
8183
return entries.toSorted((left, right) => left.label.localeCompare(right.label));

0 commit comments

Comments
 (0)