dsh-dafeiyu-emotion 0.2.3 → 0.2.5

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,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.5
4
+
5
+ - Exported the Schemastery `Config` schema so DSH can persist setting changes from the panel.
6
+ - Marked every config field volatile, matching the DSH settings service contract.
7
+ - 0.2.4 shipped the settings UI; on hosts that require a registered volatile schema, saving failed. Install 0.2.5 for the full read/write path.
8
+
9
+ ## 0.2.4
10
+
11
+ - Added a full settings card for DSH's plugin settings, with live status for lightweight and enhanced modes.
12
+ - Added a "情绪耳朵" tab for `dsh-better-sidebar` so the same panel can be pinned in the right sidebar.
13
+ - Settings now cover enable/disable, recognition language, VoiceSense directory, Python path, recording limit, startup timeout and request timeout.
14
+ - Added `GET/PATCH /plugins/dsh-dafeiyu-emotion/config` with local-only access, strict field validation and live backend restart when paths or timeouts change.
15
+ - Refreshed the fish-ear trigger and settings panel with a calmer whale-blue visual system, visible focus states and reduced-motion support.
16
+ - Added config-handler regression tests (validation, read-only hosts, status codes and runtime updates).
17
+
3
18
  ## 0.2.3
4
19
 
5
20
  - Documentation-only release: npm and the 1024Store entry now serve the corrected install notes for the 0.2.2 bug-fix release.
package/README.md CHANGED
@@ -24,6 +24,8 @@
24
24
  >
25
25
  > 角色主视觉采用蓝发鲸鱼少女的大肥鱼设定。
26
26
 
27
+ 🎬 [观看 43 秒功能演示](https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.2.3/dsh-dafeiyu-emotion-demo.mp4)
28
+
27
29
  ---
28
30
 
29
31
  <a id="中文"></a>
@@ -68,6 +70,8 @@
68
70
 
69
71
  - 🎙️ 输入框内录音,不需要跳到另一个应用;
70
72
  - ⌨️ DSH 原生语音快捷键,可在快捷键设置中自行改键;
73
+ - 🎛️ DSH 设置页里的完整设置卡片:启用、语言、增强后端、超时和录音上限;
74
+ - 🧭 安装 Better Sidebar 后,可把「情绪耳朵」固定到右侧边栏;
71
75
  - 🐋 大肥鱼主题的“鱼耳”入口,和普通对话共用同一个 composer;
72
76
  - 🧠 情绪标签:喜悦 / 低落 / 生气 / 紧张 / 惊讶 / 厌烦 / 平静;
73
77
  - 📈 额外给出 confidence、valence、arousal 和语气摘要;
@@ -107,13 +111,32 @@ dsh plugin --profile desktop add github:LiDu-china/dsh-dafeiyu-emotion
107
111
  ### 通过 Release tarball
108
112
 
109
113
  ```bash
110
- curl -L -o dsh-dafeiyu-emotion-0.2.3.tgz \
111
- https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.2.3/dsh-dafeiyu-emotion-0.2.3.tgz
112
- dsh plugin --profile desktop add "D:/path/to/dsh-dafeiyu-emotion-0.2.3.tgz"
114
+ curl -L -o dsh-dafeiyu-emotion-0.2.5.tgz \
115
+ https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.2.5/dsh-dafeiyu-emotion-0.2.5.tgz
116
+ dsh plugin --profile desktop add "D:/path/to/dsh-dafeiyu-emotion-0.2.5.tgz"
113
117
  ```
114
118
 
115
119
  > DSH Desktop 的 profile 由 Electron 应用管理;命令行安装请使用桌面应用自带的 `dsh` 命令。
116
120
 
121
+ ## 设置页与侧边栏
122
+
123
+ 插件会把自己的设置卡片注册到 DSH 的插件设置页。打开:
124
+
125
+ ```text
126
+ 设置 → 插件 → 大肥鱼情绪耳朵
127
+ ```
128
+
129
+ 可以直接调整:
130
+
131
+ - 启用 / 停用情绪耳朵;
132
+ - 识别语言:中文、English 或自动;
133
+ - VoiceSense 增强后端目录与 Python 路径;
134
+ - 单次录音上限、后端启动超时、单次分析超时。
135
+
136
+ 卡片顶部会实时显示当前模式:轻量模式、增强模式已就绪、模型加载中、后端目录不存在或等待 Voice Input。保存后配置会立即写入 DSH 设置,并在路径或超时变化时自动重启语音 worker。
137
+
138
+ 如果安装了 [Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar),还可以在右侧边栏的 `+` 菜单里固定「情绪耳朵」,把同一份设置和状态放在对话旁边。
139
+
117
140
  ## 语音快捷键
118
141
 
119
142
  插件会向 DSH 注册一个原生快捷键命令。打开:
@@ -24,6 +24,10 @@ https://raw.githubusercontent.com/LiDu-china/dsh-dafeiyu-emotion/main/assets/ico
24
24
 
25
25
  让 DSH 里的大肥鱼听得见、听得懂,并按对方的语气和情绪自然回复。
26
26
 
27
+ ## Demo video
28
+
29
+ https://github.com/LiDu-china/dsh-dafeiyu-emotion/releases/download/v0.2.3/dsh-dafeiyu-emotion-demo.mp4
30
+
27
31
  ## Short description
28
32
 
29
33
  在 DSH 输入框旁边加一个 🐋 鱼耳:本地转写语音,分析语速/停顿/音高/能量和文字线索,生成克制的情绪上下文,再自动发送给大肥鱼回复。默认不把音频上传到云端。
@@ -68,7 +72,7 @@ https://raw.githubusercontent.com/LiDu-china/dsh-dafeiyu-emotion/main/assets/ico
68
72
  dsh plugin --profile desktop add dsh-dafeiyu-emotion
69
73
  ```
70
74
 
71
- Published as `dsh-dafeiyu-emotion@0.2.3` on npm. The 1024Store entry refreshes its one-click install automatically. GitHub-source and Release-tarball installs remain available as fallbacks.
75
+ Published as `dsh-dafeiyu-emotion@0.2.5` on npm. The 1024Store entry refreshes its one-click install automatically. GitHub-source and Release-tarball installs remain available as fallbacks.
72
76
 
73
77
  ## Privacy
74
78
 
@@ -0,0 +1,14 @@
1
+ ## 设置页与侧边栏
2
+
3
+ - 新增 DSH 插件设置卡片:启用/停用、识别语言、VoiceSense 目录、Python 路径、录音上限、启动/分析超时。
4
+ - 安装 Better Sidebar 后,可在右侧边栏 `+` 菜单固定「情绪耳朵」,在对话旁边直接调整。
5
+ - 顶部实时显示轻量模式、增强模式、模型加载中、后端目录缺失或等待 Voice Input。
6
+ - 保存后立即写入 DSH 设置;路径或超时变化时自动重启语音 worker。
7
+
8
+ ## 安装
9
+
10
+ ```bash
11
+ dsh plugin --profile desktop add dsh-dafeiyu-emotion
12
+ ```
13
+
14
+ 完整变更见 [CHANGELOG](https://github.com/LiDu-china/dsh-dafeiyu-emotion/blob/main/CHANGELOG.md)。
@@ -0,0 +1,19 @@
1
+ ## 设置页与侧边栏
2
+
3
+ - 新增 DSH 插件设置卡片:启用/停用、识别语言、VoiceSense 目录、Python 路径、录音上限、启动/分析超时。
4
+ - 安装 Better Sidebar 后,可在右侧边栏 `+` 菜单固定「情绪耳朵」,在对话旁边直接调整。
5
+ - 顶部实时显示轻量模式、增强模式、模型加载中、后端目录缺失或等待 Voice Input。
6
+ - 保存后立即写入 DSH 设置;路径或超时变化时自动重启语音 worker。
7
+
8
+ ## 0.2.5 修复
9
+
10
+ - 导出 DSH 所需的 Schemastery `Config` schema,并把每个字段标记为 volatile。
11
+ - 0.2.4 的设置面板可以显示,但在要求注册 schema 的宿主上保存会失败;0.2.5 修复完整读写链路。
12
+
13
+ ## 安装
14
+
15
+ ```bash
16
+ dsh plugin --profile desktop add dsh-dafeiyu-emotion
17
+ ```
18
+
19
+ 完整变更见 [CHANGELOG](https://github.com/LiDu-china/dsh-dafeiyu-emotion/blob/main/CHANGELOG.md)。