@oadank/dsh-input-tools 0.3.9 → 0.3.10
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/README.md +36 -4
- package/assets/screenshots/input-toolbar.png +0 -0
- package/assets/screenshots/voice-capabilities-asr.png +0 -0
- package/assets/screenshots/voice-message-bubbles.png +0 -0
- package/assets/screenshots/voice-settings-local-ali.png +0 -0
- package/assets/screenshots/voice-settings-xiaomi.png +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,6 +30,28 @@
|
|
|
30
30
|
- **语音设置页**(设置 → 语音服务):引擎折叠卡片、小米三模型分区、克隆样本管理、ASR 模式、试听(合成/原声)。
|
|
31
31
|
- **语音消息复制按钮**:用户/AI 语音条尾部复制转写文本。
|
|
32
32
|
|
|
33
|
+
### 界面截图
|
|
34
|
+
|
|
35
|
+
**输入框工具条**(图片 + 录音按钮):
|
|
36
|
+
|
|
37
|
+

|
|
38
|
+
|
|
39
|
+
**语音设置页 —— 小米 TTS**(三模型分区:TTS / 音色设计 / 音色克隆):
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
**语音设置页 —— 本地 TTS 与阿里**:
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
**语音能力状态与 ASR 配置**:
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
**聊天语音消息展示**(用户/AI 语音气泡,可点击播放):
|
|
52
|
+
|
|
53
|
+

|
|
54
|
+
|
|
33
55
|
## 安装
|
|
34
56
|
|
|
35
57
|
> 这是 **dsh 的命令**(不是 `npm i -g`):`dsh plugin` 会把插件装进指定的 profile
|
|
@@ -133,20 +155,30 @@ AI 语音回复条均为本地源码增强,官方源码/官方发布版默认
|
|
|
133
155
|
4. **安装语音插件**:`dsh plugin --profile web add @oadank/dsh-input-tools`
|
|
134
156
|
5. **可选:本地 ASR**:见上文「可选:本地 ASR」。
|
|
135
157
|
|
|
136
|
-
### 方案 B
|
|
158
|
+
### 方案 B:直接克隆整合版(插件已内置,一键安装,推荐大多数用户)
|
|
137
159
|
|
|
138
|
-
|
|
160
|
+
整合版 fork **已内置全部语音改造 + 本语音插件**(`internal-plugins/dsh-input-tools/`),
|
|
161
|
+
还带一键配置脚本(自动把插件注册进 profile、检查 ffmpeg),**clone 即用、零手工配置**:
|
|
139
162
|
|
|
140
163
|
```bash
|
|
141
164
|
git clone https://github.com/oadank/deepseek-harness.git
|
|
142
165
|
cd deepseek-harness
|
|
143
|
-
#
|
|
166
|
+
# Windows:
|
|
167
|
+
powershell -ExecutionPolicy Bypass -File scripts\setup-profile.ps1
|
|
168
|
+
# Linux/macOS:
|
|
169
|
+
bash scripts/setup-profile.sh
|
|
144
170
|
pnpm install
|
|
145
171
|
pnpm run build:web
|
|
146
172
|
dsh --profile web
|
|
147
173
|
```
|
|
148
174
|
|
|
149
|
-
|
|
175
|
+
`setup-profile.ps1/.sh` 自动完成:把内置插件装进
|
|
176
|
+
`~/.dsh/profiles/node_modules/@oadank/dsh-input-tools/` → 注册 `cordis.patch.yml`
|
|
177
|
+
→ 检查 ffmpeg → 提示可选 ASR。之后**无需再执行 `dsh plugin add`**。
|
|
178
|
+
|
|
179
|
+
- **可选:本地 ASR**:Windows 运行 `internal-plugins\dsh-input-tools\scripts\install-asr.ps1`;
|
|
180
|
+
Linux 见上文「可选:本地 ASR」。
|
|
181
|
+
- **升级**:`git pull` 后重跑一次 setup 脚本即同步插件。
|
|
150
182
|
|
|
151
183
|
### 说明与限制
|
|
152
184
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|