aicq-chat-plugin 3.1.0 → 3.2.2

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.
@@ -2,7 +2,7 @@
2
2
  "kind": "channel",
3
3
  "id": "aicq-chat",
4
4
  "name": "AICQ Encrypted Chat",
5
- "version": "3.1.0",
5
+ "version": "3.2.2",
6
6
  "description": "End-to-end encrypted chat channel via AICQ protocol — in-process Channel plugin",
7
7
  "entry": "index.js",
8
8
  "activation": {
@@ -15,8 +15,9 @@
15
15
  "channelConfigs": {
16
16
  "aicq-chat": {
17
17
  "label": "AICQ Encrypted Chat",
18
- "icon": "🔐",
19
- "accounts": {
18
+ "description": "End-to-end encrypted chat channel via AICQ protocol",
19
+ "schema": {
20
+ "$schema": "http://json-schema.org/draft-07/schema#",
20
21
  "type": "object",
21
22
  "additionalProperties": false,
22
23
  "properties": {
@@ -29,11 +30,49 @@
29
30
  "type": "boolean",
30
31
  "default": true,
31
32
  "description": "是否自动接受好友请求"
33
+ },
34
+ "serverUrl": {
35
+ "type": "string",
36
+ "description": "AICQ 服务器地址",
37
+ "default": "https://aicq.online"
38
+ },
39
+ "enabled": {
40
+ "type": "boolean",
41
+ "default": true,
42
+ "description": "Enable this channel account"
43
+ },
44
+ "dmPolicy": {
45
+ "type": "string",
46
+ "default": "allowlist",
47
+ "description": "DM access policy: allowlist (friends only), open, or disabled",
48
+ "enum": [
49
+ "allowlist",
50
+ "open",
51
+ "disabled"
52
+ ]
32
53
  }
33
54
  },
34
55
  "required": [
35
56
  "accountId"
36
57
  ]
58
+ },
59
+ "uiHints": {
60
+ "accountId": {
61
+ "label": "Account ID",
62
+ "help": "The OpenClaw agent ID to bind as AICQ account"
63
+ },
64
+ "autoAcceptFriends": {
65
+ "label": "Auto Accept Friends",
66
+ "help": "Automatically accept incoming friend requests"
67
+ },
68
+ "serverUrl": {
69
+ "label": "AICQ Server URL",
70
+ "help": "The AICQ signaling server URL for WebSocket connections"
71
+ },
72
+ "dmPolicy": {
73
+ "label": "DM Policy",
74
+ "help": "Who can send direct messages: allowlist (friends only), open, or disabled"
75
+ }
37
76
  }
38
77
  }
39
78
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicq-chat-plugin",
3
- "version": "3.1.0",
3
+ "version": "3.2.2",
4
4
  "description": "AICQ End-to-end Encrypted Chat Channel Plugin for OpenClaw — In-process Channel architecture with friend management, group chat, file transfer, and AI agent communication",
5
5
  "main": "index.js",
6
6
  "bin": {