openclaw - ✅(Solved) Fix feat: allow channel plugins to expose a configurable label/displayName [1 pull requests, 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#83930Fetched 2026-05-20 03:46:25
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
1
Timeline (top)
closed ×1commented ×1cross-referenced ×1labeled ×1

Fix Action

Fixed

PR fix notes

PR #170: chore: shorten channel label from "openclaw-weixin" to "WeChat"

Description (problem / solution / changelog)

Summary

Shorten the channel display label from openclaw-weixin to WeChat for a cleaner session list in Control UI.

Problem

Session titles in Control UI are excessively long:

agent:main:openclaw-weixin:direct:[email protected]

The openclaw-weixin segment comes from meta.label in the plugin. For comparison, Telegram and Discord plugins use short labels ("Telegram", "Discord").

Changes

  • src/channel.ts: meta.label, meta.selectionLabel, meta.docsLabel → "WeChat"
  • openclaw.plugin.json: channelConfigs.openclaw-weixin.label → "WeChat"
  • package.json: openclaw.channel.label, selectionLabel, docsLabel → "WeChat"

The plugin id remains openclaw-weixin (no breaking change to config or session keys).

Related

  • openclaw/openclaw#83930 (upstream feature request for user-configurable channel labels)

Changed files

  • openclaw.plugin.json (modified, +1/-1)
  • package.json (modified, +3/-3)
  • src/channel.ts (modified, +3/-3)

Code Example

agent:main:openclaw-weixin:direct:o9cq80-pjknon-f6onuzhryb9siy@im.wechat

---

// openclaw.json
{
  channels: {
    "openclaw-weixin": {
      label: "WeChat"  // user-friendly display name
    }
  }
}
RAW_BUFFERClick to expand / collapse

Feature Request: Configurable Channel Label

Problem

The WeChat channel plugin (openclaw-weixin) generates very long session keys/titles like:

agent:main:openclaw-weixin:direct:[email protected]

The channel id openclaw-weixin is baked into the plugin source code as meta.label. Users cannot customize this display name.

For comparison:

  • Telegram shows as "Telegram" (clean)
  • Discord shows as "Discord" (clean)
  • WeChat shows as "openclaw-weixin" (verbose, technical)

Proposed Solution

Add an optional label field to the channel config schema at channels.<channelId>.label, so users can set:

// openclaw.json
{
  channels: {
    "openclaw-weixin": {
      label: "WeChat"  // user-friendly display name
    }
  }
}

This should:

  1. Accept an optional string in channels.* config objects (the schema at root level already has additionalProperties: true for channels)
  2. Pass through to the session manager for UI display
  3. Fall back to the plugin's meta.label when not configured

Why It Matters

  • Cleaner Control UI session list
  • Better UX for multi-channel users
  • Consistent with Telegram/Discord's short, readable display names

Notes

  • The WeChat plugin (@tencent-weixin/openclaw-weixin v2.4.3, maintained by Tencent) has meta.label: "openclaw-weixin" hardcoded
  • Session key format: agent:<agentId>:<channelId>:<chatType>:<senderId>
  • This change would also benefit any future channel plugins with verbose IDs

Environment

  • OpenClaw version: 2026.5.18
  • WeChat plugin: @tencent-weixin/openclaw-weixin v2.4.3

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 - ✅(Solved) Fix feat: allow channel plugins to expose a configurable label/displayName [1 pull requests, 1 comments, 2 participants]