@openclaw-china/dingtalk 0.1.8 → 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/clawdbot.plugin.json +28 -0
- package/moltbot.plugin.json +28 -0
- package/package.json +49 -5
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dingtalk",
|
|
3
|
+
"name": "DingTalk",
|
|
4
|
+
"description": "钉钉消息渠道插件",
|
|
5
|
+
"version": "0.1.1",
|
|
6
|
+
"channels": ["dingtalk"],
|
|
7
|
+
"configSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": { "type": "boolean" },
|
|
12
|
+
"clientId": { "type": "string" },
|
|
13
|
+
"clientSecret": { "type": "string" },
|
|
14
|
+
"connectionMode": { "type": "string", "enum": ["stream", "webhook"] },
|
|
15
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
16
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
17
|
+
"requireMention": { "type": "boolean" },
|
|
18
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
19
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
20
|
+
"historyLimit": { "type": "integer", "minimum": 0 },
|
|
21
|
+
"textChunkLimit": { "type": "integer", "minimum": 1 }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"uiHints": {
|
|
25
|
+
"clientId": { "label": "Client ID (AppKey)" },
|
|
26
|
+
"clientSecret": { "label": "Client Secret (AppSecret)", "sensitive": true }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dingtalk",
|
|
3
|
+
"name": "DingTalk",
|
|
4
|
+
"description": "钉钉消息渠道插件",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"channels": ["dingtalk"],
|
|
7
|
+
"configSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": { "type": "boolean" },
|
|
12
|
+
"clientId": { "type": "string" },
|
|
13
|
+
"clientSecret": { "type": "string" },
|
|
14
|
+
"connectionMode": { "type": "string", "enum": ["stream", "webhook"] },
|
|
15
|
+
"dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
|
|
16
|
+
"groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
|
|
17
|
+
"requireMention": { "type": "boolean" },
|
|
18
|
+
"allowFrom": { "type": "array", "items": { "type": "string" } },
|
|
19
|
+
"groupAllowFrom": { "type": "array", "items": { "type": "string" } },
|
|
20
|
+
"historyLimit": { "type": "integer", "minimum": 0 },
|
|
21
|
+
"textChunkLimit": { "type": "integer", "minimum": 1 }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"uiHints": {
|
|
25
|
+
"clientId": { "label": "Client ID (AppKey)" },
|
|
26
|
+
"clientSecret": { "label": "Client Secret (AppSecret)", "sensitive": true }
|
|
27
|
+
}
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw-china/dingtalk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Moltbot DingTalk channel plugin",
|
|
6
|
-
"private": false,
|
|
7
6
|
"license": "MIT",
|
|
8
7
|
"files": [
|
|
9
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"moltbot.plugin.json",
|
|
10
|
+
"clawdbot.plugin.json"
|
|
10
11
|
],
|
|
12
|
+
"moltbot": {
|
|
13
|
+
"extensions": [
|
|
14
|
+
"./dist/index.js"
|
|
15
|
+
],
|
|
16
|
+
"channel": {
|
|
17
|
+
"id": "dingtalk",
|
|
18
|
+
"label": "DingTalk",
|
|
19
|
+
"selectionLabel": "DingTalk (钉钉)",
|
|
20
|
+
"docsPath": "/channels/dingtalk",
|
|
21
|
+
"blurb": "钉钉企业消息",
|
|
22
|
+
"aliases": [
|
|
23
|
+
"ding"
|
|
24
|
+
],
|
|
25
|
+
"order": 71
|
|
26
|
+
},
|
|
27
|
+
"install": {
|
|
28
|
+
"npmSpec": "@openclaw-china/dingtalk",
|
|
29
|
+
"localPath": ".",
|
|
30
|
+
"defaultChoice": "npm"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"clawdbot": {
|
|
34
|
+
"extensions": [
|
|
35
|
+
"./dist/index.js"
|
|
36
|
+
],
|
|
37
|
+
"channel": {
|
|
38
|
+
"id": "dingtalk",
|
|
39
|
+
"label": "DingTalk",
|
|
40
|
+
"selectionLabel": "DingTalk (钉钉)",
|
|
41
|
+
"docsPath": "/channels/dingtalk",
|
|
42
|
+
"blurb": "钉钉企业消息",
|
|
43
|
+
"aliases": [
|
|
44
|
+
"ding"
|
|
45
|
+
],
|
|
46
|
+
"order": 71
|
|
47
|
+
},
|
|
48
|
+
"install": {
|
|
49
|
+
"npmSpec": "@openclaw-china/dingtalk",
|
|
50
|
+
"localPath": ".",
|
|
51
|
+
"defaultChoice": "npm"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
11
54
|
"main": "./dist/index.js",
|
|
12
55
|
"types": "./dist/index.d.ts",
|
|
13
56
|
"exports": {
|
|
@@ -27,7 +70,7 @@
|
|
|
27
70
|
"release:major": "npm run build && npm version major && npm publish"
|
|
28
71
|
},
|
|
29
72
|
"dependencies": {
|
|
30
|
-
"@openclaw-china/shared": "0.1.
|
|
73
|
+
"@openclaw-china/shared": "0.1.8",
|
|
31
74
|
"dingtalk-stream": "^2.1.4"
|
|
32
75
|
},
|
|
33
76
|
"devDependencies": {
|
|
@@ -45,5 +88,6 @@
|
|
|
45
88
|
"moltbot": {
|
|
46
89
|
"optional": true
|
|
47
90
|
}
|
|
48
|
-
}
|
|
91
|
+
},
|
|
92
|
+
"private": false
|
|
49
93
|
}
|