@zaofan/dsh-qqbot 1.10.8 → 1.10.10

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 (44) hide show
  1. package/README.md +3 -2
  2. package/client/qqbot-settings.js +6204 -6196
  3. package/dist/features/botplay.d.ts.map +1 -1
  4. package/dist/features/botplay.js +6 -2
  5. package/dist/features/botplay.js.map +1 -1
  6. package/dist/features/ext-capabilities.d.ts +2 -0
  7. package/dist/features/ext-capabilities.d.ts.map +1 -1
  8. package/dist/features/ext-capabilities.js +6 -0
  9. package/dist/features/ext-capabilities.js.map +1 -1
  10. package/dist/features/ext-outbound.d.ts +238 -0
  11. package/dist/features/ext-outbound.d.ts.map +1 -0
  12. package/dist/features/ext-outbound.js +518 -0
  13. package/dist/features/ext-outbound.js.map +1 -0
  14. package/dist/features/ext-reload.d.ts +19 -0
  15. package/dist/features/ext-reload.d.ts.map +1 -1
  16. package/dist/features/ext-reload.js +40 -0
  17. package/dist/features/ext-reload.js.map +1 -1
  18. package/dist/features/qq-user-questions.d.ts +6 -0
  19. package/dist/features/qq-user-questions.d.ts.map +1 -1
  20. package/dist/features/qq-user-questions.js +17 -3
  21. package/dist/features/qq-user-questions.js.map +1 -1
  22. package/dist/gateway/middleware-setup.d.ts.map +1 -1
  23. package/dist/gateway/middleware-setup.js +19 -0
  24. package/dist/gateway/middleware-setup.js.map +1 -1
  25. package/dist/session/session-manager.d.ts.map +1 -1
  26. package/dist/session/session-manager.js +5 -2
  27. package/dist/session/session-manager.js.map +1 -1
  28. package/dist/transport/inbound.js +3 -3
  29. package/dist/transport/inbound.js.map +1 -1
  30. package/dist/transport/outbound-buffer.d.ts +31 -1
  31. package/dist/transport/outbound-buffer.d.ts.map +1 -1
  32. package/dist/transport/outbound-buffer.js +49 -1
  33. package/dist/transport/outbound-buffer.js.map +1 -1
  34. package/dist/transport/outbound.d.ts.map +1 -1
  35. package/dist/transport/outbound.js +20 -0
  36. package/dist/transport/outbound.js.map +1 -1
  37. package/examples/ext-commands//344/274/232/350/257/235/345/210/227/350/241/250.mjs +756 -742
  38. package/examples/ext-commands//345/224/244/351/206/222.mjs +71 -0
  39. package/examples/ext-commands//345/255/220/344/274/232/350/257/235.mjs +16 -5
  40. package/examples/ext-outbound/README.md +139 -0
  41. package/examples/ext-outbound/sticker-semantic.mjs +524 -0
  42. package/examples/ext-tools/sticker_auto.mjs +260 -0
  43. package/examples/ext-tools/vote.mjs +534 -323
  44. package/package.json +144 -144
package/package.json CHANGED
@@ -1,144 +1,144 @@
1
- {
2
- "name": "@zaofan/dsh-qqbot",
3
- "version": "1.10.8",
4
- "description": "QQ Bot IM channel plugin for deepseek-harness (dsh)",
5
- "type": "module",
6
- "main": "./entry.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./entry.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/zaofan-make/dsh-qqbot.git"
40
- },
41
- "homepage": "https://github.com/zaofan-make/dsh-qqbot#readme",
42
- "bugs": {
43
- "url": "https://github.com/zaofan-make/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/extension-contract.md",
61
- "docs/USER-GUIDE.md",
62
- "docs/botplay-contract.md",
63
- "docs/host-services.md",
64
- "examples",
65
- "client",
66
- "cordis.patch.yml",
67
- "settings-host.js",
68
- "README.md",
69
- "README_EN.md",
70
- "LICENSE",
71
- "voice-convert.mjs",
72
- "scripts/download-model.mjs",
73
- "scripts/fix-dsh-016-presets.ps1",
74
- "entry.js"
75
- ],
76
- "dsh": {
77
- "bundle": {
78
- "patch": "./cordis.patch.yml"
79
- },
80
- "client": {
81
- "platform": "web",
82
- "inject": [
83
- "@deepseek-ai/dsh-client-ui-settings",
84
- "@deepseek-ai/dsh-client-ui-slots"
85
- ],
86
- "immediately": true
87
- },
88
- "engines": {
89
- "dsh": ">=0.1.5-rc.2"
90
- },
91
- "manifestVersion": 1
92
- },
93
- "dependencies": {
94
- "@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.1",
95
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.1",
96
- "@deepseek-ai/schemastery": "3.18.4",
97
- "@tencent-connect/qqbot-connector": "1.2.0",
98
- "@tencent-connect/qqbot-nodejs": "^1.0.4",
99
- "js-yaml": "^4.1.0",
100
- "lamejs-fixed": "^1.2.2",
101
- "silk-wasm": "^3.7.1"
102
- },
103
- "optionalDependencies": {
104
- "@huggingface/transformers": "^4.3.0"
105
- },
106
- "peerDependencies": {
107
- "@deepseek-ai/cordis": ">=4.0.1",
108
- "@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
109
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
110
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
111
- "@deepseek-ai/dsh-settings": "*",
112
- "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
113
- "@tencent-connect/qqbot-connector": "1.2.0"
114
- },
115
- "peerDependenciesMeta": {
116
- "@deepseek-ai/cordis": {
117
- "optional": true
118
- },
119
- "@deepseek-ai/schemastery": {
120
- "optional": true
121
- },
122
- "@deepseek-ai/dsh-agent": {
123
- "optional": true
124
- },
125
- "@deepseek-ai/dsh-session": {
126
- "optional": true
127
- },
128
- "@deepseek-ai/dsh-llm": {
129
- "optional": true
130
- }
131
- },
132
- "devDependencies": {
133
- "@deepseek-ai/cordis": "4.0.1",
134
- "@deepseek-ai/dsh-agent": "0.1.0-rc.6",
135
- "@deepseek-ai/dsh-llm": "0.1.0-rc.6",
136
- "@deepseek-ai/dsh-session": "0.1.0-rc.6",
137
- "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
138
- "@deepseek-ai/schemastery": "3.18.1",
139
- "@types/js-yaml": "^4.0.9",
140
- "@types/node": "^26.2.0",
141
- "typescript": "^5.5.0",
142
- "vitest": "^4.1.8"
143
- }
144
- }
1
+ {
2
+ "name": "@zaofan/dsh-qqbot",
3
+ "version": "1.10.10",
4
+ "description": "QQ Bot IM channel plugin for deepseek-harness (dsh)",
5
+ "type": "module",
6
+ "main": "./entry.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./entry.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/zaofan-make/dsh-qqbot.git"
40
+ },
41
+ "homepage": "https://github.com/zaofan-make/dsh-qqbot#readme",
42
+ "bugs": {
43
+ "url": "https://github.com/zaofan-make/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/extension-contract.md",
61
+ "docs/USER-GUIDE.md",
62
+ "docs/botplay-contract.md",
63
+ "docs/host-services.md",
64
+ "examples",
65
+ "client",
66
+ "cordis.patch.yml",
67
+ "settings-host.js",
68
+ "README.md",
69
+ "README_EN.md",
70
+ "LICENSE",
71
+ "voice-convert.mjs",
72
+ "scripts/download-model.mjs",
73
+ "scripts/fix-dsh-016-presets.ps1",
74
+ "entry.js"
75
+ ],
76
+ "dsh": {
77
+ "bundle": {
78
+ "patch": "./cordis.patch.yml"
79
+ },
80
+ "client": {
81
+ "platform": "web",
82
+ "inject": [
83
+ "@deepseek-ai/dsh-client-ui-settings",
84
+ "@deepseek-ai/dsh-client-ui-slots"
85
+ ],
86
+ "immediately": true
87
+ },
88
+ "engines": {
89
+ "dsh": ">=0.1.5-rc.2"
90
+ },
91
+ "manifestVersion": 1
92
+ },
93
+ "dependencies": {
94
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.1",
95
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.1",
96
+ "@deepseek-ai/schemastery": "3.18.4",
97
+ "@tencent-connect/qqbot-connector": "1.2.0",
98
+ "@tencent-connect/qqbot-nodejs": "^1.0.4",
99
+ "js-yaml": "^4.1.0",
100
+ "lamejs-fixed": "^1.2.2",
101
+ "silk-wasm": "^3.7.1"
102
+ },
103
+ "optionalDependencies": {
104
+ "@huggingface/transformers": "^4.3.0"
105
+ },
106
+ "peerDependencies": {
107
+ "@deepseek-ai/cordis": ">=4.0.1",
108
+ "@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
109
+ "@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
110
+ "@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
111
+ "@deepseek-ai/dsh-settings": "*",
112
+ "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
113
+ "@tencent-connect/qqbot-connector": "1.2.0"
114
+ },
115
+ "peerDependenciesMeta": {
116
+ "@deepseek-ai/cordis": {
117
+ "optional": true
118
+ },
119
+ "@deepseek-ai/schemastery": {
120
+ "optional": true
121
+ },
122
+ "@deepseek-ai/dsh-agent": {
123
+ "optional": true
124
+ },
125
+ "@deepseek-ai/dsh-session": {
126
+ "optional": true
127
+ },
128
+ "@deepseek-ai/dsh-llm": {
129
+ "optional": true
130
+ }
131
+ },
132
+ "devDependencies": {
133
+ "@deepseek-ai/cordis": "4.0.1",
134
+ "@deepseek-ai/dsh-agent": "0.1.0-rc.6",
135
+ "@deepseek-ai/dsh-llm": "0.1.0-rc.6",
136
+ "@deepseek-ai/dsh-session": "0.1.0-rc.6",
137
+ "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
138
+ "@deepseek-ai/schemastery": "3.18.1",
139
+ "@types/js-yaml": "^4.0.9",
140
+ "@types/node": "^26.2.0",
141
+ "typescript": "^5.5.0",
142
+ "vitest": "^4.1.8"
143
+ }
144
+ }