openclaw-channel-dmwork 0.6.2-dev.84da5e15 → 0.6.2-dev.87bd1f59
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/cli/index.js +3 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/src/accounts.d.ts +1 -0
- package/dist/src/accounts.js +2 -1
- package/dist/src/accounts.js.map +1 -1
- package/dist/src/actions.js +1 -2
- package/dist/src/actions.js.map +1 -1
- package/dist/src/agent-tools.js +1 -3
- package/dist/src/agent-tools.js.map +1 -1
- package/dist/src/channel.d.ts +1 -1
- package/dist/src/channel.js +3 -4
- package/dist/src/channel.js.map +1 -1
- package/dist/src/config-schema.d.ts +8 -0
- package/dist/src/config-schema.js +2 -0
- package/dist/src/config-schema.js.map +1 -1
- package/dist/src/group-md.d.ts +1 -1
- package/dist/src/inbound.d.ts +11 -6
- package/dist/src/inbound.js +49 -31
- package/dist/src/inbound.js.map +1 -1
- package/dist/src/mention-utils.d.ts +1 -1
- package/dist/src/mention-utils.js +15 -9
- package/dist/src/mention-utils.js.map +1 -1
- package/dist/src/sdk-compat.d.ts +8 -0
- package/dist/src/sdk-compat.js +9 -0
- package/dist/src/sdk-compat.js.map +1 -0
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/openclaw.plugin.json +44 -0
- package/package.json +9 -3
- package/skills/dmwork-bot-api/SKILL.md +2 -0
- package/dist/package.json +0 -62
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-channel-dmwork",
|
|
3
|
-
"version": "0.6.2-dev.
|
|
3
|
+
"version": "0.6.2-dev.87bd1f59",
|
|
4
4
|
"description": "DMWork channel plugin for OpenClaw via WuKongIM WebSocket",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"type": "module",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
11
17
|
"files": [
|
|
12
18
|
"bin",
|
|
13
19
|
"dist",
|
|
@@ -31,12 +37,12 @@
|
|
|
31
37
|
"ws": "^8.16.0"
|
|
32
38
|
},
|
|
33
39
|
"peerDependencies": {
|
|
34
|
-
"openclaw": ">=2026.4
|
|
40
|
+
"openclaw": ">=2026.5.4"
|
|
35
41
|
},
|
|
36
42
|
"devDependencies": {
|
|
37
43
|
"@types/crypto-js": "^4.2.0",
|
|
38
44
|
"@types/ws": "^8.5.10",
|
|
39
|
-
"openclaw": "2026.
|
|
45
|
+
"openclaw": "^2026.5.4",
|
|
40
46
|
"typescript": "^5.9.3",
|
|
41
47
|
"vitest": "^3.0.0"
|
|
42
48
|
},
|
|
@@ -788,6 +788,8 @@ This lets you understand context when someone asks about a specific message.
|
|
|
788
788
|
|
|
789
789
|
**To reply to every message:** set requireMention to false in your dmwork channel config (channels.dmwork.requireMention = false). This costs more tokens but lets the AI decide when to reply.
|
|
790
790
|
|
|
791
|
+
**To ignore @all/@所有人:** set ignoreMentionAll to true (channels.dmwork.accounts.xxx.ignoreMentionAll = true). This only applies when requireMention is true — @all will not trigger a bot reply, but direct @bot still will. When requireMention is false, ignoreMentionAll has no effect since the bot replies to all messages anyway.
|
|
792
|
+
|
|
791
793
|
### Rule 2: Don't respond to other bots
|
|
792
794
|
|
|
793
795
|
If "from_uid" belongs to another bot (check if it ends with "_bot" or matches a known bot ID), **ignore** the message.
|
package/dist/package.json
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "openclaw-channel-dmwork",
|
|
3
|
-
"version": "0.6.2-dev.84da5e15",
|
|
4
|
-
"description": "DMWork channel plugin for OpenClaw via WuKongIM WebSocket",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"openclaw-channel-dmwork": "bin/dmwork.js"
|
|
8
|
-
},
|
|
9
|
-
"types": "dist/index.d.ts",
|
|
10
|
-
"type": "module",
|
|
11
|
-
"files": [
|
|
12
|
-
"bin",
|
|
13
|
-
"dist",
|
|
14
|
-
"skills",
|
|
15
|
-
"openclaw.plugin.json"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"prebuild": "rm -rf dist && node -e \"const v=require('./package.json').version; require('fs').writeFileSync('src/version.ts','// Auto-generated by prebuild script. Do not edit manually.\\nexport const PLUGIN_VERSION = \\\"'+v+'\\\";\\n')\"",
|
|
19
|
-
"build": "tsc",
|
|
20
|
-
"type-check": "tsc --noEmit",
|
|
21
|
-
"test": "vitest run",
|
|
22
|
-
"test:watch": "vitest"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"axios": "^1.7.0",
|
|
26
|
-
"commander": "^12.1.0",
|
|
27
|
-
"cos-nodejs-sdk-v5": "^2.15.4",
|
|
28
|
-
"crypto-js": "^4.2.0",
|
|
29
|
-
"curve25519-js": "^0.0.4",
|
|
30
|
-
"md5-typescript": "^1.0.5",
|
|
31
|
-
"ws": "^8.16.0"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"openclaw": ">=2026.4.15"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@types/crypto-js": "^4.2.0",
|
|
38
|
-
"@types/ws": "^8.5.10",
|
|
39
|
-
"openclaw": "2026.3.2",
|
|
40
|
-
"typescript": "^5.9.3",
|
|
41
|
-
"vitest": "^3.0.0"
|
|
42
|
-
},
|
|
43
|
-
"openclaw": {
|
|
44
|
-
"id": "openclaw-channel-dmwork",
|
|
45
|
-
"type": "channel",
|
|
46
|
-
"extensions": [
|
|
47
|
-
"dist/index.js"
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"bundledDependencies": [
|
|
51
|
-
"cos-nodejs-sdk-v5",
|
|
52
|
-
"crypto-js",
|
|
53
|
-
"curve25519-js",
|
|
54
|
-
"md5-typescript"
|
|
55
|
-
],
|
|
56
|
-
"bundleDependencies": [
|
|
57
|
-
"cos-nodejs-sdk-v5",
|
|
58
|
-
"crypto-js",
|
|
59
|
-
"curve25519-js",
|
|
60
|
-
"md5-typescript"
|
|
61
|
-
]
|
|
62
|
-
}
|