OpenClaw 透過 Tencent 的外部Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
@tencent-weixin/openclaw-weixin 頻道 Plugin 連接 WeChat。
狀態:外部 Plugin。支援直接聊天與媒體。目前 Plugin 能力中繼資料未宣告支援群組聊天。
命名
- WeChat 是這些文件中面向使用者的名稱。
- Weixin 是 Tencent 套件與 Plugin id 使用的名稱。
openclaw-weixin是 OpenClaw 頻道 id。@tencent-weixin/openclaw-weixin是 npm 套件。
openclaw-weixin。
運作方式
WeChat 程式碼不在 OpenClaw 核心 repo 中。OpenClaw 提供通用頻道 Plugin 合約,而外部 Plugin 提供 WeChat 專用 runtime:openclaw plugins install安裝@tencent-weixin/openclaw-weixin。- Gateway 探索 Plugin manifest 並載入 Plugin entrypoint。
- Plugin 註冊頻道 id
openclaw-weixin。 openclaw channels login --channel openclaw-weixin啟動 QR 登入。- Plugin 將帳號憑證儲存在 OpenClaw 狀態目錄下。
- Gateway 啟動時,Plugin 會為每個已設定帳號啟動其 Weixin 監控器。
- 傳入的 WeChat 訊息會透過頻道合約標準化、路由到選取的 OpenClaw agent,並透過 Plugin 輸出路徑送回。
安裝
快速安裝:登入
在執行 Gateway 的同一台機器上執行 QR 登入:存取控制
直接訊息會使用頻道 Plugin 的一般 OpenClaw pairing 與 allowlist 模型。 核准新的傳送者:相容性
Plugin 會在啟動時檢查主機的 OpenClaw 版本。| Plugin 線 | OpenClaw 版本 | npm tag |
|---|---|---|
2.x | >=2026.3.22 | latest |
1.x | >=2026.1.0 <2026.3.22 | legacy |
Sidecar process
WeChat Plugin 在監控 Tencent iLink API 時,可以在 Gateway 旁執行輔助工作。在 issue #68451 中,該輔助路徑暴露了 OpenClaw 通用過時 Gateway 清理中的一個錯誤:子行程可能會嘗試清理父 Gateway 行程,導致在 systemd 等 process manager 下出現重新啟動迴圈。 目前 OpenClaw 啟動清理會排除目前行程及其祖先,因此頻道輔助程式不得終止啟動它的 Gateway。此修正是通用的;它不是核心中的 WeChat 專用路徑。疑難排解
檢查安裝與狀態:相關文件
- 頻道概覽:Chat Channels
- Pairing:Pairing
- 頻道路由:Channel Routing
- Plugin 架構:Plugin Architecture
- 頻道 Plugin SDK:Channel Plugin SDK
- 外部套件:@tencent-weixin/openclaw-weixin