mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 04:09:32 +00:00
* plugins: clarify allowlist warning when entries don't match discovered ids When plugins.allow contains entries that do not match any discovered plugin id (for example a channel id like feishu instead of the real plugin id openclaw-lark), stop emitting the misleading "plugins.allow is empty" warning. Emit a specific mismatch warning that lists the unknown allow entries alongside the discovered plugin ids and points users at the plugin id rather than a channel id or npm package name. Refs #68352 * plugins: treat bundled plugin ids as valid allow entries Codex P2 on #68389: warnWhenAllowlistIsOpen computed allowHasMatch against the auto-discoverable (workspace + global) subset only, so a legitimate bundled-only allowlist like plugins.allow=['telegram'] would trip the new mismatch warning whenever any non-bundled plugin happened to be discoverable alongside it. Compare allow entries to every discovered plugin id (bundled + workspace + global) for both the short-circuit and the unmatched- entries computation. The warning text stays scoped to non-bundled auto-discoverable plugins; we just stop flagging bundled ids as 'does not match any discovered plugin ids'. Add a regression test that covers the bundled-only allowlist + non-bundled workspace plugin combination. Refs #68352 * chore: drop release-owned CHANGELOG entry (AGENTS.md: changelog is release-generated) * plugins: clarify allowlist warning when entries do not match plugin ids --------- Co-authored-by: Sean Sun <lyfuci11@gmail.com> Co-authored-by: openclaw-clownfish[bot] <280122609+openclaw-clownfish[bot]@users.noreply.github.com>