openclaw-xiaoyou 1.3.6 → 1.3.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.
@@ -3,7 +3,58 @@
3
3
  "channels": ["xiaoyou"],
4
4
  "configSchema": {
5
5
  "type": "object",
6
- "additionalProperties": true,
7
- "properties": {}
6
+ "properties": {
7
+ "wsUrl": {
8
+ "type": "string",
9
+ "title": "WebSocket URL",
10
+ "description": "企业 WebSocket 服务地址",
11
+ "default": "ws://aiws-sim.haiersmarthomes.com:11055/xiaoyou/claw"
12
+ },
13
+ "authToken": {
14
+ "type": "string",
15
+ "title": "Auth Token",
16
+ "description": "企业服务认证 Token",
17
+ "format": "password"
18
+ },
19
+ "dmSecurity": {
20
+ "type": "string",
21
+ "title": "DM Security",
22
+ "description": "DM 安全策略",
23
+ "enum": ["open", "allowlist"],
24
+ "default": "open"
25
+ },
26
+ "allowFrom": {
27
+ "type": "array",
28
+ "title": "Allow From",
29
+ "description": "允许发消息的用户 ID 列表",
30
+ "items": { "type": "string" },
31
+ "default": ["*"]
32
+ },
33
+ "blockStreaming": {
34
+ "type": "boolean",
35
+ "title": "Block Streaming",
36
+ "description": "是否开启流式推送",
37
+ "default": true
38
+ },
39
+ "reconnectIntervalMs": {
40
+ "type": "number",
41
+ "title": "Reconnect Interval (ms)",
42
+ "description": "重连基础间隔(毫秒)",
43
+ "default": 3000
44
+ },
45
+ "heartbeatIntervalMs": {
46
+ "type": "number",
47
+ "title": "Heartbeat Interval (ms)",
48
+ "description": "心跳间隔(毫秒)",
49
+ "default": 30000
50
+ },
51
+ "heartbeatTimeoutMs": {
52
+ "type": "number",
53
+ "title": "Heartbeat Timeout (ms)",
54
+ "description": "心跳超时(毫秒)",
55
+ "default": 10000
56
+ }
57
+ },
58
+ "required": ["wsUrl", "authToken"]
8
59
  }
9
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-xiaoyou",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "type": "module",
5
5
  "description": "Xiaoyou channel plugin for OpenClaw — connects enterprise services via persistent outbound WebSocket",
6
6
  "openclaw": {