aicq-chat-plugin 3.9.0 → 3.9.1

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,168 +1,170 @@
1
- {
2
- "kind": "channel",
3
- "id": "aicq-chat",
4
- "name": "AICQ Encrypted Chat",
5
- "version": "3.8.0",
6
- "description": "End-to-end encrypted chat channel via AICQ protocol — in-process Channel plugin using OpenClaw Channel SDK",
7
- "entry": "index.js",
8
- "activation": {
9
- "onStartup": true
10
- },
11
- "enabledByDefault": true,
12
- "channels": [
13
- "aicq-chat"
14
- ],
15
- "channelConfigs": {
16
- "aicq-chat": {
17
- "label": "AICQ Encrypted Chat",
18
- "description": "End-to-end encrypted chat channel via AICQ protocol",
19
- "schema": {
20
- "type": "object",
21
- "additionalProperties": false,
22
- "properties": {
23
- "accountId": {
24
- "type": "string",
25
- "description": "绑定到 OpenClaw 智能体的账户 ID",
26
- "default": "{{agent.id}}"
27
- },
28
- "autoAcceptFriends": {
29
- "type": "boolean",
30
- "default": true,
31
- "description": "是否自动接受好友请求"
32
- },
33
- "serverUrl": {
34
- "type": "string",
35
- "description": "AICQ 服务器地址",
36
- "default": "https://aicq.online"
37
- },
38
- "enabled": {
39
- "type": "boolean",
40
- "default": true,
41
- "description": "Enable this channel account"
42
- },
43
- "dmPolicy": {
44
- "type": "string",
45
- "default": "allowlist",
46
- "description": "DM access policy: allowlist (friends only), open, or disabled",
47
- "enum": [
48
- "allowlist",
49
- "open",
50
- "disabled"
51
- ]
52
- },
53
- "allowFrom": {
54
- "type": "array",
55
- "items": {
56
- "type": "string"
57
- },
58
- "default": [],
59
- "description": "允许发消息的好友 ID 列表(dmPolicy 为 allowlist 时生效)"
60
- }
61
- },
62
- "required": [
63
- "accountId"
64
- ]
65
- },
66
- "uiHints": {
67
- "accountId": {
68
- "label": "Account ID",
69
- "help": "The OpenClaw agent ID to bind as AICQ account"
70
- },
71
- "autoAcceptFriends": {
72
- "label": "Auto Accept Friends",
73
- "help": "Automatically accept incoming friend requests"
74
- },
75
- "serverUrl": {
76
- "label": "AICQ Server URL",
77
- "help": "The AICQ signaling server URL for WebSocket connections"
78
- },
79
- "dmPolicy": {
80
- "label": "DM Policy",
81
- "help": "Who can send direct messages: allowlist (friends only), open, or disabled"
82
- },
83
- "allowFrom": {
84
- "label": "Allow From",
85
- "help": "Friend IDs allowed to send DMs (used when dmPolicy is allowlist)"
86
- }
87
- }
88
- }
89
- },
90
- "configSchema": {
91
- "type": "object",
92
- "additionalProperties": false,
93
- "properties": {
94
- "serverUrl": {
95
- "type": "string",
96
- "description": "AICQ 服务器地址",
97
- "default": "https://aicq.online"
98
- },
99
- "autoAcceptFriends": {
100
- "type": "boolean",
101
- "description": "自动接受好友请求",
102
- "default": true
103
- },
104
- "debug": {
105
- "type": "boolean",
106
- "description": "Enable verbose debug logging",
107
- "default": false
108
- }
109
- }
110
- },
111
- "uiHints": {
112
- "serverUrl": {
113
- "label": "AICQ Server URL",
114
- "help": "The AICQ signaling server URL for WebSocket connections."
115
- },
116
- "autoAcceptFriends": {
117
- "label": "Auto Accept Friends",
118
- "help": "Automatically accept incoming friend requests."
119
- },
120
- "debug": {
121
- "label": "Debug Mode",
122
- "help": "Enable verbose logging for troubleshooting.",
123
- "advanced": true
124
- }
125
- },
126
- "contracts": {
127
- "tools": [
128
- "chat-friend",
129
- "chat-send",
130
- "chat-export-key"
131
- ],
132
- "gateway": [
133
- "aicq.status",
134
- "aicq.friends.list",
135
- "aicq.friends.add",
136
- "aicq.friends.remove",
137
- "aicq.friends.requests",
138
- "aicq.friends.acceptRequest",
139
- "aicq.friends.rejectRequest",
140
- "aicq.sessions.list",
141
- "aicq.identity.info",
142
- "aicq.agent.create",
143
- "aicq.agent.delete",
144
- "aicq.chat.history",
145
- "aicq.chat.send",
146
- "aicq.chat.delete",
147
- "aicq.chat.streamChunk",
148
- "aicq.chat.streamEnd",
149
- "aicq.groups.list",
150
- "aicq.groups.create",
151
- "aicq.groups.join",
152
- "aicq.groups.messages",
153
- "aicq.groups.silent"
154
- ]
155
- },
156
- "runtime": "node",
157
- "requires": {
158
- "node": ">=18.0.0",
159
- "packages": [
160
- "sql.js",
161
- "tweetnacl",
162
- "tweetnacl-util",
163
- "ws",
164
- "qrcode",
165
- "express"
166
- ]
167
- }
168
- }
1
+ {
2
+ "kind": "channel",
3
+ "id": "aicq-chat",
4
+ "name": "AICQ Encrypted Chat",
5
+ "version": "3.7.0",
6
+ "description": "End-to-end encrypted chat channel via AICQ protocol — in-process Channel plugin using OpenClaw Channel SDK",
7
+ "entry": "index.js",
8
+ "activation": {
9
+ "onStartup": true
10
+ },
11
+ "enabledByDefault": true,
12
+ "channels": [
13
+ "aicq-chat"
14
+ ],
15
+ "channelConfigs": {
16
+ "aicq-chat": {
17
+ "label": "AICQ Encrypted Chat",
18
+ "description": "End-to-end encrypted chat channel via AICQ protocol",
19
+ "schema": {
20
+ "type": "object",
21
+ "additionalProperties": false,
22
+ "properties": {
23
+ "accountId": {
24
+ "type": "string",
25
+ "description": "绑定到 OpenClaw 智能体的账户 ID",
26
+ "default": "{{agent.id}}"
27
+ },
28
+ "autoAcceptFriends": {
29
+ "type": "boolean",
30
+ "default": true,
31
+ "description": "是否自动接受好友请求"
32
+ },
33
+ "serverUrl": {
34
+ "type": "string",
35
+ "description": "AICQ 服务器地址",
36
+ "default": "https://aicq.online"
37
+ },
38
+ "enabled": {
39
+ "type": "boolean",
40
+ "default": true,
41
+ "description": "Enable this channel account"
42
+ },
43
+ "dmPolicy": {
44
+ "type": "string",
45
+ "default": "allowlist",
46
+ "description": "DM access policy: allowlist (friends only), open, or disabled",
47
+ "enum": [
48
+ "allowlist",
49
+ "open",
50
+ "disabled"
51
+ ]
52
+ },
53
+ "allowFrom": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "string"
57
+ },
58
+ "default": [],
59
+ "description": "允许发消息的好友 ID 列表(dmPolicy 为 allowlist 时生效)"
60
+ }
61
+ },
62
+ "required": [
63
+ "accountId"
64
+ ]
65
+ },
66
+ "uiHints": {
67
+ "accountId": {
68
+ "label": "Account ID",
69
+ "help": "The OpenClaw agent ID to bind as AICQ account"
70
+ },
71
+ "autoAcceptFriends": {
72
+ "label": "Auto Accept Friends",
73
+ "help": "Automatically accept incoming friend requests"
74
+ },
75
+ "serverUrl": {
76
+ "label": "AICQ Server URL",
77
+ "help": "The AICQ signaling server URL for WebSocket connections"
78
+ },
79
+ "dmPolicy": {
80
+ "label": "DM Policy",
81
+ "help": "Who can send direct messages: allowlist (friends only), open, or disabled"
82
+ },
83
+ "allowFrom": {
84
+ "label": "Allow From",
85
+ "help": "Friend IDs allowed to send DMs (used when dmPolicy is allowlist)"
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "configSchema": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "properties": {
94
+ "serverUrl": {
95
+ "type": "string",
96
+ "description": "AICQ 服务器地址",
97
+ "default": "https://aicq.online"
98
+ },
99
+ "autoAcceptFriends": {
100
+ "type": "boolean",
101
+ "description": "自动接受好友请求",
102
+ "default": true
103
+ },
104
+ "debug": {
105
+ "type": "boolean",
106
+ "description": "Enable verbose debug logging",
107
+ "default": false
108
+ }
109
+ }
110
+ },
111
+ "uiHints": {
112
+ "serverUrl": {
113
+ "label": "AICQ Server URL",
114
+ "help": "The AICQ signaling server URL for WebSocket connections."
115
+ },
116
+ "autoAcceptFriends": {
117
+ "label": "Auto Accept Friends",
118
+ "help": "Automatically accept incoming friend requests."
119
+ },
120
+ "debug": {
121
+ "label": "Debug Mode",
122
+ "help": "Enable verbose logging for troubleshooting.",
123
+ "advanced": true
124
+ }
125
+ },
126
+ "contracts": {
127
+ "tools": [
128
+ "chat-friend",
129
+ "chat-send",
130
+ "chat-export-key"
131
+ ],
132
+ "gateway": [
133
+ "aicq.status",
134
+ "aicq.friends.list",
135
+ "aicq.friends.add",
136
+ "aicq.friends.remove",
137
+ "aicq.friends.requests",
138
+ "aicq.friends.acceptRequest",
139
+ "aicq.friends.rejectRequest",
140
+ "aicq.sessions.list",
141
+ "aicq.identity.info",
142
+ "aicq.agent.create",
143
+ "aicq.agent.delete",
144
+ "aicq.chat.history",
145
+ "aicq.chat.send",
146
+ "aicq.chat.delete",
147
+ "aicq.chat.userUpload",
148
+ "aicq.chat.userfiles",
149
+ "aicq.chat.streamChunk",
150
+ "aicq.chat.streamEnd",
151
+ "aicq.groups.list",
152
+ "aicq.groups.create",
153
+ "aicq.groups.join",
154
+ "aicq.groups.messages",
155
+ "aicq.groups.silent"
156
+ ]
157
+ },
158
+ "runtime": "node",
159
+ "requires": {
160
+ "node": ">=18.0.0",
161
+ "packages": [
162
+ "sql.js",
163
+ "tweetnacl",
164
+ "tweetnacl-util",
165
+ "ws",
166
+ "qrcode",
167
+ "express"
168
+ ]
169
+ }
170
+ }
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "aicq-chat-plugin",
3
- "version": "3.9.0",
4
- "description": "AICQ End-to-end Encrypted Chat Channel Plugin for OpenClaw — In-process Channel SDK architecture with friend management, group chat, file transfer, and AI agent communication",
5
- "type": "module",
6
- "main": "index.js",
7
- "bin": {
8
- "aicq-plugin": "cli.cjs"
9
- },
10
- "files": [
11
- "index.js",
12
- "setup-entry.js",
13
- "cli.cjs",
14
- "postinstall.cjs",
15
- "src/",
16
- "lib/",
17
- "public/",
18
- "openclaw.plugin.json",
19
- "SKILL.md",
20
- "README.md"
21
- ],
22
- "scripts": {
23
- "start": "node index.js",
24
- "postinstall": "node postinstall.cjs",
25
- "install-deps": "npm install"
26
- },
27
- "keywords": [
28
- "aicq",
29
- "chat",
30
- "encrypted",
31
- "e2ee",
32
- "openclaw",
33
- "plugin",
34
- "channel",
35
- "ai-agent",
36
- "messaging",
37
- "p2p"
38
- ],
39
- "author": "ctz168",
40
- "license": "MIT",
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/ctz168/pluginAICQ.git",
44
- "directory": "openclaw-plugin"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/ctz168/pluginAICQ/issues"
48
- },
49
- "homepage": "https://aicq.online",
50
- "dependencies": {
51
- "express": "^4.18.2",
52
- "marked": "^12.0.0",
53
- "multer": "^1.4.5-lts.1",
54
- "node-fetch": "^2.7.0",
55
- "qrcode": "^1.5.3",
56
- "sql.js": "^1.14.1",
57
- "tweetnacl": "^1.0.3",
58
- "tweetnacl-util": "^0.15.1",
59
- "ws": "^8.16.0"
60
- },
61
- "peerDependencies": {
62
- "openclaw": ">=2026.3.24-beta.2"
63
- },
64
- "peerDependenciesMeta": {
65
- "openclaw": {
66
- "optional": true
67
- }
68
- },
69
- "engines": {
70
- "node": ">=18.0.0"
71
- },
72
- "openclaw": {
73
- "extensions": [
74
- "./index.js"
75
- ],
76
- "setupEntry": "./setup-entry.js",
77
- "channel": {
78
- "id": "aicq-chat",
79
- "label": "AICQ Encrypted Chat",
80
- "blurb": "端到端加密即时通讯频道,基于 NaCl (X25519 + XSalsa20-Poly1305)",
81
- "icon": "🔐"
82
- },
83
- "compat": {
84
- "pluginApi": ">=2026.3.24-beta.2"
85
- }
86
- }
87
- }
1
+ {
2
+ "name": "aicq-chat-plugin",
3
+ "version": "3.9.1",
4
+ "description": "AICQ End-to-end Encrypted Chat Channel Plugin for OpenClaw — In-process Channel SDK architecture with friend management, group chat, file transfer, and AI agent communication",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "bin": {
8
+ "aicq-plugin": "cli.cjs"
9
+ },
10
+ "files": [
11
+ "index.js",
12
+ "setup-entry.js",
13
+ "cli.cjs",
14
+ "postinstall.cjs",
15
+ "src/",
16
+ "lib/",
17
+ "public/",
18
+ "openclaw.plugin.json",
19
+ "SKILL.md",
20
+ "README.md"
21
+ ],
22
+ "scripts": {
23
+ "start": "node index.js",
24
+ "postinstall": "node postinstall.cjs",
25
+ "install-deps": "npm install"
26
+ },
27
+ "keywords": [
28
+ "aicq",
29
+ "chat",
30
+ "encrypted",
31
+ "e2ee",
32
+ "openclaw",
33
+ "plugin",
34
+ "channel",
35
+ "ai-agent",
36
+ "messaging",
37
+ "p2p"
38
+ ],
39
+ "author": "ctz168",
40
+ "license": "MIT",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/ctz168/pluginAICQ.git",
44
+ "directory": "openclaw-plugin"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/ctz168/pluginAICQ/issues"
48
+ },
49
+ "homepage": "https://aicq.online",
50
+ "dependencies": {
51
+ "express": "^4.18.2",
52
+ "marked": "^12.0.0",
53
+ "multer": "^1.4.5-lts.1",
54
+ "node-fetch": "^2.7.0",
55
+ "qrcode": "^1.5.3",
56
+ "sql.js": "^1.14.1",
57
+ "tweetnacl": "^1.0.3",
58
+ "tweetnacl-util": "^0.15.1",
59
+ "ws": "^8.16.0"
60
+ },
61
+ "peerDependencies": {
62
+ "openclaw": ">=2026.3.24-beta.2"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "openclaw": {
66
+ "optional": true
67
+ }
68
+ },
69
+ "engines": {
70
+ "node": ">=18.0.0"
71
+ },
72
+ "openclaw": {
73
+ "extensions": [
74
+ "./index.js"
75
+ ],
76
+ "setupEntry": "./setup-entry.js",
77
+ "channel": {
78
+ "id": "aicq-chat",
79
+ "label": "AICQ Encrypted Chat",
80
+ "blurb": "端到端加密即时通讯频道,基于 NaCl (X25519 + XSalsa20-Poly1305)",
81
+ "icon": "🔐"
82
+ },
83
+ "compat": {
84
+ "pluginApi": ">=2026.3.24-beta.2"
85
+ }
86
+ }
87
+ }
package/postinstall.cjs CHANGED
@@ -1,27 +1,27 @@
1
- #!/usr/bin/env node
2
- /**
3
- * AICQ Chat Plugin — Post-install script (v3.2 Channel SDK)
4
- *
5
- * Displays setup information after npm install.
6
- * v3.2 uses official Channel Plugin SDK (defineChannelPluginEntry).
7
- */
8
-
9
- console.log('');
10
- console.log(' ╔══════════════════════════════════════════════╗');
11
- console.log(' ║ AICQ Chat Plugin v3.2 Installed! ║');
12
- console.log(' ╠══════════════════════════════════════════════╣');
13
- console.log(' ║ ║');
14
- console.log(' ║ Architecture: Channel SDK (in-process) ║');
15
- console.log(' ║ Uses defineChannelPluginEntry ║');
16
- console.log(' ║ No independent port needed! ║');
17
- console.log(' ║ ║');
18
- console.log(' ║ Install via openclaw CLI: ║');
19
- console.log(' ║ openclaw plugins uninstall aicq-chat ║');
20
- console.log(' ║ openclaw plugins install npm:aicq-chat-plugin ║');
21
- console.log(' ║ openclaw gateway restart ║');
22
- console.log(' ║ ║');
23
- console.log(' ║ UI: /plugins/aicq-chat/ui/ ║');
24
- console.log(' ║ API: /plugins/aicq-chat/api/* ║');
25
- console.log(' ║ Docs: https://aicq.online ║');
26
- console.log(' ╚══════════════════════════════════════════════╝');
27
- console.log('');
1
+ #!/usr/bin/env node
2
+ /**
3
+ * AICQ Chat Plugin — Post-install script (v3.2 Channel SDK)
4
+ *
5
+ * Displays setup information after npm install.
6
+ * v3.2 uses official Channel Plugin SDK (defineChannelPluginEntry).
7
+ */
8
+
9
+ console.log('');
10
+ console.log(' ╔══════════════════════════════════════════════╗');
11
+ console.log(' ║ AICQ Chat Plugin v3.2 Installed! ║');
12
+ console.log(' ╠══════════════════════════════════════════════╣');
13
+ console.log(' ║ ║');
14
+ console.log(' ║ Architecture: Channel SDK (in-process) ║');
15
+ console.log(' ║ Uses defineChannelPluginEntry ║');
16
+ console.log(' ║ No independent port needed! ║');
17
+ console.log(' ║ ║');
18
+ console.log(' ║ Install via openclaw CLI: ║');
19
+ console.log(' ║ openclaw plugins uninstall aicq-chat ║');
20
+ console.log(' ║ openclaw plugins install npm:aicq-chat-plugin ║');
21
+ console.log(' ║ openclaw gateway restart ║');
22
+ console.log(' ║ ║');
23
+ console.log(' ║ UI: /plugins/aicq-chat/ui/ ║');
24
+ console.log(' ║ API: /plugins/aicq-chat/api/* ║');
25
+ console.log(' ║ Docs: https://aicq.online ║');
26
+ console.log(' ╚══════════════════════════════════════════════╝');
27
+ console.log('');
File without changes
File without changes
File without changes