@dcrays/dcgchat-test 0.5.4 → 0.5.6

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.
@@ -4,6 +4,31 @@
4
4
  "dcgchat-test"
5
5
  ],
6
6
  "description": "Gateway `event=cron` + `action=finished` 时:优先在 payload 中按 schemas/gateway-cron-finished.payload.json 提供 `attachments`;若缺省,插件在工作区规则下从 summary 回退提取路径并经 sendMedia 发送。",
7
+ "hooks": {
8
+ "allowConversationAccess": true
9
+ },
10
+ "channelConfigs": {
11
+ "dcgchat-test": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "allowedPaths": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ },
20
+ "description": "允许发送文件的额外路径列表"
21
+ },
22
+ "allowedAttachmentExtensions": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "额外允许的附件后缀,如 [\".go\", \".rs\"]"
28
+ }
29
+ }
30
+ }
31
+ },
7
32
  "configSchema": {
8
33
  "type": "object",
9
34
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcrays/dcgchat-test",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin for 书灵墨宝 (WebSocket)",
6
6
  "main": "index.js",
@@ -41,10 +41,10 @@
41
41
  "npmSpec": "@dcrays/dcgchat-test",
42
42
  "localPath": "extensions/dcgchat-test",
43
43
  "defaultChoice": "npm",
44
- "minHostVersion": ">=2026.4.12"
44
+ "minHostVersion": ">=2026.4.15"
45
45
  },
46
46
  "compat": {
47
- "pluginApi": ">=2026.4.12"
47
+ "pluginApi": ">=2026.4.15"
48
48
  }
49
49
  }
50
50
  }