@openclaw-china/qqbot 0.1.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.
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "qqbot",
3
+ "name": "QQ Bot",
4
+ "description": "QQ 开放平台机器人消息渠道插件",
5
+ "version": "0.1.0",
6
+ "channels": ["qqbot"],
7
+ "configSchema": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "enabled": { "type": "boolean" },
12
+ "appId": { "type": "string" },
13
+ "clientSecret": { "type": "string" },
14
+ "markdownSupport": { "type": "boolean" },
15
+ "dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
16
+ "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
17
+ "requireMention": { "type": "boolean" },
18
+ "allowFrom": { "type": "array", "items": { "type": "string" } },
19
+ "groupAllowFrom": { "type": "array", "items": { "type": "string" } },
20
+ "historyLimit": { "type": "integer", "minimum": 0 },
21
+ "textChunkLimit": { "type": "integer", "minimum": 1 },
22
+ "replyFinalOnly": { "type": "boolean" }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "id": "qqbot",
3
+ "name": "QQ Bot",
4
+ "description": "QQ 开放平台机器人消息渠道插件",
5
+ "version": "0.1.0",
6
+ "channels": ["qqbot"],
7
+ "configSchema": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "enabled": { "type": "boolean" },
12
+ "appId": { "type": "string" },
13
+ "clientSecret": { "type": "string" },
14
+ "markdownSupport": { "type": "boolean" },
15
+ "dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
16
+ "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
17
+ "requireMention": { "type": "boolean" },
18
+ "allowFrom": { "type": "array", "items": { "type": "string" } },
19
+ "groupAllowFrom": { "type": "array", "items": { "type": "string" } },
20
+ "historyLimit": { "type": "integer", "minimum": 0 },
21
+ "textChunkLimit": { "type": "integer", "minimum": 1 },
22
+ "replyFinalOnly": { "type": "boolean" }
23
+ }
24
+ },
25
+ "uiHints": {
26
+ "appId": { "label": "App ID" },
27
+ "clientSecret": { "label": "Client Secret", "sensitive": true }
28
+ }
29
+ }
package/package.json ADDED
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "@openclaw-china/qqbot",
3
+ "version": "0.1.1",
4
+ "type": "module",
5
+ "description": "Moltbot QQ Bot channel plugin",
6
+ "license": "MIT",
7
+ "files": [
8
+ "dist",
9
+ "moltbot.plugin.json",
10
+ "clawdbot.plugin.json",
11
+ "openclaw.plugin.json"
12
+ ],
13
+ "openclaw": {
14
+ "extensions": [
15
+ "./dist/index.js"
16
+ ],
17
+ "channel": {
18
+ "id": "qqbot",
19
+ "label": "QQ Bot",
20
+ "selectionLabel": "QQ Bot",
21
+ "docsPath": "/channels/qqbot",
22
+ "blurb": "QQ 开放平台机器人消息",
23
+ "aliases": [
24
+ "qq"
25
+ ],
26
+ "order": 72
27
+ },
28
+ "install": {
29
+ "npmSpec": "@openclaw-china/qqbot",
30
+ "localPath": ".",
31
+ "defaultChoice": "npm"
32
+ }
33
+ },
34
+ "moltbot": {
35
+ "extensions": [
36
+ "./dist/index.js"
37
+ ],
38
+ "channel": {
39
+ "id": "qqbot",
40
+ "label": "QQ Bot",
41
+ "selectionLabel": "QQ Bot",
42
+ "docsPath": "/channels/qqbot",
43
+ "blurb": "QQ 开放平台机器人消息",
44
+ "aliases": [
45
+ "qq"
46
+ ],
47
+ "order": 72
48
+ },
49
+ "install": {
50
+ "npmSpec": "@openclaw-china/qqbot",
51
+ "localPath": ".",
52
+ "defaultChoice": "npm"
53
+ }
54
+ },
55
+ "clawdbot": {
56
+ "extensions": [
57
+ "./dist/index.js"
58
+ ],
59
+ "channel": {
60
+ "id": "qqbot",
61
+ "label": "QQ Bot",
62
+ "selectionLabel": "QQ Bot",
63
+ "docsPath": "/channels/qqbot",
64
+ "blurb": "QQ 开放平台机器人消息",
65
+ "aliases": [
66
+ "qq"
67
+ ],
68
+ "order": 72
69
+ },
70
+ "install": {
71
+ "npmSpec": "@openclaw-china/qqbot",
72
+ "localPath": ".",
73
+ "defaultChoice": "npm"
74
+ }
75
+ },
76
+ "main": "./dist/index.js",
77
+ "types": "./dist/index.d.ts",
78
+ "exports": {
79
+ ".": {
80
+ "types": "./dist/index.d.ts",
81
+ "default": "./dist/index.js"
82
+ }
83
+ },
84
+ "scripts": {
85
+ "build": "tsup",
86
+ "dev": "tsup --watch",
87
+ "test": "vitest --run",
88
+ "test:watch": "vitest",
89
+ "release": "npm run build && npm publish"
90
+ },
91
+ "dependencies": {
92
+ "@openclaw-china/shared": "0.1.27",
93
+ "ws": "^8.18.0"
94
+ },
95
+ "devDependencies": {
96
+ "@types/node": "^22.0.0",
97
+ "@types/ws": "^8.5.0",
98
+ "tsup": "^8.2.0",
99
+ "typescript": "^5.7.0",
100
+ "vitest": "^2.1.0",
101
+ "zod": "^3.23.0"
102
+ },
103
+ "peerDependencies": {
104
+ "moltbot": ">=0.1.0"
105
+ },
106
+ "peerDependenciesMeta": {
107
+ "moltbot": {
108
+ "optional": true
109
+ }
110
+ },
111
+ "private": false
112
+ }