@openclaw-china/wecom 0.1.7 → 0.1.9
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/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +52 -0
- package/package.json +4 -3
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wecom",
|
|
3
|
+
"name": "WeCom",
|
|
4
|
+
"description": "企业微信消息渠道插件",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"channels": ["wecom"],
|
|
7
|
+
"configSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": { "type": "boolean" },
|
|
12
|
+
"name": { "type": "string" },
|
|
13
|
+
"webhookPath": { "type": "string" },
|
|
14
|
+
"token": { "type": "string" },
|
|
15
|
+
"encodingAESKey": { "type": "string" },
|
|
16
|
+
"receiveId": { "type": "string" },
|
|
17
|
+
"welcomeText": { "type": "string" },
|
|
18
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist", "disabled"] },
|
|
19
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
20
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
21
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
22
|
+
"requireMention": { "type": "boolean" },
|
|
23
|
+
"defaultAccount": { "type": "string" },
|
|
24
|
+
"accounts": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"properties": {
|
|
30
|
+
"name": { "type": "string" },
|
|
31
|
+
"enabled": { "type": "boolean" },
|
|
32
|
+
"webhookPath": { "type": "string" },
|
|
33
|
+
"token": { "type": "string" },
|
|
34
|
+
"encodingAESKey": { "type": "string" },
|
|
35
|
+
"receiveId": { "type": "string" },
|
|
36
|
+
"welcomeText": { "type": "string" },
|
|
37
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist", "disabled"] },
|
|
38
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
39
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
40
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
41
|
+
"requireMention": { "type": "boolean" }
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"uiHints": {
|
|
48
|
+
"token": { "label": "Token", "sensitive": true },
|
|
49
|
+
"encodingAESKey": { "label": "EncodingAESKey", "sensitive": true },
|
|
50
|
+
"webhookPath": { "label": "Webhook Path" }
|
|
51
|
+
}
|
|
52
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw-china/wecom",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Moltbot WeCom (WeChat Work) channel plugin",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
9
|
"moltbot.plugin.json",
|
|
10
|
-
"clawdbot.plugin.json"
|
|
10
|
+
"clawdbot.plugin.json",
|
|
11
|
+
"openclaw.plugin.json"
|
|
11
12
|
],
|
|
12
13
|
"openclaw": {
|
|
13
14
|
"extensions": [
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
"release:major": "npm run build && npm version major && npm publish"
|
|
98
99
|
},
|
|
99
100
|
"dependencies": {
|
|
100
|
-
"@openclaw-china/shared": "0.1.
|
|
101
|
+
"@openclaw-china/shared": "0.1.19"
|
|
101
102
|
},
|
|
102
103
|
"devDependencies": {
|
|
103
104
|
"@types/node": "^22.0.0",
|