dsh-xiaomi-tts 4.1.0 → 4.2.0

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 CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  > MiMo TTS 当前可能处于限时免费或调整计费阶段,请以 Xiaomi MiMo 官方平台的最新政策为准。
17
17
 
18
- > `4.1.0` 为正式版,使用 npm `latest` 渠道,安装命令:`dsh plugin --profile web add dsh-xiaomi-tts@latest`。需要固定版本时可指定 `dsh-xiaomi-tts@4.1.0`。
18
+ > `4.2.0` 为正式版,使用 npm `latest` 渠道,安装命令:`dsh plugin --profile web add dsh-xiaomi-tts@latest`。需要固定版本时可指定 `dsh-xiaomi-tts@4.2.0`。
19
19
 
20
20
  ## 🎨 预览
21
21
 
@@ -43,6 +43,7 @@
43
43
  - 播放控制:支持 0.5×–2.0× 语速、语音音量、暂停、继续和停止。
44
44
  - 文本清洗:朗读前移除网址、路径、代码块、表情符号和控制字符等不适合播报的内容。
45
45
  - 可选音效:提供任务状态和语义化点击音效,默认关闭。
46
+ - 独立设置页:在宿主「设置」对话框中注册“语音朗读”页面,集中调整朗读音色、朗读范围、自动播报和音效。
46
47
  - 插件联动:向其他 DSH 插件暴露可选的 PCM 播放服务。
47
48
  - 鲸鱼娘 Agent 预设:随插件附带,默认关闭,按需启用。对话、幽默、语境识别、表情包。
48
49
 
@@ -152,6 +153,15 @@ dsh plugin --profile web remove dsh-xiaomi-tts
152
153
 
153
154
  豆包支持边生成边播放,音频历史按消息保存。已经开始播放后发生错误,不会从头重播或自动切换云端服务。
154
155
 
156
+ ### 语音朗读设置页
157
+
158
+ 插件通过宿主的 `settings.section` 槽位,在「设置」对话框中注册独立的“语音朗读”页面。该页面是导航里的一行独立入口,与「插件」等页面并列:
159
+
160
+ - **朗读音色**:按当前服务商显示对应下拉选项;小米 MiMo 内置音色、声音设计预设、豆包标准音色与声音复刻音色 ID 各自读写自己的那一项,切换服务商时互不覆盖。
161
+ - **朗读范围**:智能模式、全文模式、首段模式三选一,与设置卡片中的「朗读范围」读写同一项配置,保存后立即生效。
162
+ - **自动播报**:新回复完成后自动朗读,与设置卡片中的开关读写同一份配置。
163
+ - **音效**:控制插件提供的 UI 音效总开关。
164
+
155
165
  ## 🔌 三方插件联动
156
166
 
157
167
  ![whale-girls](assets/whale-girls.webp)
@@ -192,7 +202,7 @@ tts?.play('欢迎回来')
192
202
 
193
203
  ## 🛠️ 开发
194
204
 
195
- 启动本地 UI Lab 直接渲染 `src/client/settings/card.tsx`:
205
+ 启动本地 UI Lab 直接渲染 `src/client/settings/card.tsx` 与独立的“语音朗读”设置页:
196
206
 
197
207
  ```bash
198
208
  pnpm install
@@ -214,7 +224,7 @@ pnpm pack:check
214
224
  Windows 从本地开发链接切换到 npm 包前,请先停止 DSH Web,避免运行中的 Node 进程占用 Junction:
215
225
 
216
226
  ```powershell
217
- .\tools\start\dsh-plugin-reinstall.bat 4.1.0
227
+ .\tools\start\dsh-plugin-reinstall.bat 4.2.0
218
228
  ```
219
229
 
220
230
  如果是 DSH Desktop profile,只需要卸载残留的本地链接,可在退出 Desktop 后运行:
@@ -1,6 +1,6 @@
1
1
  import type { Context } from '@deepseek-ai/cordis';
2
2
  /** Client services required by this plugin. */
3
3
  export declare const inject: string[];
4
- /** Register the Web action, settings card, locale dictionaries, and styles. */
4
+ /** Register the Web action, settings card, Voice reading section, locale dictionaries, and styles. */
5
5
  export declare function apply(ctx: Context): void;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAkClD,+CAA+C;AAC/C,eAAO,MAAM,MAAM,UAMlB,CAAA;AA4BD,+EAA+E;AAC/E,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA8JxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAqClD,+CAA+C;AAC/C,eAAO,MAAM,MAAM,UAMlB,CAAA;AA4BD,sGAAsG;AACtG,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA0KxC"}
@@ -195,6 +195,22 @@ export declare const zh: {
195
195
  readonly "settings.autoPlayOnLabel": "主动念给你听";
196
196
  readonly "settings.autoPlayOffLabel": "等你叫我再念";
197
197
  readonly "settings.autoPlayHint": "浏览器可能会拒绝自动播放。";
198
+ readonly "settings.voiceReadingNav": "语音朗读";
199
+ readonly "settings.voiceReadingTitle": "语音朗读";
200
+ readonly "settings.voiceReadingIntro": "选择朗读音色,并控制自动播报与界面音效。修改会立即写入当前插件的语音设置";
201
+ readonly "settings.voiceReadingVoice": "朗读音色";
202
+ readonly "settings.voiceReadingHintXiaomi": "小米 MiMo 内置音色";
203
+ readonly "settings.voiceReadingHintVoiceDesign": "声音设计模型按描述生成音色,选择预设会同时更新音色描述";
204
+ readonly "settings.voiceReadingHintDoubaoStandard": "豆包标准合成音色";
205
+ readonly "settings.voiceReadingHintDoubaoCloned": "豆包声音复刻使用音色 ID,可选用过的 ID";
206
+ readonly "settings.voiceReadingCustomVoice": "自定义(当前)";
207
+ readonly "settings.voiceReadingAutoPlay": "自动播报";
208
+ readonly "settings.voiceReadingAutoPlayHint": "收到新的回复会自动朗读";
209
+ readonly "settings.voiceReadingSound": "音效";
210
+ readonly "settings.voiceReadingSoundHint": "播放点击与任务完成音效";
211
+ readonly "settings.voiceReadingReadOnly": "当前部署的设置为只读,无法保存";
212
+ readonly "settings.voiceReadingUnavailable": "当前部署未提供语音设置";
213
+ readonly "settings.voiceReadingSaveFailed": "保存失败,请重试";
198
214
  readonly "settings.detailedVoiceConfig": "调音台";
199
215
  readonly "settings.voiceVolume": "语音音量";
200
216
  readonly "settings.voiceRate": "播放语速";
@@ -310,9 +326,19 @@ export declare const zh: {
310
326
  readonly "settings.soundEffectsPreviewLabel": "音效试听";
311
327
  readonly "settings.soundEffectsPreview.start": "开始";
312
328
  readonly "settings.soundEffectsPreview.complete": "完成";
329
+ readonly "settings.soundEffectsPreview.success": "成功";
313
330
  readonly "settings.soundEffectsPreview.error": "失败";
314
331
  readonly "settings.soundEffectsPreview.notification": "提醒";
315
332
  readonly "settings.soundEffectsPreview.press": "点击";
333
+ readonly "settings.soundEffectsPreview.select": "选择";
334
+ readonly "settings.soundEffectsPreview.toggle-on": "开启";
335
+ readonly "settings.soundEffectsPreview.toggle-off": "关闭";
336
+ readonly "settings.soundEffectsPreview.send": "发送";
337
+ readonly "settings.soundEffectsPreview.open": "打开";
338
+ readonly "settings.soundEffectsPreview.close": "关闭面板";
339
+ readonly "settings.soundEffectsPreview.delete": "删除";
340
+ readonly "settings.soundEffectsPreview.stop": "停止";
341
+ readonly "settings.soundEffectsPreview.queued": "排队";
316
342
  readonly "settings.soundEffectsDescription": "为DSH接入uisfx语义化UI音效。在DSH中探索更多音效...";
317
343
  readonly "settings.soundEffectsSupported": "🔔 开始 完成 成功 失败 提醒 点击 选择 开启 关闭 发送 打开 关闭面板 删除 停止 排队";
318
344
  };
@@ -1 +1 @@
1
- {"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/client/localization.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,EAAE,oBAAoB,CAAA;AAEnC,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AU,kBAAkB;QAC1B,iBAAiB,EAAE,SAAS,CAAA;KAC7B;CACF"}
@@ -0,0 +1,24 @@
1
+ /** Attribute the stylesheet keys the glyph swap off. */
2
+ export declare const VOICE_READING_NAV_ATTRIBUTE = "data-xmimo-voice-reading-nav";
3
+ /** Section labels in every locale the plugin ships; the shell renders one at a time. */
4
+ export declare function voiceReadingNavLabels(): readonly string[];
5
+ /** Structural nav-cell contract, so the marker is testable with a fake root. */
6
+ export interface VoiceReadingNavCell {
7
+ textContent: string | null;
8
+ setAttribute(name: string, value: string): void;
9
+ }
10
+ /** Structural queryable contract (Element or Document). */
11
+ export interface VoiceReadingNavRoot {
12
+ querySelectorAll(selector: string): ArrayLike<VoiceReadingNavCell>;
13
+ }
14
+ /**
15
+ * Mark every nav cell under `root` whose text equals one of `labels`.
16
+ * @returns the number of cells marked.
17
+ */
18
+ export declare function markVoiceReadingNavCells(root: VoiceReadingNavRoot, labels: readonly string[]): number;
19
+ /**
20
+ * Mark the voice-reading nav cell whenever the settings panel is on screen.
21
+ * @returns a disposer that stops observing and removes the marks.
22
+ */
23
+ export declare function installVoiceReadingNavIcon(): () => void;
24
+ //# sourceMappingURL=nav-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-icon.d.ts","sourceRoot":"","sources":["../../../src/client/settings/nav-icon.ts"],"names":[],"mappings":"AAkBA,wDAAwD;AACxD,eAAO,MAAM,2BAA2B,iCAAiC,CAAA;AAQzE,wFAAwF;AACxF,wBAAgB,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzD;AAED,gFAAgF;AAChF,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAChD;AAED,2DAA2D;AAC3D,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAA;CACnE;AAYD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAWrG;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,IAAI,CAqCvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"sound-effects-module.d.ts","sourceRoot":"","sources":["../../../src/client/settings/sound-effects-module.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAuC,YAAY,EAAE,MAAM,OAAO,CAAA;AAG9E,OAAO,KAAK,EAAoB,iBAAiB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACrF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,OAAO,KAAK,EAAE,sBAAsB,EAAY,MAAM,2BAA2B,CAAA;AAGjF,UAAU,sBAAsB;IAC9B,CAAC,EAAE,SAAS,CAAA;IACZ,UAAU,EAAE,sBAAsB,CAAA;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;IACjD,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,YAAY,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;CACxC;AAqBD,iEAAiE;AACjE,wBAAgB,iBAAiB,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,W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,EAAE,EAAE,sBAAsB,GAAG,YAAY,CAuIzN"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Voice reading page options — pure provider/model → editable voice source
3
+ * resolution plus the immediate write operations the page sends.
4
+ *
5
+ * No React and no browser APIs here: the module is transpiled directly by the
6
+ * unit tests, so it only depends on shared preset data and the locale key type.
7
+ */
8
+ import type { ResolvedTtsSettings, TtsReadScope } from '../../shared.js';
9
+ import type { LocaleKey } from '../localization.js';
10
+ export type VoiceReadingField = 'voice' | 'voiceDesignPrompt' | 'doubaoVoice' | 'doubaoClonedVoice';
11
+ export interface VoiceReadingChoice {
12
+ value: string;
13
+ label: string;
14
+ detail?: string;
15
+ }
16
+ export type VoiceReadingWriteOp = {
17
+ op: 'set';
18
+ path: string[];
19
+ value: unknown;
20
+ } | {
21
+ op: 'unset';
22
+ path: string[];
23
+ };
24
+ export interface VoiceReadingVoiceSource {
25
+ field: VoiceReadingField;
26
+ value: string;
27
+ choices: readonly VoiceReadingChoice[];
28
+ hintKey: LocaleKey;
29
+ }
30
+ export declare function buildVoiceReadingVoiceSource(settings: ResolvedTtsSettings, clonedVoiceHistory?: readonly string[]): VoiceReadingVoiceSource;
31
+ export declare function voiceChoiceWriteOps(source: VoiceReadingVoiceSource, value: string): VoiceReadingWriteOp[];
32
+ export declare function autoPlayWriteOps(next: boolean, current: ResolvedTtsSettings): VoiceReadingWriteOp[];
33
+ /** Localized label for one read-aloud range option. */
34
+ export declare function readScopeLabelKey(scope: TtsReadScope): LocaleKey;
35
+ /** Localized description of the selected read-aloud range. */
36
+ export declare function readScopeHintKey(scope: TtsReadScope): LocaleKey;
37
+ export declare function readScopeWriteOps(scope: TtsReadScope): VoiceReadingWriteOp[];
38
+ export declare function soundWriteOps(next: boolean, current: ResolvedTtsSettings): VoiceReadingWriteOp[];
39
+ //# sourceMappingURL=voice-reading-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voice-reading-options.d.ts","sourceRoot":"","sources":["../../../src/client/settings/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GAAG,SAAS,CAE/D;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,GAAG,mBAAmB,EAAE,CAE5E;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB,GAAG,mBAAmB,EAAE,CAchG"}
@@ -0,0 +1,12 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { TtsSettings } from '../../shared.js';
3
+ import type { ConfigForm } from '@deepseek-ai/dsh-client-ui-settings/client';
4
+ import type { InjectFace, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
5
+ import type { Translate } from '../localization.js';
6
+ export interface VoiceReadingSectionInjected {
7
+ scope: ConfigForm<TtsSettings>;
8
+ t: Translate;
9
+ }
10
+ export type VoiceReadingSectionProps = PropsRuntime<'settings.section'> & Partial<InjectFace<VoiceReadingSectionInjected>>;
11
+ export declare function VoiceReadingSection(props: VoiceReadingSectionProps): ReactElement | null;
12
+ //# sourceMappingURL=voice-reading-section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voice-reading-section.d.ts","sourceRoot":"","sources":["../../../src/client/settings/voice-reading-section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAcnD,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAC9B,CAAC,EAAE,SAAS,CAAA;CACb;AAED,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAA;AAE1H,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,GAAG,IAAI,CAIxF"}
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { SoundCue } from './types.js';
3
+ export declare function SoundEffectIcon({ cue }: {
4
+ cue: SoundCue;
5
+ }): ReactElement;
6
+ //# sourceMappingURL=sound-effect-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sound-effect-icon.d.ts","sourceRoot":"","sources":["../../../src/client/sound-effects/sound-effect-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAE1C,wBAAgB,eAAe,CAAC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE,QAAQ,CAAA;CAAE,GAAG,YAAY,CAmFxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/style/index.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,aAAa,QAmBd,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/style/index.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,aAAa,QAoBd,CAAA"}