@fg-lab/amadeus-qq 1.2.1 → 1.2.2
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/LICENSE +21 -21
- package/README.md +55 -53
- package/README.zh-CN.md +51 -51
- package/REFERENCE.md +49 -49
- package/cordis.patch.yml +6 -6
- package/docs/DATA_MIGRATION.md +26 -26
- package/docs/INSTALL_V1_2.md +22 -22
- package/docs/PUBLISHING.md +28 -26
- package/docs/RELEASE_CHECKLIST.md +23 -23
- package/docs/RELEASE_NOTES.md +38 -38
- package/docs/UPGRADE_POLICY.md +26 -26
- package/docs/verification/IMAGE_READ_FIX_2026-11-07.md +22 -0
- package/docs/verification/LIFE_QQ_BOUNDARY_2026-11-07.md +20 -0
- package/lib/client.js +372 -372
- package/package.json +94 -91
- package/preset.patch.yml +63 -0
- package/scripts/symlink-security.mjs +1 -1
- package/src/account-profile.js +223 -223
- package/src/admin-http.js +361 -361
- package/src/audio.js +428 -428
- package/src/capabilities.js +785 -785
- package/src/client/factory.template.js +82 -82
- package/src/client/logic.js +290 -290
- package/src/config.js +2 -0
- package/src/console/console.css +28 -28
- package/src/console/console.js +3 -0
- package/src/console/index.html +67 -67
- package/src/core.js +21 -4
- package/src/files.js +230 -230
- package/src/index.js +135 -8
- package/src/lease.js +42 -42
- package/src/media.js +66 -3
- package/src/napcat-action-names.js +186 -186
- package/src/native-asr.js +112 -112
- package/src/onebot.js +378 -378
- package/src/outbound-media.js +309 -309
- package/src/owner-workspace.js +394 -394
- package/src/permissions.js +20 -0
- package/src/preset-guard.mjs +16 -2
- package/src/qzone-provider.js +628 -628
- package/src/session-provenance.js +74 -74
- package/src/setup.js +255 -255
- package/src/web-console.js +9 -9
package/package.json
CHANGED
|
@@ -1,91 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fg-lab/amadeus-qq",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"description": "Amadeus QQ continuous interaction plugin for DeepSeek Harness",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "src/index.js",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": "./src/index.js",
|
|
10
|
-
"./preset-guard": "./src/preset-guard.mjs",
|
|
11
|
-
"./client": "./lib/client.js",
|
|
12
|
-
"./package.json": "./package.json"
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"src/*.js",
|
|
16
|
-
"src/*.mjs",
|
|
17
|
-
"src/console",
|
|
18
|
-
"src/client",
|
|
19
|
-
"lib",
|
|
20
|
-
"scripts",
|
|
21
|
-
"cordis.patch.yml",
|
|
22
|
-
"preset.patch.yml",
|
|
23
|
-
"README.md",
|
|
24
|
-
"LICENSE",
|
|
25
|
-
"docs/RELEASE_NOTES.md",
|
|
26
|
-
"docs/COMPATIBILITY.md",
|
|
27
|
-
"docs/V1_SCOPE.md",
|
|
28
|
-
"docs/v1.1",
|
|
29
|
-
"docs/screenshots",
|
|
30
|
-
"docs/verification/V1_REAL_NAPCAT_2026-10-27.md",
|
|
31
|
-
"docs/
|
|
32
|
-
"docs/
|
|
33
|
-
"docs/
|
|
34
|
-
"docs/
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@fg-lab/amadeus-qq",
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Amadeus QQ continuous interaction plugin for DeepSeek Harness",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./src/index.js",
|
|
10
|
+
"./preset-guard": "./src/preset-guard.mjs",
|
|
11
|
+
"./client": "./lib/client.js",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"src/*.js",
|
|
16
|
+
"src/*.mjs",
|
|
17
|
+
"src/console",
|
|
18
|
+
"src/client",
|
|
19
|
+
"lib",
|
|
20
|
+
"scripts",
|
|
21
|
+
"cordis.patch.yml",
|
|
22
|
+
"preset.patch.yml",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"docs/RELEASE_NOTES.md",
|
|
26
|
+
"docs/COMPATIBILITY.md",
|
|
27
|
+
"docs/V1_SCOPE.md",
|
|
28
|
+
"docs/v1.1",
|
|
29
|
+
"docs/screenshots",
|
|
30
|
+
"docs/verification/V1_REAL_NAPCAT_2026-10-27.md",
|
|
31
|
+
"docs/verification/IMAGE_READ_FIX_2026-11-07.md",
|
|
32
|
+
"docs/verification/LIFE_QQ_BOUNDARY_2026-11-07.md",
|
|
33
|
+
"docs/UPGRADE_POLICY.md",
|
|
34
|
+
"docs/DATA_MIGRATION.md",
|
|
35
|
+
"docs/RELEASE_CHECKLIST.md",
|
|
36
|
+
"docs/INSTALL_V1_2.md",
|
|
37
|
+
"scripts/release-audit.mjs",
|
|
38
|
+
"screenshots.json",
|
|
39
|
+
"assets/market-icon.png",
|
|
40
|
+
"README.zh-CN.md",
|
|
41
|
+
"REFERENCE.md",
|
|
42
|
+
"docs/PUBLISHING.md"
|
|
43
|
+
],
|
|
44
|
+
"dsh": {
|
|
45
|
+
"manifestVersion": 1,
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": [
|
|
48
|
+
"./cordis.patch.yml",
|
|
49
|
+
"./preset.patch.yml"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"client": {
|
|
53
|
+
"platform": "web",
|
|
54
|
+
"inject": [
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"ws": "^8.18.3"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "node scripts/build-client.mjs",
|
|
64
|
+
"test": "node --test tests/*.test.mjs",
|
|
65
|
+
"verify:release": "node scripts/release-audit.mjs"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=22.13.0",
|
|
69
|
+
"dsh": ">=0.2.1-rc.3 <0.3.0"
|
|
70
|
+
},
|
|
71
|
+
"repository": {
|
|
72
|
+
"type": "git",
|
|
73
|
+
"url": "git+https://github.com/jeskoky-pixel/amadeus-qq.git"
|
|
74
|
+
},
|
|
75
|
+
"homepage": "https://github.com/jeskoky-pixel/amadeus-qq#readme",
|
|
76
|
+
"bugs": {
|
|
77
|
+
"url": "https://github.com/jeskoky-pixel/amadeus-qq/issues"
|
|
78
|
+
},
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
},
|
|
82
|
+
"keywords": [
|
|
83
|
+
"dsh-plugin",
|
|
84
|
+
"amadeus",
|
|
85
|
+
"qq"
|
|
86
|
+
],
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
89
|
+
},
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
package/preset.patch.yml
CHANGED
|
@@ -101,3 +101,66 @@
|
|
|
101
101
|
config:
|
|
102
102
|
search: true
|
|
103
103
|
fetch: true
|
|
104
|
+
- id: preset-amadeus-qq-life
|
|
105
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
106
|
+
config:
|
|
107
|
+
id: amadeus-qq-life
|
|
108
|
+
name: Amadeus QQ Life
|
|
109
|
+
description: Restricted QQ conversation with explicit Life read access
|
|
110
|
+
order: 25
|
|
111
|
+
plugins:
|
|
112
|
+
- id: qq-life-boundary
|
|
113
|
+
name: '@fg-lab/amadeus-qq'
|
|
114
|
+
config:
|
|
115
|
+
presetGuard: true
|
|
116
|
+
allowLifeRead: true
|
|
117
|
+
- id: preset-amadeus-qq-life-search
|
|
118
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
119
|
+
config:
|
|
120
|
+
id: amadeus-qq-life-search
|
|
121
|
+
name: Amadeus QQ Life Search
|
|
122
|
+
description: Restricted QQ conversation with Life read access and Host web search
|
|
123
|
+
order: 26
|
|
124
|
+
plugins:
|
|
125
|
+
- id: qq-life-search-boundary
|
|
126
|
+
name: '@fg-lab/amadeus-qq'
|
|
127
|
+
config:
|
|
128
|
+
presetGuard: true
|
|
129
|
+
allowLifeRead: true
|
|
130
|
+
allowSearch: true
|
|
131
|
+
- id: preset-amadeus-qq-life-media
|
|
132
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
133
|
+
config:
|
|
134
|
+
id: amadeus-qq-life-media
|
|
135
|
+
name: Amadeus QQ Life Media
|
|
136
|
+
description: Restricted QQ conversation with Life and media read access
|
|
137
|
+
order: 27
|
|
138
|
+
plugins:
|
|
139
|
+
- id: qq-life-media-boundary
|
|
140
|
+
name: '@fg-lab/amadeus-qq'
|
|
141
|
+
config:
|
|
142
|
+
presetGuard: true
|
|
143
|
+
level: 2
|
|
144
|
+
allowLifeRead: true
|
|
145
|
+
- id: preset-amadeus-qq-life-media-search
|
|
146
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
147
|
+
config:
|
|
148
|
+
id: amadeus-qq-life-media-search
|
|
149
|
+
name: Amadeus QQ Life Media Search
|
|
150
|
+
description: Restricted QQ conversation with Life, media read access and Host web search
|
|
151
|
+
order: 28
|
|
152
|
+
plugins:
|
|
153
|
+
- id: qq-life-media-web-search
|
|
154
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
155
|
+
config:
|
|
156
|
+
search: true
|
|
157
|
+
fetch: false
|
|
158
|
+
searchTimeoutMs: 60000
|
|
159
|
+
- id: qq-life-media-search-boundary
|
|
160
|
+
name: '@fg-lab/amadeus-qq'
|
|
161
|
+
config:
|
|
162
|
+
presetGuard: true
|
|
163
|
+
level: 2
|
|
164
|
+
allowLifeRead: true
|
|
165
|
+
allowSearch: true
|
|
166
|
+
|
|
@@ -5,4 +5,4 @@ const result=spawnSync(process.execPath,['--test','--test-name-pattern=symlink',
|
|
|
5
5
|
process.stdout.write(result.stdout??'');process.stderr.write(result.stderr??'');
|
|
6
6
|
const cases=(result.stdout??'').split(/\r?\n/).filter(line=>/^(?:not )?ok \d+ - .*symlink/i.test(line));
|
|
7
7
|
if(result.status!==0||cases.length!==4||cases.some(line=>!line.startsWith('ok ')||/# SKIP|# TODO/.test(line)))throw Error('All four symlink security cases must execute and pass without skips');
|
|
8
|
-
console.log('RELEASE_GATE: 4 symlink safety tests executed and passed');
|
|
8
|
+
console.log('RELEASE_GATE: 4 symlink safety tests executed and passed');
|