openclaw-plugin-wecom 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/README_ZH.md +3 -3
- package/index.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Add to your OpenClaw configuration file (`~/.openclaw/openclaw.json`):
|
|
|
42
42
|
{
|
|
43
43
|
"plugins": {
|
|
44
44
|
"entries": {
|
|
45
|
-
"
|
|
45
|
+
"wecom": {
|
|
46
46
|
"enabled": true
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -65,7 +65,7 @@ Add to your OpenClaw configuration file (`~/.openclaw/openclaw.json`):
|
|
|
65
65
|
|
|
66
66
|
| Option | Type | Required | Description |
|
|
67
67
|
|--------|------|----------|-------------|
|
|
68
|
-
| `plugins.entries.
|
|
68
|
+
| `plugins.entries.wecom.enabled` | boolean | Yes | Enable the plugin |
|
|
69
69
|
| `channels.wecom.token` | string | Yes | WeCom bot Token |
|
|
70
70
|
| `channels.wecom.encodingAesKey` | string | Yes | WeCom message encryption key (43 chars) |
|
|
71
71
|
| `channels.wecom.commands.allowlist` | array | No | Command allowlist |
|
|
@@ -174,7 +174,7 @@ Prevent regular users from executing sensitive Gateway management commands throu
|
|
|
174
174
|
{
|
|
175
175
|
"plugins": {
|
|
176
176
|
"entries": {
|
|
177
|
-
"
|
|
177
|
+
"wecom": { "enabled": true } // ✅ Correct
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
package/README_ZH.md
CHANGED
|
@@ -42,7 +42,7 @@ npm install openclaw-plugin-wecom
|
|
|
42
42
|
{
|
|
43
43
|
"plugins": {
|
|
44
44
|
"entries": {
|
|
45
|
-
"
|
|
45
|
+
"wecom": {
|
|
46
46
|
"enabled": true
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -65,7 +65,7 @@ npm install openclaw-plugin-wecom
|
|
|
65
65
|
|
|
66
66
|
| 配置项 | 类型 | 必填 | 说明 |
|
|
67
67
|
|--------|------|------|------|
|
|
68
|
-
| `plugins.entries.
|
|
68
|
+
| `plugins.entries.wecom.enabled` | boolean | 是 | 启用插件 |
|
|
69
69
|
| `channels.wecom.token` | string | 是 | 企业微信机器人 Token |
|
|
70
70
|
| `channels.wecom.encodingAesKey` | string | 是 | 企业微信消息加密密钥(43 位) |
|
|
71
71
|
| `channels.wecom.commands.allowlist` | array | 否 | 允许的指令白名单 |
|
|
@@ -174,7 +174,7 @@ npm install openclaw-plugin-wecom
|
|
|
174
174
|
{
|
|
175
175
|
"plugins": {
|
|
176
176
|
"entries": {
|
|
177
|
-
"
|
|
177
|
+
"wecom": { "enabled": true } // ✅ 正确
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
package/index.js
CHANGED
|
@@ -864,7 +864,7 @@ async function deliverWecomReply({ payload, account, responseUrl, senderId, stre
|
|
|
864
864
|
|
|
865
865
|
const plugin = {
|
|
866
866
|
// Plugin id should match `openclaw.plugin.json` id (and config.plugins.entries key).
|
|
867
|
-
id: "
|
|
867
|
+
id: "wecom",
|
|
868
868
|
name: "Enterprise WeChat",
|
|
869
869
|
description: "Enterprise WeChat AI Bot channel plugin for OpenClaw",
|
|
870
870
|
configSchema: { type: "object", additionalProperties: false, properties: {} },
|
package/openclaw.plugin.json
CHANGED