openclaw - 💡(How to fix) Fix doctor --fix auto-installing feishu/lark plugins creates duplicate plugin ID conflict [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#77806Fetched 2026-05-06 06:21:05
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
2
Author
Timeline (top)
commented ×1

Error Message

WARN openclaw-lark: duplicate plugin id detected; global plugin will be overridden by global plugin

Code Example

Installed missing configured plugin "feishu" from @openclaw/feishu.
Installed missing configured plugin "openclaw-lark" from @larksuite/openclaw-lark.

---

WARN openclaw-lark: duplicate plugin id detected; global plugin will be overridden by global plugin
  (C:\Users\...\.openclaw\npm\node_modules\@larksuite\openclaw-lark\index.js)
  (C:\Users\...\.openclaw\extensions\feishu-openclaw-plugin\index.js)
RAW_BUFFERClick to expand / collapse

Bug Description

openclaw doctor --fix automatically installs @openclaw/feishu and @larksuite/openclaw-lark, but this creates a duplicate plugin ID conflict with an existing feishu-openclaw-plugin already present in the user's extensions directory.

Reproduction Steps

  1. Have plugins.entries.feishu or plugins.allow referencing feishu in config.
  2. Already have feishu-openclaw-plugin installed under ~/.openclaw/extensions/feishu-openclaw-plugin/.
  3. Run openclaw doctor --fix.

Observed Behavior

--fix installs packages:

Installed missing configured plugin "feishu" from @openclaw/feishu.
Installed missing configured plugin "openclaw-lark" from @larksuite/openclaw-lark.

Then doctor warns:

WARN openclaw-lark: duplicate plugin id detected; global plugin will be overridden by global plugin
  (C:\Users\...\.openclaw\npm\node_modules\@larksuite\openclaw-lark\index.js)
  (C:\Users\...\.openclaw\extensions\feishu-openclaw-plugin\index.js)

Expected Behavior

doctor --fix should:

  1. Detect that a plugin with the same ID (openclaw-lark / feishu) is already installed locally before installing another package.
  2. Prefer the local extension or ask the user, rather than silently creating an override conflict.
  3. Not install both @openclaw/feishu and @larksuite/openclaw-lark if they resolve to the same plugin ID — this suggests the plugin registry has redundant entries for the same functionality.

Environment

  • OS: Windows 10 Education 10.0.19045
  • OpenClaw: just upgraded to latest

Additional Context

The feishu/lark ecosystem is confusing:

  • @openclaw/feishu
  • @larksuite/openclaw-lark
  • feishu-openclaw-plugin (local extension)

All appear to be the same plugin under different names. doctor --fix should not amplify this confusion by installing duplicates.

extent analysis

TL;DR

The most likely fix is to modify the openclaw doctor --fix command to detect and handle duplicate plugin IDs before installing new packages.

Guidance

  • Verify the plugin registry for redundant entries and consider removing or merging them to prevent conflicts.
  • Before running openclaw doctor --fix, manually remove any duplicate plugins from the extensions directory to avoid override conflicts.
  • Consider adding a check in the openclaw doctor --fix command to prompt the user when a duplicate plugin ID is detected, allowing them to choose which plugin to keep.
  • Review the plugins.entries.feishu and plugins.allow configurations to ensure they are not referencing duplicate plugin IDs.

Example

No code snippet is provided as the issue is more related to the plugin management logic rather than a specific code error.

Notes

The fix may require changes to the openclaw doctor --fix command's logic to handle duplicate plugin IDs, which could involve updating the command's code or the plugin registry.

Recommendation

Apply a workaround by manually removing duplicate plugins and reviewing configurations before running openclaw doctor --fix, as the issue seems to be related to the plugin management logic rather than a version-specific bug.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix doctor --fix auto-installing feishu/lark plugins creates duplicate plugin ID conflict [1 comments, 2 participants]