dsh-dafeiyu-emotion 0.3.3 → 0.3.4
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/CHANGELOG.md +5 -0
- package/README.md +3 -3
- package/assets/icon-512.png +0 -0
- package/docs/MARKETPLACE.md +1 -1
- package/docs/RELEASE-0.3.4.md +17 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.4 — 2026-11-07
|
|
4
|
+
|
|
5
|
+
- Fixed the DSH package-metadata error `icon exceeds 256 KiB`: compressed `assets/icon-512.png` from 308,711 bytes to 38,338 bytes while keeping the 512×512 canvas and transparency.
|
|
6
|
+
- Added `scripts/test-package-metadata.mjs`, which fails the test suite when the declared package icon is missing or larger than 256 KiB.
|
|
7
|
+
|
|
3
8
|
## 0.3.3 — 2026-11-07
|
|
4
9
|
|
|
5
10
|
- Added `petReactionEnabled` (default on): while a spoken reply plays, the local `dsh-dafeiyu` pet enters its thinking animation; when playback ends it plays the success celebration. The bridge uses a fake session id on the public session event bus, never mutates the real session, auto-cleans after 2.6 s and has a 60 s safety end.
|
package/README.md
CHANGED
|
@@ -124,9 +124,9 @@ dsh plugin --profile desktop add github:LiDu-china/dsh-dafeiyu-emotion
|
|
|
124
124
|
### 通过 Release tarball
|
|
125
125
|
|
|
126
126
|
```bash
|
|
127
|
-
curl -L -o dsh-dafeiyu-emotion-0.3.
|
|
128
|
-
https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.3.
|
|
129
|
-
dsh plugin --profile desktop add "D:/path/to/dsh-dafeiyu-emotion-0.3.
|
|
127
|
+
curl -L -o dsh-dafeiyu-emotion-0.3.4.tgz \
|
|
128
|
+
https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.3.4/dsh-dafeiyu-emotion-0.3.4.tgz
|
|
129
|
+
dsh plugin --profile desktop add "D:/path/to/dsh-dafeiyu-emotion-0.3.4.tgz"
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
> DSH Desktop 的 profile 由 Electron 应用管理;命令行安装请使用桌面应用自带的 `dsh` 命令。
|
package/assets/icon-512.png
CHANGED
|
Binary file
|
package/docs/MARKETPLACE.md
CHANGED
|
@@ -76,7 +76,7 @@ https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.2.3/dsh-d
|
|
|
76
76
|
dsh plugin --profile desktop add dsh-dafeiyu-emotion
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
Published as `dsh-dafeiyu-emotion@0.3.
|
|
79
|
+
Published as `dsh-dafeiyu-emotion@0.3.4` on npm. The 1024Store entry refreshes its one-click install automatically. GitHub-source and Release-tarball installs remain available as fallbacks.
|
|
80
80
|
|
|
81
81
|
## Privacy
|
|
82
82
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## 0.3.4
|
|
2
|
+
|
|
3
|
+
修复 the agent harness 的包元信息校验错误。
|
|
4
|
+
|
|
5
|
+
### 修复
|
|
6
|
+
|
|
7
|
+
- `package.json` 声明的 `assets/icon-512.png` 原来为 308,711 字节,超过 the agent harness 的 256 KiB 上限。
|
|
8
|
+
- 图标已压缩到 38,338 字节,保留 512×512 尺寸和透明通道。
|
|
9
|
+
- 新增 `scripts/test-package-metadata.mjs`,发布前检查图标存在且不超过 256 KiB。
|
|
10
|
+
|
|
11
|
+
### 安装 / 升级
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
dsh plugin --profile desktop add dsh-dafeiyu-emotion
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
升级后请完全退出并重新启动 the agent harness。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-dafeiyu-emotion",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "大肥鱼语音情绪耳朵:听语气、识别情绪,并让 DSH 按对方当下的状态自然回复。 · Voice + emotion-aware companion for DeepSeek Harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"check": "node --check src/index.js && node --check lib/client.js",
|
|
64
|
-
"test": "node --check src/index.js && node --check lib/client.js && node --test scripts/test-config-schema.mjs scripts/test-config-handler.mjs scripts/test-analyze-handler.mjs scripts/test-baseline-trend.mjs scripts/test-backend-cancel.mjs scripts/test-tts-handler.mjs scripts/test-pet-reaction.mjs scripts/test-delivery-policy.mjs scripts/test-privacy-cleanup.mjs scripts/test-shortcut-registration.mjs scripts/test-client-registration.mjs"
|
|
64
|
+
"test": "node --check src/index.js && node --check lib/client.js && node --test scripts/test-config-schema.mjs scripts/test-package-metadata.mjs scripts/test-config-handler.mjs scripts/test-analyze-handler.mjs scripts/test-baseline-trend.mjs scripts/test-backend-cancel.mjs scripts/test-tts-handler.mjs scripts/test-pet-reaction.mjs scripts/test-delivery-policy.mjs scripts/test-privacy-cleanup.mjs scripts/test-shortcut-registration.mjs scripts/test-client-registration.mjs"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@deepseek-ai/schemastery": "3.18.5",
|