@dcrays/dcgchat-test 0.5.9 → 0.5.10
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/openclaw.plugin.json +44 -13
- package/package.json +1 -1
package/openclaw.plugin.json
CHANGED
|
@@ -3,28 +3,59 @@
|
|
|
3
3
|
"channels": [
|
|
4
4
|
"dcgchat-test"
|
|
5
5
|
],
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "书灵墨宝Channel插件",
|
|
7
7
|
"hooks": {
|
|
8
8
|
"allowConversationAccess": true
|
|
9
9
|
},
|
|
10
10
|
"channelConfigs": {
|
|
11
11
|
"dcgchat-test": {
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
12
|
+
"schema": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"properties": {
|
|
16
|
+
"enabled": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"wsUrl": {
|
|
18
20
|
"type": "string"
|
|
19
21
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
22
|
+
"botToken": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"userId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "WebSocket 连接参数 _userId,与 dcgchat_message 工具的 target(dcgSessionKey)无关"
|
|
28
|
+
},
|
|
29
|
+
"appId": {
|
|
25
30
|
"type": "string"
|
|
26
31
|
},
|
|
27
|
-
"
|
|
32
|
+
"domainId": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"capabilities": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"strictMessageToolTarget": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "默认 true:内置 message 工具的 target 须为 sessionKey 形态;设为 false 关闭此校验。"
|
|
44
|
+
},
|
|
45
|
+
"allowedPaths": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"description": "允许发送文件的额外路径列表"
|
|
51
|
+
},
|
|
52
|
+
"allowedAttachmentExtensions": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"description": "额外允许的附件后缀,如 [\".go\", \".rs\"]"
|
|
58
|
+
}
|
|
28
59
|
}
|
|
29
60
|
}
|
|
30
61
|
}
|