dsh-avatar-frame 0.14.0 → 0.14.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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.14.1] - 2026-10-28
2
+
3
+ ### 修复
4
+
5
+ - 音色选「系统语音」时仍然显示「试听一句」——那是走本地服务的试听,和系统语音的音色试听重复了。
6
+ 现在三处(设置页、插件详情页、头像弹窗)都只在「本地服务」下显示它;
7
+ 系统语音的音色试听保留在音色选择那一行。
8
+
1
9
  ## [0.14.0] - 2026-10-28
2
10
 
3
11
  自 0.11.6 起的第一个公开发布版本,集中了这几天的功能与修复:
package/README.md CHANGED
@@ -29,7 +29,7 @@
29
29
  - 播放控制条:朗读时接在小喇叭右侧,可暂停/继续、上一句/下一句、五档语速(0.95× / 1.00× / 1.05× / 1.10× / 1.15×)、停止——**两种引擎都支持**;
30
30
  - 音量滑块(0–100%,**默认 50%**);
31
31
  - 语气三档:平稳 / 自然 / 活泼,随请求发给你的服务;
32
- - 试听:不用回到聊天——设置页、插件详情页、点头像弹出的面板里都能直接试一句(两种引擎都支持);
32
+ - 试听:选「本地服务」时,设置页 / 插件详情页 / 头像弹窗里都有「试听一句」;选「系统语音」时,音色选择那一行自带试听;
33
33
  - 失败提示:某句合成失败时,小喇叭旁出现红点,悬停可看原因;试听失败时按钮旁会直接显示简短原因;
34
34
  - 长回复按句切分、提前两段预生成,句间不卡顿。
35
35
 
@@ -215,7 +215,7 @@ PermissionError: [WinError 10013] 以一种访问权限不允许的方式做了
215
215
  - Two engines: the system voice, or your own local service;
216
216
  - Playback bar beside the speaker: pause/resume, previous/next sentence, five speeds (0.95×–1.15×), stop;
217
217
  - Three tone presets (calm / natural / lively) sent to your service;
218
- - Preview the voice from the settings page, the plugin page or the avatar panel — both engines supported;
218
+ - Preview: with 'Local service' there is a preview button on the settings page, the plugin page and the avatar panel; with 'System voice' the voice picker has its own preview;
219
219
  - Failure dot next to the speaker with the reason on hover; a failed preview shows a short reason next to the button;
220
220
  - Long replies are split by sentence and pre-generated two chunks ahead, so playback stays continuous.
221
221
 
package/client.js CHANGED
@@ -2410,11 +2410,13 @@ window.__ModuleLoader__.load({
2410
2410
  h(VolumeField, { t }),
2411
2411
  h(EngineField, { t }),
2412
2412
  avatar.engine === 'clone' ? null : h(SystemVoiceField, { t }),
2413
- h(
2414
- 'div',
2415
- { className: 'dsav-sectionRow dsav-auditionRow' },
2416
- h(AuditionButton, { t }),
2417
- ),
2413
+ avatar.engine === 'clone'
2414
+ ? h(
2415
+ 'div',
2416
+ { className: 'dsav-sectionRow dsav-auditionRow' },
2417
+ h(AuditionButton, { t }),
2418
+ )
2419
+ : null,
2418
2420
  avatar.engine === 'clone' ? h(ToneField, { t }) : null,
2419
2421
  avatar.engine === 'clone' ? h(RateField, { t }) : null,
2420
2422
  h(PresetBar, { t }),
@@ -2649,7 +2651,8 @@ window.__ModuleLoader__.load({
2649
2651
  avatar.engine === 'clone' ? null : h(SystemVoiceField, { t }),
2650
2652
  avatar.engine === 'clone' ? h(ToneField, { t }) : null,
2651
2653
  h(RateField, { t }),
2652
- h(
2654
+ avatar.engine === 'clone'
2655
+ ? h(
2653
2656
  'div',
2654
2657
  { className: 'dsav-sectionRow' },
2655
2658
  h(AuditionButton, { t }),
@@ -2666,7 +2669,8 @@ window.__ModuleLoader__.load({
2666
2669
  ? null
2667
2670
  : h('span', { className: 'dsav-endpointHint dsav-warming' }, statusDetail(t, status)),
2668
2671
  ),
2669
- ),
2672
+ )
2673
+ : null,
2670
2674
  );
2671
2675
  }
2672
2676
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-avatar-frame",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "description": "Character avatar, editable ID and read-aloud beside every assistant reply — system voice or your own local TTS service, with tone and speed controls, presets, a playback bar, one-click launching of your own TTS process, and a Chinese/English UI switch.",
6
6
  "license": "MIT",