@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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/README_EN.md +7 -7
  3. package/client/qqbot-settings.js +52 -8
  4. package/dist/channel-tools.d.ts.map +1 -1
  5. package/dist/channel-tools.js +43 -1
  6. package/dist/channel-tools.js.map +1 -1
  7. package/dist/config.d.ts +34 -0
  8. package/dist/config.d.ts.map +1 -1
  9. package/dist/config.js +17 -1
  10. package/dist/config.js.map +1 -1
  11. package/dist/features/agg-score.d.ts +1 -1
  12. package/dist/features/agg-score.js +1 -1
  13. package/dist/features/four-source.d.ts +46 -10
  14. package/dist/features/four-source.d.ts.map +1 -1
  15. package/dist/features/four-source.js +94 -17
  16. package/dist/features/four-source.js.map +1 -1
  17. package/dist/features/local-signals.js +2 -2
  18. package/dist/features/local-signals.js.map +1 -1
  19. package/dist/features/people-memo.js +1 -1
  20. package/dist/features/tendency-samples.d.ts.map +1 -1
  21. package/dist/features/tendency-samples.js +36 -0
  22. package/dist/features/tendency-samples.js.map +1 -1
  23. package/dist/features/value-sample.d.ts +3 -1
  24. package/dist/features/value-sample.d.ts.map +1 -1
  25. package/dist/features/value-sample.js +3 -1
  26. package/dist/features/value-sample.js.map +1 -1
  27. package/dist/features/value-score.d.ts +27 -0
  28. package/dist/features/value-score.d.ts.map +1 -1
  29. package/dist/features/value-score.js +72 -4
  30. package/dist/features/value-score.js.map +1 -1
  31. package/dist/gateway/debounce.d.ts.map +1 -1
  32. package/dist/gateway/debounce.js +28 -6
  33. package/dist/gateway/debounce.js.map +1 -1
  34. package/dist/shared/mention-clean.d.ts +13 -0
  35. package/dist/shared/mention-clean.d.ts.map +1 -1
  36. package/dist/shared/mention-clean.js +19 -0
  37. package/dist/shared/mention-clean.js.map +1 -1
  38. package/dist/transport/inbound.d.ts +10 -0
  39. package/dist/transport/inbound.d.ts.map +1 -1
  40. package/dist/transport/inbound.js +129 -51
  41. package/dist/transport/inbound.js.map +1 -1
  42. package/dist/transport/markers.d.ts +59 -0
  43. package/dist/transport/markers.d.ts.map +1 -0
  44. package/dist/transport/markers.js +97 -0
  45. package/dist/transport/markers.js.map +1 -0
  46. package/dist/transport/outbound.d.ts.map +1 -1
  47. package/dist/transport/outbound.js +3 -1
  48. package/dist/transport/outbound.js.map +1 -1
  49. package/docs/USER-GUIDE.md +461 -429
  50. package/package.json +124 -124
  51. package/settings-host.js +3095 -3071
package/package.json CHANGED
@@ -1,124 +1,124 @@
1
- {
2
- "name": "@zaofan/dsh-qqbot",
3
- "version": "1.5.0",
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
+ }