moltbot-dingtalk-stream 1.0.5 → 1.0.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "moltbot-dingtalk-stream",
3
3
  "name": "DingTalk Stream Channel",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "description": "Custom channel for integrating Moltbot with DingTalk (Stream Mode)",
6
6
  "author": "Jack",
7
7
  "license": "MIT",
@@ -10,6 +10,9 @@
10
10
  "./dist/index.js"
11
11
  ]
12
12
  },
13
+ "channels": [
14
+ "moltbot-dingtalk-stream"
15
+ ],
13
16
  "configSchema": {
14
17
  "type": "object",
15
18
  "properties": {
@@ -1,19 +1,59 @@
1
1
  {
2
2
  "id": "moltbot-dingtalk-stream",
3
3
  "name": "DingTalk Stream Channel",
4
- "version": "1.0.4",
5
- "description": "Custom channel for integrating Clawdbot with DingTalk (Stream Mode)",
6
- "author": "Your Name",
4
+ "version": "1.0.7",
5
+ "description": "Custom channel for integrating Moltbot with DingTalk (Stream Mode)",
6
+ "author": "Jack",
7
7
  "license": "MIT",
8
- "extensions": [
9
- "./index.js"
10
- ],
8
+ "extensions": {
9
+ "channels": [
10
+ "./index.js"
11
+ ]
12
+ },
11
13
  "channels": [
12
- "dingtalk"
14
+ "moltbot-dingtalk-stream"
13
15
  ],
14
16
  "configSchema": {
15
17
  "type": "object",
16
- "additionalProperties": false,
17
- "properties": {}
18
+ "properties": {
19
+ "channels": {
20
+ "type": "object",
21
+ "properties": {
22
+ "moltbot-dingtalk-stream": {
23
+ "type": "object",
24
+ "properties": {
25
+ "accounts": {
26
+ "type": "object",
27
+ "additionalProperties": {
28
+ "type": "object",
29
+ "properties": {
30
+ "enabled": {
31
+ "type": "boolean",
32
+ "description": "Whether this account is enabled"
33
+ },
34
+ "clientId": {
35
+ "type": "string",
36
+ "description": "AppKey from DingTalk developer console"
37
+ },
38
+ "clientSecret": {
39
+ "type": "string",
40
+ "description": "AppSecret from DingTalk developer console"
41
+ },
42
+ "webhookUrl": {
43
+ "type": "string",
44
+ "description": "Optional webhook URL for proactive messages"
45
+ }
46
+ },
47
+ "required": [
48
+ "clientId",
49
+ "clientSecret"
50
+ ]
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
18
58
  }
19
59
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moltbot-dingtalk-stream",
3
- "version": "1.0.1",
3
+ "version": "1.0.7",
4
4
  "description": "DingTalk channel plugin for Clawdbot (Stream Mode)",
5
5
  "main": "index.js",
6
6
  "clawdbot": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moltbot-dingtalk-stream",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "DingTalk custom channel plugin for Moltbot/Clawdbot",
5
5
  "main": "dist/index.js",
6
6
  "clawdbot": {