@agent-wechat/agent-wechat 0.11.15

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.
@@ -0,0 +1,99 @@
1
+ {
2
+ "id": "agent-wechat",
3
+ "legacyPluginIds": [
4
+ "wechat"
5
+ ],
6
+ "channels": [
7
+ "agent-wechat"
8
+ ],
9
+ "configSchema": {
10
+ "type": "object",
11
+ "additionalProperties": false,
12
+ "properties": {}
13
+ },
14
+ "channelConfigs": {
15
+ "agent-wechat": {
16
+ "label": "WeChat",
17
+ "description": "WeChat messaging via agent-wechat container.",
18
+ "schema": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "enabled": {
23
+ "type": "boolean"
24
+ },
25
+ "serverUrl": {
26
+ "type": "string"
27
+ },
28
+ "token": {
29
+ "type": "string"
30
+ },
31
+ "dmPolicy": {
32
+ "type": "string",
33
+ "enum": [
34
+ "open",
35
+ "allowlist",
36
+ "disabled"
37
+ ]
38
+ },
39
+ "allowFrom": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "groupPolicy": {
46
+ "type": "string",
47
+ "enum": [
48
+ "open",
49
+ "allowlist",
50
+ "disabled"
51
+ ]
52
+ },
53
+ "groupAllowFrom": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "string"
57
+ }
58
+ },
59
+ "groups": {
60
+ "type": "object",
61
+ "additionalProperties": {
62
+ "type": "object",
63
+ "properties": {
64
+ "enabled": {
65
+ "type": "boolean"
66
+ },
67
+ "requireMention": {
68
+ "type": "boolean"
69
+ },
70
+ "groupPolicy": {
71
+ "type": "string",
72
+ "enum": [
73
+ "open",
74
+ "allowlist",
75
+ "disabled"
76
+ ]
77
+ },
78
+ "allowFrom": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "string"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "pollIntervalMs": {
88
+ "type": "integer",
89
+ "minimum": 100
90
+ },
91
+ "authPollIntervalMs": {
92
+ "type": "integer",
93
+ "minimum": 1000
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
package/package.json ADDED
@@ -0,0 +1,129 @@
1
+ {
2
+ "name": "@agent-wechat/agent-wechat",
3
+ "version": "0.11.15",
4
+ "type": "module",
5
+ "files": [
6
+ "dist",
7
+ "openclaw.plugin.json"
8
+ ],
9
+ "scripts": {
10
+ "build": "esbuild index.ts --bundle --format=esm --platform=node --outfile=dist/index.js --external:openclaw",
11
+ "typecheck": "tsc --noEmit",
12
+ "test": "node --test --experimental-strip-types src/*.test.ts"
13
+ },
14
+ "devDependencies": {
15
+ "@agent-wechat/shared": "workspace:*",
16
+ "@types/node": "^22",
17
+ "esbuild": "^0.25.0",
18
+ "openclaw": "^2026.8.1",
19
+ "typescript": "^5.4.5"
20
+ },
21
+ "openclaw": {
22
+ "extensions": [
23
+ "./dist/index.js"
24
+ ],
25
+ "channel": {
26
+ "id": "agent-wechat",
27
+ "label": "WeChat",
28
+ "selectionLabel": "WeChat (微信)",
29
+ "order": 80
30
+ },
31
+ "install": {
32
+ "npmSpec": "@agent-wechat/agent-wechat"
33
+ },
34
+ "channelConfigs": {
35
+ "agent-wechat": {
36
+ "label": "WeChat",
37
+ "description": "WeChat messaging via agent-wechat container.",
38
+ "schema": {
39
+ "type": "object",
40
+ "additionalProperties": false,
41
+ "properties": {
42
+ "enabled": {
43
+ "type": "boolean"
44
+ },
45
+ "serverUrl": {
46
+ "type": "string"
47
+ },
48
+ "token": {
49
+ "type": "string"
50
+ },
51
+ "dmPolicy": {
52
+ "type": "string",
53
+ "enum": [
54
+ "open",
55
+ "allowlist",
56
+ "disabled"
57
+ ]
58
+ },
59
+ "allowFrom": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string"
63
+ }
64
+ },
65
+ "groupPolicy": {
66
+ "type": "string",
67
+ "enum": [
68
+ "open",
69
+ "allowlist",
70
+ "disabled"
71
+ ]
72
+ },
73
+ "groupAllowFrom": {
74
+ "type": "array",
75
+ "items": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "groups": {
80
+ "type": "object",
81
+ "additionalProperties": {
82
+ "type": "object",
83
+ "properties": {
84
+ "enabled": {
85
+ "type": "boolean"
86
+ },
87
+ "requireMention": {
88
+ "type": "boolean"
89
+ },
90
+ "groupPolicy": {
91
+ "type": "string",
92
+ "enum": [
93
+ "open",
94
+ "allowlist",
95
+ "disabled"
96
+ ]
97
+ },
98
+ "allowFrom": {
99
+ "type": "array",
100
+ "items": {
101
+ "type": "string"
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ "pollIntervalMs": {
108
+ "type": "integer",
109
+ "minimum": 100
110
+ },
111
+ "authPollIntervalMs": {
112
+ "type": "integer",
113
+ "minimum": 1000
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "publishConfig": {
121
+ "access": "public",
122
+ "provenance": true
123
+ },
124
+ "repository": {
125
+ "type": "git",
126
+ "url": "git+https://github.com/thisnick/agent-wechat.git",
127
+ "directory": "packages/openclaw-extension"
128
+ }
129
+ }