@openclaw-china/dingtalk 2026.3.7 → 2026.3.8-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/dist/index.d.ts +525 -69
- package/dist/index.js +524 -105
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +55 -11
- package/package.json +2 -2
package/openclaw.plugin.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"version": "0.1.14",
|
|
6
6
|
"channels": ["dingtalk"],
|
|
7
7
|
"configSchema": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"enabled": { "type": "boolean" },
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": { "type": "boolean" },
|
|
12
|
+
"name": { "type": "string" },
|
|
13
|
+
"defaultAccount": { "type": "string" },
|
|
14
|
+
"clientId": { "type": "string" },
|
|
15
|
+
"clientSecret": { "type": "string" },
|
|
16
|
+
"connectionMode": { "type": "string", "enum": ["stream", "webhook"] },
|
|
15
17
|
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
16
18
|
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
17
19
|
"requireMention": { "type": "boolean" },
|
|
@@ -21,11 +23,53 @@
|
|
|
21
23
|
"textChunkLimit": { "type": "integer", "minimum": 1 },
|
|
22
24
|
"longTaskNoticeDelayMs": { "type": "integer", "minimum": 0 },
|
|
23
25
|
"enableAICard": { "type": "boolean" },
|
|
24
|
-
"gatewayToken": { "type": "string" },
|
|
26
|
+
"gatewayToken": { "type": "string" },
|
|
25
27
|
"gatewayPassword": { "type": "string" },
|
|
26
|
-
"maxFileSizeMB": { "type": "number", "minimum": 1 }
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
"maxFileSizeMB": { "type": "number", "minimum": 1 },
|
|
29
|
+
"inboundMedia": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"properties": {
|
|
33
|
+
"dir": { "type": "string" },
|
|
34
|
+
"keepDays": { "type": "number", "minimum": 0 }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"accounts": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"additionalProperties": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": { "type": "string" },
|
|
44
|
+
"enabled": { "type": "boolean" },
|
|
45
|
+
"clientId": { "type": "string" },
|
|
46
|
+
"clientSecret": { "type": "string" },
|
|
47
|
+
"connectionMode": { "type": "string", "enum": ["stream", "webhook"] },
|
|
48
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
49
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
50
|
+
"requireMention": { "type": "boolean" },
|
|
51
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
52
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
53
|
+
"historyLimit": { "type": "integer", "minimum": 0 },
|
|
54
|
+
"textChunkLimit": { "type": "integer", "minimum": 1 },
|
|
55
|
+
"longTaskNoticeDelayMs": { "type": "integer", "minimum": 0 },
|
|
56
|
+
"enableAICard": { "type": "boolean" },
|
|
57
|
+
"gatewayToken": { "type": "string" },
|
|
58
|
+
"gatewayPassword": { "type": "string" },
|
|
59
|
+
"maxFileSizeMB": { "type": "number", "minimum": 1 },
|
|
60
|
+
"inboundMedia": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"properties": {
|
|
64
|
+
"dir": { "type": "string" },
|
|
65
|
+
"keepDays": { "type": "number", "minimum": 0 }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
29
73
|
"uiHints": {
|
|
30
74
|
"clientId": { "label": "Client ID (AppKey)" },
|
|
31
75
|
"clientSecret": { "label": "Client Secret (AppSecret)", "sensitive": true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw-china/dingtalk",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.8-2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Moltbot DingTalk channel plugin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"release:major": "npm run build && npm version major && npm publish"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@openclaw-china/shared": "2026.3.
|
|
95
|
+
"@openclaw-china/shared": "2026.3.8-2",
|
|
96
96
|
"dingtalk-stream": "^2.1.4"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|