Skip to content

[Bug]: Duplicate plugin id warning for npm-installed feishu plugin on every startup #48605

@niesenhd

Description

@niesenhd

Bug type

Behavior bug (incorrect output/state without crash)

Summary

Npm-installed feishu plugin (@openclaw/feishu) produces a "duplicate plugin id detected" warning on every gateway startup. Both plugins.installs.feishu and auto-generated plugins.entries.feishu register the same plugin ID "feishu".

Steps to reproduce

  1. Install feishu plugin: openclaw plugins install @openclaw/feishu
  2. Start gateway: openclaw gateway start
  3. Run openclaw gateway status and observe warnings in output

Expected behavior

The feishu plugin should only be registered once without producing duplicate warnings.

Actual behavior

Warning appears 4 times during startup:

plugins.entries.feishu: plugin feishu: duplicate plugin id detected; later plugin may be overridden (C:\Users\TY\.openclaw\extensions\feishu\index.ts)

Deleting plugins.entries.feishu from openclaw.json does not help — it is regenerated on each gateway restart.

OpenClaw version

2026.3.13 (61d171a)

Operating system

Windows 10 (19045, x64)

Install method

npm global

Model

N/A (plugin issue, not model-specific)

Provider / routing chain

N/A

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

Affected: All users who installed the feishu plugin via npm
Severity: Low (annoying, does not block functionality)
Frequency: 100% repro on every gateway startup
Consequence: Clutters status output, may confuse users

Additional information

Plugin: @openclaw/feishu@2026.3.13
Node.js: v24.14.0
Config file: ~/.openclaw/openclaw.json

The plugin is registered twice: once from plugins.installs.feishu (npm install record) and once from plugins.entries.feishu (auto-generated on startup). Deleting the entries entry doesn't help because it's regenerated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions