Skip to content

openclaw: fix plugin id mismatch warning (manifest vs entry hint) #5

@openclaw-bitrouterai

Description

@openclaw-bitrouterai

Problem

Every OpenClaw command that loads the plugin prints:

Config warnings:
- plugins.entries.bitrouter: plugin bitrouter: plugin id mismatch (manifest uses "bitrouter", entry hints "openclaw-plugin")

This is cosmetic and non-blocking but appears on every run, which is noisy and may alarm users.

Root cause

The OpenClaw plugin manifest (openclaw.plugin.json) declares "id": "bitrouter", but the npm package name is @bitrouter/openclaw-plugin. OpenClaw derives the entry hint from the package name (openclaw-plugin) and compares it against the manifest id (bitrouter) — they don't match.

Location

openclaw/openclaw.plugin.json"id" field at the root.

Fix options

  1. Change the manifest id to match the package hint — set "id": "openclaw-plugin" (or whatever OpenClaw derives from @bitrouter/openclaw-plugin)
  2. Understand what hint OpenClaw derives — inspect the OpenClaw SDK source to see exactly how it computes the entry hint from the package name, then align the manifest id accordingly
  3. Keep "id": "bitrouter" and update the install entry key — if openclaw.json registers the plugin under key "bitrouter", ensure that matches the manifest

Acceptance criteria

  • No plugin id mismatch warning on any openclaw command
  • Plugin still loads correctly and all 73 tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions