@zaofan/dsh-qqbot 1.5.0 → 1.5.3
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.
- package/README.md +1 -1
- package/README_EN.md +7 -7
- package/client/qqbot-settings.js +52 -8
- package/dist/channel-tools.d.ts.map +1 -1
- package/dist/channel-tools.js +43 -1
- package/dist/channel-tools.js.map +1 -1
- package/dist/config.d.ts +34 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -1
- package/dist/config.js.map +1 -1
- package/dist/features/agg-score.d.ts +1 -1
- package/dist/features/agg-score.js +1 -1
- package/dist/features/four-source.d.ts +46 -10
- package/dist/features/four-source.d.ts.map +1 -1
- package/dist/features/four-source.js +94 -17
- package/dist/features/four-source.js.map +1 -1
- package/dist/features/local-signals.js +2 -2
- package/dist/features/local-signals.js.map +1 -1
- package/dist/features/people-memo.js +1 -1
- package/dist/features/tendency-samples.d.ts.map +1 -1
- package/dist/features/tendency-samples.js +36 -0
- package/dist/features/tendency-samples.js.map +1 -1
- package/dist/features/value-sample.d.ts +3 -1
- package/dist/features/value-sample.d.ts.map +1 -1
- package/dist/features/value-sample.js +3 -1
- package/dist/features/value-sample.js.map +1 -1
- package/dist/features/value-score.d.ts +27 -0
- package/dist/features/value-score.d.ts.map +1 -1
- package/dist/features/value-score.js +72 -4
- package/dist/features/value-score.js.map +1 -1
- package/dist/gateway/debounce.d.ts.map +1 -1
- package/dist/gateway/debounce.js +28 -6
- package/dist/gateway/debounce.js.map +1 -1
- package/dist/shared/mention-clean.d.ts +13 -0
- package/dist/shared/mention-clean.d.ts.map +1 -1
- package/dist/shared/mention-clean.js +19 -0
- package/dist/shared/mention-clean.js.map +1 -1
- package/dist/transport/inbound.d.ts +10 -0
- package/dist/transport/inbound.d.ts.map +1 -1
- package/dist/transport/inbound.js +129 -51
- package/dist/transport/inbound.js.map +1 -1
- package/dist/transport/markers.d.ts +59 -0
- package/dist/transport/markers.d.ts.map +1 -0
- package/dist/transport/markers.js +97 -0
- package/dist/transport/markers.js.map +1 -0
- package/dist/transport/outbound.d.ts.map +1 -1
- package/dist/transport/outbound.js +3 -1
- package/dist/transport/outbound.js.map +1 -1
- package/docs/USER-GUIDE.md +461 -429
- package/package.json +124 -124
- package/settings-host.js +3095 -3071
package/package.json
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zaofan/dsh-qqbot",
|
|
3
|
-
"version": "1.5.
|
|
4
|
-
"description": "QQ Bot IM channel plugin for deepseek-harness (dsh)",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./channel-tools": {
|
|
14
|
-
"types": "./dist/channel-tools.d.ts",
|
|
15
|
-
"import": "./dist/channel-tools.js"
|
|
16
|
-
},
|
|
17
|
-
"./sticker-store": {
|
|
18
|
-
"types": "./dist/features/sticker-store.d.ts",
|
|
19
|
-
"import": "./dist/features/sticker-store.js"
|
|
20
|
-
},
|
|
21
|
-
"./schedule-store": {
|
|
22
|
-
"types": "./dist/features/schedule-store.d.ts",
|
|
23
|
-
"import": "./dist/features/schedule-store.js"
|
|
24
|
-
},
|
|
25
|
-
"./client": "./client/qqbot-settings.js"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "tsc",
|
|
29
|
-
"dev": "tsc --watch",
|
|
30
|
-
"prepublishOnly": "npm run build && node scripts/check-package.mjs",
|
|
31
|
-
"check:package": "node scripts/check-package.mjs",
|
|
32
|
-
"lint": "eslint src/",
|
|
33
|
-
"test": "vitest run",
|
|
34
|
-
"clean": "rm -rf dist",
|
|
35
|
-
"ci:prepare-test-pkg": "node scripts/prepare-test-pkg.js"
|
|
36
|
-
},
|
|
37
|
-
"repository": {
|
|
38
|
-
"type": "git",
|
|
39
|
-
"url": "git+https://github.com/gcry13067381632-jpg/dsh-qqbot.git"
|
|
40
|
-
},
|
|
41
|
-
"homepage": "https://github.com/gcry13067381632-jpg/dsh-qqbot#readme",
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/gcry13067381632-jpg/dsh-qqbot/issues"
|
|
44
|
-
},
|
|
45
|
-
"keywords": [
|
|
46
|
-
"deepseek-harness",
|
|
47
|
-
"dsh",
|
|
48
|
-
"dsh-plugin",
|
|
49
|
-
"qqbot",
|
|
50
|
-
"qq-bot",
|
|
51
|
-
"chatbot",
|
|
52
|
-
"ai-agent",
|
|
53
|
-
"cordis",
|
|
54
|
-
"plugin",
|
|
55
|
-
"llm"
|
|
56
|
-
],
|
|
57
|
-
"license": "MIT",
|
|
58
|
-
"files": [
|
|
59
|
-
"dist",
|
|
60
|
-
"docs/USER-GUIDE.md",
|
|
61
|
-
"client",
|
|
62
|
-
"cordis.patch.yml",
|
|
63
|
-
"settings-host.js",
|
|
64
|
-
"README.md",
|
|
65
|
-
"README_EN.md",
|
|
66
|
-
"LICENSE",
|
|
67
|
-
"voice-convert.mjs",
|
|
68
|
-
"scripts/download-model.mjs"
|
|
69
|
-
],
|
|
70
|
-
"dsh": {
|
|
71
|
-
"bundle": {
|
|
72
|
-
"patch": "./cordis.patch.yml"
|
|
73
|
-
},
|
|
74
|
-
"client": {
|
|
75
|
-
"platform": "web",
|
|
76
|
-
"inject": []
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@tencent-connect/qqbot-connector": "1.2.0",
|
|
81
|
-
"@tencent-connect/qqbot-nodejs": "^1.0.4",
|
|
82
|
-
"js-yaml": "^4.1.0",
|
|
83
|
-
"silk-wasm": "^3.7.1",
|
|
84
|
-
"lamejs-fixed": "^1.2.2"
|
|
85
|
-
},
|
|
86
|
-
"peerDependencies": {
|
|
87
|
-
"@deepseek-ai/cordis": ">=4.0.1",
|
|
88
|
-
"@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
|
|
89
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
|
|
90
|
-
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
|
|
91
|
-
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
92
|
-
"@deepseek-ai/schemastery": ">=3.18.1",
|
|
93
|
-
"@tencent-connect/qqbot-connector": "1.2.0"
|
|
94
|
-
},
|
|
95
|
-
"peerDependenciesMeta": {
|
|
96
|
-
"@deepseek-ai/cordis": {
|
|
97
|
-
"optional": false
|
|
98
|
-
},
|
|
99
|
-
"@deepseek-ai/schemastery": {
|
|
100
|
-
"optional": false
|
|
101
|
-
},
|
|
102
|
-
"@deepseek-ai/dsh-agent": {
|
|
103
|
-
"optional": false
|
|
104
|
-
},
|
|
105
|
-
"@deepseek-ai/dsh-session": {
|
|
106
|
-
"optional": false
|
|
107
|
-
},
|
|
108
|
-
"@deepseek-ai/dsh-llm": {
|
|
109
|
-
"optional": false
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"devDependencies": {
|
|
113
|
-
"@deepseek-ai/cordis": "4.0.1",
|
|
114
|
-
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
115
|
-
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
116
|
-
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
117
|
-
"@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
|
|
118
|
-
"@deepseek-ai/schemastery": "3.18.1",
|
|
119
|
-
"@types/js-yaml": "^4.0.9",
|
|
120
|
-
"@types/node": "^26.2.0",
|
|
121
|
-
"typescript": "^5.5.0",
|
|
122
|
-
"vitest": "^4.1.8"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zaofan/dsh-qqbot",
|
|
3
|
+
"version": "1.5.3",
|
|
4
|
+
"description": "QQ Bot IM channel plugin for deepseek-harness (dsh)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./channel-tools": {
|
|
14
|
+
"types": "./dist/channel-tools.d.ts",
|
|
15
|
+
"import": "./dist/channel-tools.js"
|
|
16
|
+
},
|
|
17
|
+
"./sticker-store": {
|
|
18
|
+
"types": "./dist/features/sticker-store.d.ts",
|
|
19
|
+
"import": "./dist/features/sticker-store.js"
|
|
20
|
+
},
|
|
21
|
+
"./schedule-store": {
|
|
22
|
+
"types": "./dist/features/schedule-store.d.ts",
|
|
23
|
+
"import": "./dist/features/schedule-store.js"
|
|
24
|
+
},
|
|
25
|
+
"./client": "./client/qqbot-settings.js"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsc",
|
|
29
|
+
"dev": "tsc --watch",
|
|
30
|
+
"prepublishOnly": "npm run build && node scripts/check-package.mjs",
|
|
31
|
+
"check:package": "node scripts/check-package.mjs",
|
|
32
|
+
"lint": "eslint src/",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"clean": "rm -rf dist",
|
|
35
|
+
"ci:prepare-test-pkg": "node scripts/prepare-test-pkg.js"
|
|
36
|
+
},
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/gcry13067381632-jpg/dsh-qqbot.git"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/gcry13067381632-jpg/dsh-qqbot#readme",
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/gcry13067381632-jpg/dsh-qqbot/issues"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"deepseek-harness",
|
|
47
|
+
"dsh",
|
|
48
|
+
"dsh-plugin",
|
|
49
|
+
"qqbot",
|
|
50
|
+
"qq-bot",
|
|
51
|
+
"chatbot",
|
|
52
|
+
"ai-agent",
|
|
53
|
+
"cordis",
|
|
54
|
+
"plugin",
|
|
55
|
+
"llm"
|
|
56
|
+
],
|
|
57
|
+
"license": "MIT",
|
|
58
|
+
"files": [
|
|
59
|
+
"dist",
|
|
60
|
+
"docs/USER-GUIDE.md",
|
|
61
|
+
"client",
|
|
62
|
+
"cordis.patch.yml",
|
|
63
|
+
"settings-host.js",
|
|
64
|
+
"README.md",
|
|
65
|
+
"README_EN.md",
|
|
66
|
+
"LICENSE",
|
|
67
|
+
"voice-convert.mjs",
|
|
68
|
+
"scripts/download-model.mjs"
|
|
69
|
+
],
|
|
70
|
+
"dsh": {
|
|
71
|
+
"bundle": {
|
|
72
|
+
"patch": "./cordis.patch.yml"
|
|
73
|
+
},
|
|
74
|
+
"client": {
|
|
75
|
+
"platform": "web",
|
|
76
|
+
"inject": []
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@tencent-connect/qqbot-connector": "1.2.0",
|
|
81
|
+
"@tencent-connect/qqbot-nodejs": "^1.0.4",
|
|
82
|
+
"js-yaml": "^4.1.0",
|
|
83
|
+
"silk-wasm": "^3.7.1",
|
|
84
|
+
"lamejs-fixed": "^1.2.2"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@deepseek-ai/cordis": ">=4.0.1",
|
|
88
|
+
"@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
|
|
89
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
|
|
90
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
|
|
91
|
+
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
92
|
+
"@deepseek-ai/schemastery": ">=3.18.1",
|
|
93
|
+
"@tencent-connect/qqbot-connector": "1.2.0"
|
|
94
|
+
},
|
|
95
|
+
"peerDependenciesMeta": {
|
|
96
|
+
"@deepseek-ai/cordis": {
|
|
97
|
+
"optional": false
|
|
98
|
+
},
|
|
99
|
+
"@deepseek-ai/schemastery": {
|
|
100
|
+
"optional": false
|
|
101
|
+
},
|
|
102
|
+
"@deepseek-ai/dsh-agent": {
|
|
103
|
+
"optional": false
|
|
104
|
+
},
|
|
105
|
+
"@deepseek-ai/dsh-session": {
|
|
106
|
+
"optional": false
|
|
107
|
+
},
|
|
108
|
+
"@deepseek-ai/dsh-llm": {
|
|
109
|
+
"optional": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"@deepseek-ai/cordis": "4.0.1",
|
|
114
|
+
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
115
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
116
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
117
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
|
|
118
|
+
"@deepseek-ai/schemastery": "3.18.1",
|
|
119
|
+
"@types/js-yaml": "^4.0.9",
|
|
120
|
+
"@types/node": "^26.2.0",
|
|
121
|
+
"typescript": "^5.5.0",
|
|
122
|
+
"vitest": "^4.1.8"
|
|
123
|
+
}
|
|
124
|
+
}
|