Skip to content

Commit a8220f2

Browse files
committed
fix(channels): generate discovery docs from catalog
1 parent 1e06fd4 commit a8220f2

15 files changed

Lines changed: 891 additions & 103 deletions

‎docs/.i18n/glossary.zh-CN.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@
387387
"source": "WeChat",
388388
"target": "微信"
389389
},
390+
{
391+
"source": "WeCom",
392+
"target": "企业微信"
393+
},
390394
{
391395
"source": "Weixin",
392396
"target": "微信"

‎docs/.i18n/glossary.zh-TW.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@
135135
"source": "WeChat",
136136
"target": "微信"
137137
},
138+
{
139+
"source": "WeCom",
140+
"target": "企業微信"
141+
},
138142
{
139143
"source": "Weixin",
140144
"target": "微信"

‎docs/channels/index.md‎

Lines changed: 44 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,54 @@ title: "Chat channels"
99
OpenClaw can talk to you on any chat app you already use. Each channel connects via the Gateway.
1010
Text is supported everywhere; media and reactions vary by channel.
1111

12-
Telegram and the WebChat UI ship with the core install. Channels marked
13-
"official plugin" install with one command (`openclaw plugins install @openclaw/<id>`)
14-
or on demand during `openclaw onboard` / `openclaw channels add`, then need a Gateway
15-
restart. "External plugin" channels are maintained outside the OpenClaw repo.
12+
Entries marked "bundled plugin" or "included in core" ship with the core
13+
install. Channels marked "official plugin" install with one command
14+
(`openclaw plugins install @openclaw/<id>`) or on demand during
15+
`openclaw onboard` / `openclaw channels add`, then need a Gateway restart.
16+
"External plugin" channels are maintained outside the OpenClaw repo.
1617

1718
## Supported channels
1819

19-
- [Buzz](/channels/buzz) - Buzz team rooms with threaded replies (official plugin).
20-
- [Discord](/channels/discord) - Discord Bot API + Gateway; supports servers, channels, and DMs (official plugin).
21-
- [Feishu](/channels/feishu) - Feishu/Lark bot via WebSocket (official plugin).
22-
- [Google Chat](/channels/googlechat) - Google Chat API app via HTTP webhook (official plugin).
23-
- [iMessage](/channels/imessage) - Native macOS integration via the `imsg` bridge on a signed-in Mac (or SSH wrapper when the Gateway runs elsewhere), including private API actions for replies, tapbacks, effects, attachments, and group management (official plugin).
24-
- [IRC](/channels/irc) - Classic IRC servers; channels + DMs with pairing/allowlist controls (official plugin).
25-
- [LINE](/channels/line) - LINE Messaging API bot (official plugin).
26-
- [Matrix](/channels/matrix) - Matrix protocol (official plugin).
27-
- [Mattermost](/channels/mattermost) - Bot API + WebSocket; channels, groups, DMs (official plugin).
28-
- [Microsoft Teams](/channels/msteams) - Bot Framework; enterprise support (official plugin).
29-
- [Nextcloud Talk](/channels/nextcloud-talk) - Self-hosted chat via Nextcloud Talk (official plugin).
30-
- [Nostr](/channels/nostr) - Decentralized DMs via NIP-04 (official plugin).
31-
- [QQ Bot](/channels/qqbot) - QQ Bot API; private chat, group chat, and rich media (official plugin).
32-
- [Reef](/channels/reef) - Guarded, end-to-end-encrypted claw-to-claw messaging between OpenClaw agents of different people (bundled plugin).
33-
- [Raft](/channels/raft) - Raft CLI wake bridge for human and agent collaboration (official plugin).
34-
- [Signal](/channels/signal) - signal-cli; privacy-focused (official plugin).
35-
- [Slack](/channels/slack) - Bolt SDK; workspace apps (official plugin).
36-
- [SMS](/channels/sms) - Twilio-backed SMS through the Gateway webhook (official plugin).
37-
- [Synology Chat](/channels/synology-chat) - Synology NAS Chat via outgoing+incoming webhooks (official plugin).
38-
- [Telegram](/channels/telegram) - Included in core. Bot API via grammY; supports groups.
39-
- [Tlon](/channels/tlon) - Urbit-based messenger (official plugin).
40-
- [Twitch](/channels/twitch) - Twitch chat via IRC connection (official plugin).
20+
<!-- BEGIN GENERATED: official channel catalog -->
21+
<!-- Generated by `pnpm channels:catalog:gen`. Edit manifests/seed for membership and routes; edit page frontmatter for public names and summaries. -->
22+
23+
- [Buzz](/channels/buzz) - Connect OpenClaw agents to Buzz rooms (official plugin).
24+
- [ClickClack](/channels/clickclack) - ClickClack bot-token channel setup and target syntax (official plugin).
25+
- [Discord](/channels/discord) - Discord bot setup, config keys, components, voice, and troubleshooting (official plugin).
26+
- [Feishu](/channels/feishu) - Feishu bot overview, features, and configuration (official plugin).
27+
- [Google Chat](/channels/googlechat) - Google Chat app support status, capabilities, and configuration (official plugin).
28+
- [iMessage](/channels/imessage) - Native iMessage support via imsg (JSON-RPC over stdio), with private API actions for replies, tapbacks, effects, polls, attachments, and group management. Preferred for new OpenClaw iMessage setups when host requirements fit (official plugin).
29+
- [IRC](/channels/irc) - IRC plugin setup, access controls, and troubleshooting (official plugin).
30+
- [LINE](/channels/line) - LINE Messaging API plugin setup, config, and usage (official plugin).
31+
- [Matrix](/channels/matrix) - Matrix support status, setup, and configuration examples (official plugin).
32+
- [Mattermost](/channels/mattermost) - Mattermost bot setup and OpenClaw config (official plugin).
33+
- [Microsoft Teams](/channels/msteams) - Microsoft Teams bot support status, capabilities, and configuration (official plugin).
34+
- [Nextcloud Talk](/channels/nextcloud-talk) - Nextcloud Talk support status, capabilities, and configuration (official plugin).
35+
- [Nostr](/channels/nostr) - Nostr DM channel via NIP-04 encrypted messages (official plugin).
36+
- [QQ bot](/channels/qqbot) - QQ Bot setup, config, and usage (official plugin).
37+
- [Raft](/channels/raft) - Raft External Agent support through the Raft CLI wake bridge (official plugin).
38+
- [Reef](/channels/reef) - Reef channel setup: guarded, end-to-end-encrypted messaging between OpenClaw agents of different people (bundled plugin).
39+
- [Signal](/channels/signal) - Signal support via signal-cli (native daemon or bbernhard container), setup paths, and number model (official plugin).
40+
- [Slack](/channels/slack) - Slack setup and runtime behavior (Socket Mode, HTTP Request URLs, and relay mode) (official plugin).
41+
- [SMS](/channels/sms) - Twilio SMS channel setup, access controls, and webhook configuration (official plugin).
42+
- [Synology Chat](/channels/synology-chat) - Synology Chat webhook setup and OpenClaw config (official plugin).
43+
- [Telegram](/channels/telegram) - Telegram bot support status, capabilities, and configuration (bundled plugin).
44+
- [Tlon](/channels/tlon) - Tlon/Urbit support status, capabilities, and configuration (official plugin).
45+
- [Twitch](/channels/twitch) - Twitch chat bot: install, credentials, access control, token refresh (official plugin).
46+
- [WebChat](/web/webchat) - Native and Control UI WebChat usage over the Gateway WebSocket (included in core).
47+
- [WeChat](/channels/wechat) - WeChat channel setup through the external openclaw-weixin plugin (external plugin).
48+
- [WeCom](/channels/wecom) - Install the official WeCom plugin and find its versioned setup documentation (external plugin).
49+
- [WhatsApp](/channels/whatsapp) - WhatsApp channel support, access controls, delivery behavior, and operations (official plugin).
50+
- [Yuanbao](/channels/yuanbao) - Yuanbao bot overview, features, and configuration (external plugin).
51+
- [Zalo](/channels/zalo) - Zalo bot support status, capabilities, and configuration (official plugin).
52+
- [Zalo ClawBot](/channels/zaloclawbot) - Zalo ClawBot channel setup through the external openclaw-zaloclawbot plugin (external plugin).
53+
- [Zalo personal](/channels/zalouser) - Zalo personal account support via native zca-js (QR login), capabilities, and configuration (official plugin).
54+
55+
<!-- END GENERATED: official channel catalog -->
56+
57+
### Related communication plugins
58+
4159
- [Voice Call](/plugins/voice-call) - Telephony via Plivo, Telnyx, or Twilio (official plugin).
42-
- [WebChat](/web/webchat) - Included in core. Gateway WebChat UI over WebSocket.
43-
- [WeChat](/channels/wechat) - Tencent iLink bot via QR login; private chats only (external plugin).
44-
- [WhatsApp](/channels/whatsapp) - Most popular; uses Baileys and requires QR pairing (official plugin).
45-
- [Yuanbao](/channels/yuanbao) - Tencent Yuanbao bot (external plugin).
46-
- [Zalo](/channels/zalo) - Zalo Bot API; Vietnam's popular messenger (official plugin).
47-
- [Zalo ClawBot](/channels/zaloclawbot) - Personal Zalo assistant via QR login; owner-bound (external plugin).
48-
- [Zalo Personal](/channels/zalouser) - Zalo personal account via QR login (official plugin).
4960

5061
## Delivery notes
5162

‎docs/channels/wecom.md‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
summary: "Install the official WeCom plugin and find its versioned setup documentation"
3+
read_when:
4+
- You want to connect OpenClaw to WeCom
5+
- You need the supported WeCom plugin and its setup documentation
6+
title: "WeCom"
7+
---
8+
9+
OpenClaw exposes WeCom through the external
10+
`@wecom/wecom-openclaw-plugin` package maintained by the Tencent WeCom team.
11+
The plugin is listed in OpenClaw's official channel catalog but is not bundled
12+
with the core install.
13+
14+
## Install
15+
16+
```bash
17+
openclaw channels add --channel wecom
18+
openclaw gateway restart
19+
openclaw channels status --channel wecom
20+
```
21+
22+
The OpenClaw catalog installs an exact version of
23+
`@wecom/wecom-openclaw-plugin`.
24+
25+
## Configure
26+
27+
WeCom credentials, connection modes, callback routes, and access-control
28+
behavior belong to the external plugin and can change independently of
29+
OpenClaw. Follow the
30+
[package documentation](https://www.npmjs.com/package/@wecom/wecom-openclaw-plugin)
31+
for the installed release before configuring the channel.
32+
33+
When upgrading the plugin independently, keep using the documentation for the
34+
installed version.

‎docs/docs.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@
11541154
"channels/discord",
11551155
"channels/discord-activities",
11561156
"channels/slack",
1157+
"channels/sms",
11571158
"channels/telegram",
11581159
"channels/whatsapp",
11591160
"channels/signal",
@@ -1170,6 +1171,8 @@
11701171
{
11711172
"group": "Developer and self-hosted",
11721173
"pages": [
1174+
"channels/buzz",
1175+
"channels/clickclack",
11731176
"channels/irc",
11741177
"channels/mattermost",
11751178
"channels/nextcloud-talk",
@@ -1186,6 +1189,7 @@
11861189
"pages": [
11871190
"channels/line",
11881191
"channels/wechat",
1192+
"channels/wecom",
11891193
"channels/qqbot",
11901194
"channels/feishu",
11911195
"channels/yuanbao",
@@ -1205,8 +1209,7 @@
12051209
"channels/broadcast-groups",
12061210
"channels/channel-routing",
12071211
"channels/location",
1208-
"channels/troubleshooting",
1209-
"channels/qa-channel"
1212+
"channels/troubleshooting"
12101213
]
12111214
}
12121215
]

‎docs/web/webchat.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
summary: "Loopback WebChat static host and Gateway WS usage for chat UI"
2+
summary: "Native and Control UI WebChat usage over the Gateway WebSocket"
33
read_when:
44
- Debugging or configuring WebChat access
55
title: "WebChat"

‎scripts/generate-plugin-inventory-doc.mjs‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import fs from "node:fs";
44
import path from "node:path";
55
import process from "node:process";
6+
import { collectExcludedPackagedExtensionDirs } from "./lib/packaged-extension-dirs.mjs";
67
import { resolvePluginSurface } from "./lib/plugin-inventory-doc.mjs";
78

89
const DOC_PATH = "docs/plugins/plugin-inventory.md";
@@ -68,20 +69,6 @@ function fileExists(relativePath) {
6869
return fs.existsSync(path.join(ROOT, relativePath));
6970
}
7071

71-
function collectExcludedPackagedExtensionDirs(rootPackageJson) {
72-
const excluded = new Set();
73-
for (const entry of rootPackageJson.files ?? []) {
74-
if (typeof entry !== "string") {
75-
continue;
76-
}
77-
const match = /^!dist\/extensions\/([^/]+)\/\*\*$/u.exec(entry);
78-
if (match?.[1]) {
79-
excluded.add(match[1]);
80-
}
81-
}
82-
return excluded;
83-
}
84-
8572
function normalizeDocPath(value) {
8673
if (typeof value !== "string" || !value.startsWith("/")) {
8774
return null;

‎scripts/lib/official-external-channel-catalog.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,7 @@
22592259
"label": "WeCom",
22602260
"selectionLabel": "WeCom(企业微信)",
22612261
"detailLabel": "WeCom",
2262-
"docsPath": "/plugins/community#wecom",
2262+
"docsPath": "/channels/wecom",
22632263
"docsLabel": "wecom",
22642264
"blurb": "Enterprise messaging and documents, scheduling, task tools.",
22652265
"aliases": [
@@ -2357,7 +2357,7 @@
23572357
"label": "Yuanbao",
23582358
"selectionLabel": "Yuanbao (元宝)",
23592359
"detailLabel": "Yuanbao",
2360-
"docsPath": "/plugins/community#yuanbao",
2360+
"docsPath": "/channels/yuanbao",
23612361
"docsLabel": "yuanbao",
23622362
"blurb": "Tencent Yuanbao AI assistant conversation channel.",
23632363
"aliases": [

‎scripts/lib/official-external-channel-seed.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"label": "WeCom",
1919
"selectionLabel": "WeCom(企业微信)",
2020
"detailLabel": "WeCom",
21-
"docsPath": "/plugins/community#wecom",
21+
"docsPath": "/channels/wecom",
2222
"docsLabel": "wecom",
2323
"blurb": "Enterprise messaging and documents, scheduling, task tools.",
2424
"aliases": ["qywx", "wework", "enterprise-wechat"],
@@ -59,7 +59,7 @@
5959
"label": "Yuanbao",
6060
"selectionLabel": "Yuanbao (元宝)",
6161
"detailLabel": "Yuanbao",
62-
"docsPath": "/plugins/community#yuanbao",
62+
"docsPath": "/channels/yuanbao",
6363
"docsLabel": "yuanbao",
6464
"blurb": "Tencent Yuanbao AI assistant conversation channel.",
6565
"aliases": ["yuanbao", "yb", "tencent-yuanbao", "元宝"],
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export function collectExcludedPackagedExtensionDirs(rootPackageJson: {
2+
files?: unknown[];
3+
}): Set<string>;

0 commit comments

Comments
 (0)