Repository navigation
fix(plugins): emit actionable install hint for externalized channel plugins (#77483) - #77502
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. source-reproducible: current main's warn-only missing plugin path emits stale/remove warnings for Next step before merge Security Review detailsBest possible solution: Merge the catalog-backed warning path, then keep any broader auto-install or upgrade-documentation policy follow-up on the linked issue if maintainers want more than diagnostic guidance. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main's warn-only missing plugin path emits stale/remove warnings for Is this the best way to solve the issue? Yes. Using the existing official external plugin catalog and install resolver is the narrowest maintainable fix, avoids startup or postinstall package-manager work, and preserves blocked-plugin and unknown-plugin behavior. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against a4f2bf273a21. |
ca553e7 to
fb35185
Compare
|
Updated this PR against latest Summary:
Verification:
GitHub Actions Testbox run for targeted proof: https://github.com/openclaw/openclaw/actions/runs/25344395895 |
fb35185 to
7bb69e1
Compare
|
Maintainer refresh for latest Summary:
Verification:
Pushed refreshed head: |
|
Landed after resolving the current
Thanks @hclsys! |
…lugins (openclaw#77502) Fixes openclaw#77483.\n\n- Suggest catalog-backed install commands for missing official external plugins in config validation.\n- Preserve stale/remove wording for non-catalog missing plugins.\n- Add regression coverage for plugins.entries and plugins.allow warnings.\n\nVerification:\n- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/config/validation.ts src/config/config.plugin-validation.test.ts\n- pnpm test src/config/config.plugin-validation.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.ts\n- pnpm crabbox:run -- --provider blacksmith-testbox ... pnpm check:changed\n- GitHub CI green on d1b1b10
…lugins (openclaw#77502) Fixes openclaw#77483.\n\n- Suggest catalog-backed install commands for missing official external plugins in config validation.\n- Preserve stale/remove wording for non-catalog missing plugins.\n- Add regression coverage for plugins.entries and plugins.allow warnings.\n\nVerification:\n- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/config/validation.ts src/config/config.plugin-validation.test.ts\n- pnpm test src/config/config.plugin-validation.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.ts\n- pnpm crabbox:run -- --provider blacksmith-testbox ... pnpm check:changed\n- GitHub CI green on d1b1b10
…lugins (openclaw#77502) Fixes openclaw#77483.\n\n- Suggest catalog-backed install commands for missing official external plugins in config validation.\n- Preserve stale/remove wording for non-catalog missing plugins.\n- Add regression coverage for plugins.entries and plugins.allow warnings.\n\nVerification:\n- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/config/validation.ts src/config/config.plugin-validation.test.ts\n- pnpm test src/config/config.plugin-validation.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.ts\n- pnpm crabbox:run -- --provider blacksmith-testbox ... pnpm check:changed\n- GitHub CI green on d1b1b10
…lugins (openclaw#77502) Fixes openclaw#77483.\n\n- Suggest catalog-backed install commands for missing official external plugins in config validation.\n- Preserve stale/remove wording for non-catalog missing plugins.\n- Add regression coverage for plugins.entries and plugins.allow warnings.\n\nVerification:\n- pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/config/validation.ts src/config/config.plugin-validation.test.ts\n- pnpm test src/config/config.plugin-validation.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.ts\n- pnpm crabbox:run -- --provider blacksmith-testbox ... pnpm check:changed\n- GitHub CI green on d1b1b10
Summary
plugins.entries.*andplugins.allowrefs now consult the official external plugin catalog and showopenclaw plugins install <spec>when the plugin is cataloged.Change Type
Scope
Linked Issue/PR
Root Cause
Regression Test Plan
src/config/config.plugin-validation.test.tssrc/commands/doctor/shared/missing-configured-plugin-install.test.tscovers doctor repair installation.User-visible / Behavior Changes
Missing configured official external plugins now warn like:
Diagram
Security Impact
Repro + Verification
Environment
Steps
plugins.entriesorplugins.allow.Expected
openclaw plugins install <catalog spec>.Actual Before
stale config entry ignored; remove it from plugins config.Evidence
Human Verification
plugins.entries.brave,plugins.allow.brave, existingplugins.allow.discord, and doctor missing-configured-plugin repair coverage.2026.4.27to2026.5.2.Review Conversations
Compatibility / Migration
Risks and Mitigations
src/plugins/official-external-plugin-catalog.tsinstead of a duplicated hardcoded map.Verification
pnpm exec oxfmt --check --threads=1 CHANGELOG.md src/config/validation.ts src/config/config.plugin-validation.test.tspnpm testbox:run --id tbx_01kqte3ztehvpxgbgykk83r20f -- env CI=1 NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 pnpm test:serial src/config/config.plugin-validation.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.tspnpm testbox:run --id tbx_01kqte3ztehvpxgbgykk83r20f -- env CI=1 NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_TEST_PROJECTS_PARALLEL=6 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 pnpm check:changed