@zaofan/dsh-qqbot 1.9.3 → 1.10.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.
- package/README.md +646 -554
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +8 -1
- package/dist/config.js.map +1 -1
- package/dist/features/ext-capabilities.d.ts +9 -0
- package/dist/features/ext-capabilities.d.ts.map +1 -1
- package/dist/features/ext-capabilities.js +2 -0
- package/dist/features/ext-capabilities.js.map +1 -1
- package/dist/features/ext-tool-interaction.d.ts.map +1 -1
- package/dist/features/ext-tool-interaction.js +37 -5
- package/dist/features/ext-tool-interaction.js.map +1 -1
- package/dist/features/extension-store.d.ts.map +1 -1
- package/dist/features/extension-store.js +8 -0
- package/dist/features/extension-store.js.map +1 -1
- package/dist/gateway/middleware-setup.d.ts.map +1 -1
- package/dist/gateway/middleware-setup.js +6 -0
- package/dist/gateway/middleware-setup.js.map +1 -1
- package/docs/USER-GUIDE.md +17 -0
- package/docs/extension-contract.md +1 -0
- package/examples/ext-commands//345/255/220/344/274/232/350/257/235.mjs +598 -0
- package/examples/ext-hooks/session-watch-hook.mjs +53 -119
- package/examples/ext-tools/lib/session_watch_lib.mjs +767 -350
- package/examples/ext-tools/qq_send.mjs +201 -138
- package/examples/ext-tools/session_children.mjs +99 -0
- package/examples/ext-tools/session_create.mjs +219 -201
- package/examples/ext-tools/session_watch.mjs +139 -93
- package/examples/ext-tools/sessions_list.mjs +180 -180
- package/package.json +142 -142
package/package.json
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zaofan/dsh-qqbot",
|
|
3
|
-
"version": "1.
|
|
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
|
-
"@huggingface/transformers": "^4.3.0",
|
|
98
|
-
"@tencent-connect/qqbot-connector": "1.2.0",
|
|
99
|
-
"@tencent-connect/qqbot-nodejs": "^1.0.4",
|
|
100
|
-
"js-yaml": "^4.1.0",
|
|
101
|
-
"lamejs-fixed": "^1.2.2",
|
|
102
|
-
"silk-wasm": "^3.7.1"
|
|
103
|
-
},
|
|
104
|
-
"peerDependencies": {
|
|
105
|
-
"@deepseek-ai/cordis": ">=4.0.1",
|
|
106
|
-
"@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
|
|
107
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
|
|
108
|
-
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
|
|
109
|
-
"@deepseek-ai/dsh-settings": "*",
|
|
110
|
-
"@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
|
|
111
|
-
"@tencent-connect/qqbot-connector": "1.2.0"
|
|
112
|
-
},
|
|
113
|
-
"peerDependenciesMeta": {
|
|
114
|
-
"@deepseek-ai/cordis": {
|
|
115
|
-
"optional": false
|
|
116
|
-
},
|
|
117
|
-
"@deepseek-ai/schemastery": {
|
|
118
|
-
"optional": false
|
|
119
|
-
},
|
|
120
|
-
"@deepseek-ai/dsh-agent": {
|
|
121
|
-
"optional": false
|
|
122
|
-
},
|
|
123
|
-
"@deepseek-ai/dsh-session": {
|
|
124
|
-
"optional": false
|
|
125
|
-
},
|
|
126
|
-
"@deepseek-ai/dsh-llm": {
|
|
127
|
-
"optional": false
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"devDependencies": {
|
|
131
|
-
"@deepseek-ai/cordis": "4.0.1",
|
|
132
|
-
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
133
|
-
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
134
|
-
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
135
|
-
"@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
|
|
136
|
-
"@deepseek-ai/schemastery": "3.18.1",
|
|
137
|
-
"@types/js-yaml": "^4.0.9",
|
|
138
|
-
"@types/node": "^26.2.0",
|
|
139
|
-
"typescript": "^5.5.0",
|
|
140
|
-
"vitest": "^4.1.8"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zaofan/dsh-qqbot",
|
|
3
|
+
"version": "1.10.1",
|
|
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
|
+
"@huggingface/transformers": "^4.3.0",
|
|
98
|
+
"@tencent-connect/qqbot-connector": "1.2.0",
|
|
99
|
+
"@tencent-connect/qqbot-nodejs": "^1.0.4",
|
|
100
|
+
"js-yaml": "^4.1.0",
|
|
101
|
+
"lamejs-fixed": "^1.2.2",
|
|
102
|
+
"silk-wasm": "^3.7.1"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"@deepseek-ai/cordis": ">=4.0.1",
|
|
106
|
+
"@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
|
|
107
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
|
|
108
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
|
|
109
|
+
"@deepseek-ai/dsh-settings": "*",
|
|
110
|
+
"@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
|
|
111
|
+
"@tencent-connect/qqbot-connector": "1.2.0"
|
|
112
|
+
},
|
|
113
|
+
"peerDependenciesMeta": {
|
|
114
|
+
"@deepseek-ai/cordis": {
|
|
115
|
+
"optional": false
|
|
116
|
+
},
|
|
117
|
+
"@deepseek-ai/schemastery": {
|
|
118
|
+
"optional": false
|
|
119
|
+
},
|
|
120
|
+
"@deepseek-ai/dsh-agent": {
|
|
121
|
+
"optional": false
|
|
122
|
+
},
|
|
123
|
+
"@deepseek-ai/dsh-session": {
|
|
124
|
+
"optional": false
|
|
125
|
+
},
|
|
126
|
+
"@deepseek-ai/dsh-llm": {
|
|
127
|
+
"optional": false
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"devDependencies": {
|
|
131
|
+
"@deepseek-ai/cordis": "4.0.1",
|
|
132
|
+
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
133
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
134
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
135
|
+
"@deepseek-ai/dsh-tools": ">=0.1.1-rc.2",
|
|
136
|
+
"@deepseek-ai/schemastery": "3.18.1",
|
|
137
|
+
"@types/js-yaml": "^4.0.9",
|
|
138
|
+
"@types/node": "^26.2.0",
|
|
139
|
+
"typescript": "^5.5.0",
|
|
140
|
+
"vitest": "^4.1.8"
|
|
141
|
+
}
|
|
142
|
+
}
|