@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.
Files changed (43) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +55 -53
  3. package/README.zh-CN.md +51 -51
  4. package/REFERENCE.md +49 -49
  5. package/cordis.patch.yml +6 -6
  6. package/docs/DATA_MIGRATION.md +26 -26
  7. package/docs/INSTALL_V1_2.md +22 -22
  8. package/docs/PUBLISHING.md +28 -26
  9. package/docs/RELEASE_CHECKLIST.md +23 -23
  10. package/docs/RELEASE_NOTES.md +38 -38
  11. package/docs/UPGRADE_POLICY.md +26 -26
  12. package/docs/verification/IMAGE_READ_FIX_2026-11-07.md +22 -0
  13. package/docs/verification/LIFE_QQ_BOUNDARY_2026-11-07.md +20 -0
  14. package/lib/client.js +372 -372
  15. package/package.json +94 -91
  16. package/preset.patch.yml +63 -0
  17. package/scripts/symlink-security.mjs +1 -1
  18. package/src/account-profile.js +223 -223
  19. package/src/admin-http.js +361 -361
  20. package/src/audio.js +428 -428
  21. package/src/capabilities.js +785 -785
  22. package/src/client/factory.template.js +82 -82
  23. package/src/client/logic.js +290 -290
  24. package/src/config.js +2 -0
  25. package/src/console/console.css +28 -28
  26. package/src/console/console.js +3 -0
  27. package/src/console/index.html +67 -67
  28. package/src/core.js +21 -4
  29. package/src/files.js +230 -230
  30. package/src/index.js +135 -8
  31. package/src/lease.js +42 -42
  32. package/src/media.js +66 -3
  33. package/src/napcat-action-names.js +186 -186
  34. package/src/native-asr.js +112 -112
  35. package/src/onebot.js +378 -378
  36. package/src/outbound-media.js +309 -309
  37. package/src/owner-workspace.js +394 -394
  38. package/src/permissions.js +20 -0
  39. package/src/preset-guard.mjs +16 -2
  40. package/src/qzone-provider.js +628 -628
  41. package/src/session-provenance.js +74 -74
  42. package/src/setup.js +255 -255
  43. 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.1",
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/UPGRADE_POLICY.md",
32
- "docs/DATA_MIGRATION.md",
33
- "docs/RELEASE_CHECKLIST.md",
34
- "docs/INSTALL_V1_2.md",
35
- "scripts/release-audit.mjs",
36
- "screenshots.json",
37
- "assets/market-icon.png",
38
- "README.zh-CN.md",
39
- "REFERENCE.md",
40
- "docs/PUBLISHING.md"
41
- ],
42
- "dsh": {
43
- "manifestVersion": 1,
44
- "bundle": {
45
- "patch": [
46
- "./cordis.patch.yml",
47
- "./preset.patch.yml"
48
- ]
49
- },
50
- "client": {
51
- "platform": "web",
52
- "inject": [
53
- "@deepseek-ai/dsh-client-ui-settings"
54
- ]
55
- }
56
- },
57
- "dependencies": {
58
- "ws": "^8.18.3"
59
- },
60
- "scripts": {
61
- "build": "node scripts/build-client.mjs",
62
- "test": "node --test tests/*.test.mjs",
63
- "verify:release": "node scripts/release-audit.mjs"
64
- },
65
- "engines": {
66
- "node": ">=22.13.0",
67
- "dsh": ">=0.2.1-rc.3 <0.3.0"
68
- },
69
- "repository": {
70
- "type": "git",
71
- "url": "git+https://github.com/jeskoky-pixel/amadeus-qq.git"
72
- },
73
- "homepage": "https://github.com/jeskoky-pixel/amadeus-qq#readme",
74
- "bugs": {
75
- "url": "https://github.com/jeskoky-pixel/amadeus-qq/issues"
76
- },
77
- "publishConfig": {
78
- "access": "public"
79
- },
80
- "keywords": [
81
- "dsh-plugin",
82
- "amadeus",
83
- "qq"
84
- ],
85
- "peerDependencies": {
86
- "@deepseek-ai/schemastery": "^3.18.1"
87
- },
88
- "devDependencies": {
89
- "@deepseek-ai/schemastery": "^3.18.1"
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');