doc: add wexin adapter docs
@@ -162,6 +162,12 @@
|
||||
"en/usage/platforms/wecom/wecomcs",
|
||||
"en/usage/platforms/wecom/wecombot"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "WeChat",
|
||||
"pages": [
|
||||
"en/usage/platforms/wechat/weixin"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -353,7 +359,8 @@
|
||||
{
|
||||
"group": "微信",
|
||||
"pages": [
|
||||
"zh/usage/platforms/wechat/wechatpad"
|
||||
"zh/usage/platforms/wechat/wechatpad",
|
||||
"zh/usage/platforms/wechat/weixin"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -564,6 +571,12 @@
|
||||
"ja/usage/platforms/wecom/wecomcs",
|
||||
"ja/usage/platforms/wecom/wecombot"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "WeChat",
|
||||
"pages": [
|
||||
"ja/usage/platforms/wechat/weixin"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
---
|
||||
title: "Connect Personal WeChat via OpenClaw"
|
||||
---
|
||||
|
||||
## Introduction
|
||||
|
||||
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) is an open-source AI Agent framework. Through the OpenClaw WeChat adapter, you can connect LangBot to your personal WeChat account, with support for group chats, streaming output, whitelist control, and more.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- LangBot is deployed and running
|
||||
|
||||
<Warning>
|
||||
Please make sure your mobile WeChat version is the latest **8.0.69** or above, otherwise the OpenClaw WeChat adapter may not work properly. You can check your version in WeChat under "Me" -> "Settings" -> "About WeChat".
|
||||
</Warning>
|
||||
|
||||
## Configure in LangBot
|
||||
|
||||
### 1. Create Adapter
|
||||
|
||||
Launch the LangBot main program, create a new bot, fill in the bot name, select `OpenClaw 微信` as the platform/adapter, and click Submit.
|
||||
|
||||

|
||||
|
||||
### 2. Enable Adapter
|
||||
|
||||
Enable the adapter and save the configuration.
|
||||
|
||||

|
||||
|
||||
### 3. Scan QR Code to Log In
|
||||
|
||||
Open the logs and check the log entry with an image icon to get the login QR code.
|
||||
|
||||

|
||||
|
||||
Use your mobile WeChat to scan the QR code to complete the login.
|
||||
|
||||
<Warning>
|
||||
Before scanning, please confirm again that your WeChat version is the latest **8.0.69** or above, otherwise the scan may fail.
|
||||
</Warning>
|
||||
|
||||

|
||||
|
||||
### 4. Confirm Successful Login
|
||||
|
||||
After scanning successfully, your phone will enter the ClawBot chat page on WeChat.
|
||||
|
||||

|
||||
|
||||
At the same time, the LangBot logs will show a successful connection message, and the token and account fields on the configuration page will be automatically updated, indicating a successful login.
|
||||
|
||||

|
||||

|
||||
|
||||
## Start Using
|
||||
|
||||
Once logged in, other WeChat users can send messages to your WeChat account to trigger LangBot's automatic replies.
|
||||
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 168 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 125 KiB |
@@ -0,0 +1,58 @@
|
||||
---
|
||||
title: "OpenClaw で個人 WeChat に接続する"
|
||||
---
|
||||
|
||||
## はじめに
|
||||
|
||||
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) はオープンソースの AI Agent フレームワークです。OpenClaw WeChat アダプターを使用することで、LangBot を個人の WeChat アカウントに接続でき、グループチャット、ストリーミング出力、ホワイトリスト制御などの機能をサポートしています。
|
||||
|
||||
## 前提条件
|
||||
|
||||
- LangBot がデプロイされ、実行中であること
|
||||
|
||||
<Warning>
|
||||
スマートフォンの WeChat バージョンが最新の **8.0.69** 以上であることを確認してください。それ以外の場合、OpenClaw WeChat アダプターが正常に動作しない可能性があります。WeChat の「自分」->「設定」->「WeChat について」からバージョンを確認できます。
|
||||
</Warning>
|
||||
|
||||
## LangBot での設定
|
||||
|
||||
### 1. アダプターの作成
|
||||
|
||||
LangBot メインプログラムを起動し、新しいボットを作成します。ボット名を入力し、プラットフォーム/アダプターで `OpenClaw 微信` を選択して、送信をクリックします。
|
||||
|
||||

|
||||
|
||||
### 2. アダプターの有効化
|
||||
|
||||
アダプターを有効にして、設定を保存します。
|
||||
|
||||

|
||||
|
||||
### 3. QR コードをスキャンしてログイン
|
||||
|
||||
ログを開き、画像アイコンが付いたログエントリを確認して、ログイン用の QR コードを取得します。
|
||||
|
||||

|
||||
|
||||
スマートフォンの WeChat で QR コードをスキャンしてログインを完了します。
|
||||
|
||||
<Warning>
|
||||
スキャン前に、WeChat のバージョンが **8.0.69** 以上であることを再度確認してください。バージョンが古い場合、スキャンに失敗する可能性があります。
|
||||
</Warning>
|
||||
|
||||

|
||||
|
||||
### 4. ログイン成功の確認
|
||||
|
||||
スキャンが成功すると、スマートフォンに ClawBot のチャット画面が表示されます。
|
||||
|
||||

|
||||
|
||||
同時に、LangBot のログに接続成功のメッセージが表示され、設定ページのトークンとアカウントが自動的に更新されます。これでログイン成功です。
|
||||
|
||||

|
||||

|
||||
|
||||
## 使い方
|
||||
|
||||
ログイン成功後、他の WeChat ユーザーがあなたの WeChat アカウントにメッセージを送信すると、LangBot が自動的に返信します。
|
||||
@@ -0,0 +1,58 @@
|
||||
---
|
||||
title: "通过 OpenClaw 接入个人微信"
|
||||
---
|
||||
|
||||
## 简介
|
||||
|
||||
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) 是一个开源 AI Agent 框架,通过 OpenClaw 微信适配器可以将 LangBot 接入个人微信,支持群聊、流式输出、白名单控制等功能。
|
||||
|
||||
## 前置准备
|
||||
|
||||
- 已部署并运行 LangBot
|
||||
|
||||
<Warning>
|
||||
请确认您的手机微信版本为 最新的**8.0.69** 或以上,否则可能无法正常使用 OpenClaw 微信适配器。您可以在微信的「我」->「设置」->「关于微信」中查看当前版本号。
|
||||
</Warning>
|
||||
|
||||
## 在 LangBot 中配置
|
||||
|
||||
### 1. 新建适配器
|
||||
|
||||
启动 LangBot 主程序,新建机器人,填写机器人名称,平台/适配器选择 `OpenClaw 微信`,点击提交即可。
|
||||
|
||||

|
||||
|
||||
### 2. 启用适配器
|
||||
|
||||
启用适配器并保存配置。
|
||||
|
||||

|
||||
|
||||
### 3. 扫码登录
|
||||
|
||||
打开日志,查看带有图片标志的日志详情,获取登录二维码。
|
||||
|
||||

|
||||
|
||||
使用手机微信扫描二维码完成登录。
|
||||
|
||||
<Warning>
|
||||
扫码前请再次确认微信版本为 **8.0.69** 或以上,否则可能导致扫码失败。
|
||||
</Warning>
|
||||
|
||||

|
||||
|
||||
### 4. 确认登录成功
|
||||
|
||||
扫码成功后,手机端会进入与 ClawBot 的聊天页面。
|
||||
|
||||

|
||||
|
||||
同时,LangBot 日志中会出现连接成功的信息,配置页面中的令牌和账号也会自动更新,表示登录成功。
|
||||
|
||||

|
||||

|
||||
|
||||
## 开始使用
|
||||
|
||||
登录成功后,其他微信用户向您的微信账号发送消息即可触发 LangBot 自动回复。
|
||||