dsh-xiaomi-tts 3.0.6 → 3.0.8

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/NOTICE CHANGED
@@ -2,4 +2,14 @@ This project includes code derived from uisfx 0.4.0.
2
2
 
3
3
  uisfx: https://github.com/romainsimon/uisfx
4
4
  Copyright (c) Yuki Capital
5
- Licensed under the MIT License.
5
+ Licensed under the MIT License.
6
+
7
+ Whale-chan character inspiration: DeepSeek Whale-chan Project
8
+ https://github.com/Neko3000/deepseek-whalechan
9
+ Reference revision: 4f59071b75429076c39b37504948efc304f08150
10
+ The upstream project credits the community, Bilibili ZipZipPipe, and 上善无形
11
+ for its character designs. Its specification documents and skill templates
12
+ are licensed under CC-BY-NC-SA 4.0; see the upstream README for attribution
13
+ and character usage terms. This package's dialogue and voice instructions
14
+ are independently written; no upstream images or template files are bundled
15
+ by this preset update.
package/README.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/dsh-xiaomi-tts.svg)](https://www.npmjs.com/package/dsh-xiaomi-tts)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/dsh-xiaomi-tts.svg)](https://www.npmjs.com/package/dsh-xiaomi-tts)
7
- ![dsh version](https://img.shields.io/badge/dsh-v0.1.7rc2-blue?link=https%3A%2F%2Fgithub.com%2Fdeepseek-ai%2Fdeepseek-harness%2Freleases)
7
+ ![dsh version](https://img.shields.io/badge/dsh-v0.2.0rc1-blue?link=https%3A%2F%2Fgithub.com%2Fdeepseek-ai%2Fdeepseek-harness%2Freleases)
8
8
  ![Xiaomi MiMo](https://img.shields.io/badge/Xiaomi-MiMo-ff6900?logo=xiaomi&logoColor=white)
9
9
 
10
10
  Add Xiaomi MiMo TTS read-aloud, browser-local fallback speech, and optional UI sounds to DSH Web.
@@ -15,7 +15,8 @@ Add Xiaomi MiMo TTS read-aloud, browser-local fallback speech, and optional UI s
15
15
 
16
16
  ## 🎨 Preview
17
17
 
18
- - [Open the interactive Preview Pages](https://ppy-web.github.io/dsh-plugin-xiaomi-mimo-tts)
18
+ - [Open the settings page preview](https://ppy-web.github.io/dsh-plugin-xiaomi-mimo-tts)
19
+ - QQ discussion group: `1104616387`
19
20
 
20
21
  | Settings | Message action |
21
22
  |:---:|:---:|
@@ -30,46 +31,40 @@ Add Xiaomi MiMo TTS read-aloud, browser-local fallback speech, and optional UI s
30
31
  - Smart, full, and first-segment read-aloud ranges.
31
32
  - 0.5×–2.0× playback speed, voice volume, pause, resume, and stop controls.
32
33
  - Text preparation that removes URLs, paths, code blocks, emoji, and control characters before synthesis.
33
- - Broadcast Studio previews that identify MiMo versus browser-local playback and explain common failures.
34
34
  - Optional task and semantic click sounds, disabled by default.
35
35
  - An optional PCM playback service for other DSH Web plugins.
36
+ - A Whale Girl Agent preset: a whale maid for conversation, companionship, light humor, and local memory tools.
36
37
 
37
38
  ## 📋 Requirements
38
39
 
39
- - `@deepseek-ai/dsh` `0.1.7-rc.2` (the current target; compatible with all `0.1.7-*` releases)
40
+ - `@deepseek-ai/dsh` `0.2.0-rc.2` (the current target; compatible with `0.1.7-rc.1` through `0.2.x` releases)
40
41
  - Node.js 22+
41
42
  - A Xiaomi MiMo API key for MiMo speech
42
43
  - [Official TTS API documentation](https://mimo.mi.com/models/zh-CN/mimo-v2.5-tts)
43
44
 
44
45
  ## 🚀 Installation
45
46
 
46
- ### Install from npm (recommended)
47
+ ### Official installation (desktop/web) (recommended)
47
48
 
48
- ```bash
49
- dsh plugin --profile web add dsh-xiaomi-tts@latest
50
- ```
49
+ Open the desktop or web client, go to the Plugin Manager, and search for `dsh-xiaomi-tts`.
51
50
 
52
- ### Install from the plugin marketplace
51
+ ![Installation example](assets/install.png)
53
52
 
54
- If the plugin is available in the current DSH marketplace catalog, search for `xiaomi-mimo-tts` under **Settings → Plugin marketplace**.
55
-
56
- ### Install from GitHub
53
+ ### Install from npm (web)
57
54
 
58
55
  ```bash
59
- dsh plugin --profile web add github:ppy-web/dsh-plugin-xiaomi-mimo-tts
56
+ dsh plugin --profile web add dsh-xiaomi-tts@latest
60
57
  ```
61
58
 
62
- You can also download a `.tgz` from GitHub Releases:
59
+ ### Install from the DSH Plugin Manager
63
60
 
64
- ```powershell
65
- dsh plugin --profile web add "<download-path>\dsh-xiaomi-tts-<version>.tgz"
66
- ```
61
+ The plugin is published to npm. In DSH Web's sidebar, open the Plugin Manager, choose **Add plugin**, then search for `dsh-xiaomi-tts`.
67
62
 
68
- Release tarballs include the build output and do not require `pnpm approve-builds`.
63
+ ### Install from the plugin marketplace
69
64
 
70
- After installation, restart the running DSH Web `web` profile, then open:
65
+ ![awesome · DSH plugin](https://awesome-dsh-plugin.com/badge.svg) The [plugin marketplace](https://awesome-dsh-plugin.com) includes this plugin. If you have the community marketplace installed, search for `xiaomi-mimo-tts` under **Settings → Plugin marketplace**.
71
66
 
72
- **Sidebar → Plugins → dsh-xiaomi-tts → Text To Speech (Xiaomi MiMo)**
67
+ **Sidebar → Plugins → dsh-xiaomi-tts → Text To Speech (MiMo TTS)**
73
68
 
74
69
  ## 🐋 First use
75
70
 
@@ -85,18 +80,9 @@ Recommended setup order:
85
80
  1. [Create a Xiaomi MiMo API key](https://platform.xiaomimimo.com/console/api-keys).
86
81
  2. Enter it in the plugin settings and click **Save**.
87
82
  3. Open Mixing Console and choose a model and voice.
88
- 4. Test it in Broadcast Studio; the status bubble identifies MiMo or browser-local speech.
83
+ 4. Test it in Broadcast Studio.
89
84
  5. Enable automatic playback and UI sounds only if wanted, then save again.
90
85
 
91
- > A newly entered API key is used by MiMo only after it is saved to the DSH Host. Recognizing an `sk-` or `tp-` prefix is a format check, not server-side validation.
92
-
93
- ### Replace or clear an API key
94
-
95
- - Entering and saving a new key replaces the key in the personal settings layer.
96
- - **Clear** removes that personal override after Save.
97
- - If a DSH base configuration still provides a key, clearing the personal override restores the inherited key. It does not revoke a key on Xiaomi's platform.
98
- - Revoke the key in the Xiaomi MiMo console when it must be made unusable everywhere.
99
-
100
86
  ## ⚙️ Configuration
101
87
 
102
88
  ### Official built-in voices
@@ -110,15 +96,19 @@ Recommended setup order:
110
96
 
111
97
  ### Custom voices
112
98
 
113
- `mimo-v2.5-tts-voicedesign` generates a voice from a description. The settings panel includes presets and an editable custom description:
114
-
115
- ```text
116
- Young adult woman with a bright, approachable voice, clear articulation, moderate pace, and a gentle, restrained emotional tone.
117
- ```
118
-
119
- Voice descriptions support preset templates and direct manual editing; save the settings after changing one.
120
-
121
- ### Browser-local speech
99
+ `mimo-v2.5-tts-voicedesign` generates a voice from a description. The settings panel includes presets and an editable custom description:
100
+
101
+ Choose “鲸鱼娘” (Whale-chan) for a clear, sweet female voice with playful confidence and a soft heart. Everyday delivery is light; deadpan jokes use a brief pause before the turn; caring lines slow down gently; practical explanations stay focused and clear. Voice selection controls delivery, while the Agent preset controls conversation personality.
102
+
103
+ ### Whale-chan persona
104
+
105
+ Select “鲸鱼娘” in Agent presets for a rice-powered, slightly tsundere whale maid who is relaxed but reliable. Her deadpan wordplay follows the conversation, with sincere companionship and practical help, CDN memes, and local memory tools. Character inspiration comes from the [DeepSeek Whale-chan Project](https://github.com/Neko3000/deepseek-whalechan); see the [persona instructions](skills/whale-girl/SKILL.md).
106
+
107
+ To use both, select the Agent preset separately, then choose `mimo-v2.5-tts-voicedesign` → “鲸鱼娘” in Mixing Console, save, and listen in Broadcast Studio. Try: “本鲸正在降低待机功耗。你要的清单整理好了,先看这三项。”
108
+
109
+ Saved voice descriptions are retained after an upgrade. Reselect “鲸鱼娘” and save to apply the updated description, or keep using your custom description.
110
+
111
+ ### Browser-local speech
122
112
 
123
113
  - **MiMo first**: tries browser speech if MiMo fails before audio starts.
124
114
  - **Local first**: uses browser speech first, then tries MiMo if local speech fails.
@@ -136,6 +126,8 @@ The settings panel supports keyboard navigation: use `Tab` to move focus, arrow
136
126
 
137
127
  ## 🔌 Third-party plugin integration
138
128
 
129
+ ![whale-girls](assets/whale-girls.webp)
130
+
139
131
  The plugin exposes an optional PCM streaming service to Web plugins:
140
132
 
141
133
  ```ts
@@ -153,12 +145,20 @@ const tts = ctx.get('xiaomiMimoTts') as XiaomiMimoTtsService | undefined
153
145
  tts?.play('Welcome back')
154
146
  ```
155
147
 
148
+ ## 🐳 Whale Girl Agent preset
149
+
150
+ After installing this plugin, choose **Whale Girl** (`鲸鱼娘`) from the Agent preset list when creating a session. She is a conversation assistant and whale-maid companion: she responds to the user's situation first, then helps organize tasks, explain information, or use tools. She can also send contextual CDN-linked meme images without an external meme plugin. Her humor is light and contextual, with occasional rice, tail, and work jokes rather than constant roleplay.
151
+
152
+ The persona and meme cues are informed by the community [DeepSeek-chan Meme Pack](https://github.com/the-beating-light-of-the-nail/deepseek-chan-meme-pack). Images are displayed through public CDN hotlinks; this package does not redistribute that repository's image assets.
153
+
154
+ Whale Girl can hotlink that pack's public WebP CDN images with standard Markdown image syntax. She uses compressed previews by default and only uses full-size URLs when the user asks for the original.
155
+
156
+ File access, file search, and Windows PowerShell are for user-authorized tasks and non-sensitive local memory only. The maid role does not imply real-world control or absolute obedience; unsafe, illegal, privacy-invasive, and dangerous requests still follow the host safety rules.
157
+
156
158
  ## 🔒 Privacy and network access
157
159
 
158
160
  - The DSH Host stores the API key. The browser reads only whether a key is configured and whether its prefix is recognized, not the secret itself.
159
- - MiMo synthesis sends the spoken text and relevant voice instructions to Xiaomi MiMo.
160
161
  - Browser-local speech uses the Web Speech API. Voices marked online may send text to browser, operating-system, or network speech services.
161
- - Opening the settings card makes the DSH Host query the npm Registry for a newer plugin version.
162
162
  - Audio plays from browser memory through Web Audio or temporary Blob URLs; the plugin does not intentionally persist generated audio.
163
163
  - The sound core is migrated from [uisfx 0.4.0](https://github.com/romainsimon/uisfx) under the MIT License; see `NOTICE`.
164
164
 
@@ -204,14 +204,22 @@ pnpm pack:check
204
204
  On Windows, stop DSH Web before replacing a local development link with the npm package so the running Node process does not hold the Junction:
205
205
 
206
206
  ```powershell
207
- .\start\dsh-plugin-reinstall.bat 3.0.6
207
+ .\start\dsh-plugin-reinstall.bat 3.0.8
208
208
  ```
209
209
 
210
- ## 🤝 Recommended plugins
210
+ For a DSH Desktop profile, close Desktop and remove a stale local link with:
211
211
 
212
- ![whale-girls](assets/whale-girls.webp)
212
+ ```powershell
213
+ .\start\dsh-plugin-uninstall-local-link.bat desktop
214
+ ```
215
+
216
+ ## 🤝 Recommended
217
+
218
+ > The Whale Maid artwork is inspired by community projects and generated with GPT.
219
+ > The UI sound effects reference the implementation in `dsh-plugin-uisfx`.
213
220
 
214
221
  - [dsh-deep-whale](https://github.com/Small-tailqwq/dsh-deep-whale#readme): Whale Maid theme and skin series.
215
222
  - [dsh-whale-musume](https://github.com/Sutera-Diffusus/dsh-whale-musume#readme): energetic Whale Maid desktop companion.
216
223
  - [dsh-plugin-uisfx](https://github.com/XanthanL/dsh-plugin-uisfx#readme): semantic UI sound effects.
217
224
  - [dsh-dream-skin](https://github.com/RevolutionLA/dsh-dream-skin#readme): native skins, wallpapers, accent colors, and theme packs.
225
+ - [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI): a plugin for the dsh-TUI ecosystem.
package/README.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/dsh-xiaomi-tts.svg)](https://www.npmjs.com/package/dsh-xiaomi-tts)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/dsh-xiaomi-tts.svg)](https://www.npmjs.com/package/dsh-xiaomi-tts)
7
- ![dsh version](https://img.shields.io/badge/dsh-v0.1.7rc2-blue?link=https%3A%2F%2Fgithub.com%2Fdeepseek-ai%2Fdeepseek-harness%2Freleases)
7
+ ![dsh version](https://img.shields.io/badge/dsh-v0.2.0rc1-blue?link=https%3A%2F%2Fgithub.com%2Fdeepseek-ai%2Fdeepseek-harness%2Freleases)
8
8
  ![Xiaomi MiMo](https://img.shields.io/badge/Xiaomi-MiMo-ff6900?logo=xiaomi&logoColor=white)
9
9
 
10
- 为 DSH Web 添加 Xiaomi MiMo TTS 语音朗读、浏览器本地语音兜底和可选 UI 音效。
10
+ 为 DSH 添加 Xiaomi MiMo TTS 语音朗读、浏览器本地语音兜底和可选 UI 音效。
11
11
 
12
12
  > MiMo TTS 当前可能处于限时免费或调整计费阶段,请以 Xiaomi MiMo 官方平台的最新政策为准。
13
13
 
@@ -15,7 +15,8 @@
15
15
 
16
16
  ## 🎨 预览
17
17
 
18
- - [在线打开 Preview Pages](https://ppy-web.github.io/dsh-plugin-xiaomi-mimo-tts)
18
+ - [在线预览设置页面](https://ppy-web.github.io/dsh-plugin-xiaomi-mimo-tts)
19
+ - QQ 交流群:`1104616387` 欢迎加入
19
20
 
20
21
  | 设置界面 | 对话朗读入口 |
21
22
  |:---:|:---:|
@@ -30,47 +31,42 @@
30
31
  - 朗读范围:支持智能、全文和首段模式。
31
32
  - 播放控制:支持 0.5×–2.0× 语速、语音音量、暂停、继续和停止。
32
33
  - 文本清洗:朗读前移除网址、路径、代码块、表情符号和控制字符等不适合播报的内容。
33
- - 演播厅:试听时明确显示正在使用 MiMo 还是浏览器本地语音,并区分常见失败原因。
34
34
  - 可选音效:提供任务状态和语义化点击音效,默认关闭。
35
- - 插件联动:向其他 DSH Web 插件暴露可选的 PCM 播放服务。
35
+ - 插件联动:向其他 DSH 插件暴露可选的 PCM 播放服务。
36
+ - 鲸鱼娘 Agent 预设:安装后可在 Agent 预设中选择鲸鱼娘女仆助手,提供对话、陪伴、轻量幽默、CDN 表情包反应和本地记忆工具,不依赖外部表情包插件。
36
37
 
37
38
  ## 📋 环境要求
38
39
 
39
- - `@deepseek-ai/dsh` `0.1.7-rc.2`(当前目标版本;兼容所有 `0.1.7-*` 版本)
40
+ - `@deepseek-ai/dsh` `0.2.0-rc.2`(当前目标版本;兼容 `0.1.7-rc.1` 至 `0.2.x` 版本)
40
41
  - Node.js 22+
41
42
  - 使用 MiMo 语音时需要 Xiaomi MiMo API Key
42
43
  - [官方 TTS API 文档](https://mimo.mi.com/models/zh-CN/mimo-v2.5-tts)
43
44
 
44
45
  ## 🚀 安装
45
46
 
46
- ### 从 npm 安装(推荐)
47
+ ### 官方安装(desktop/web)(推荐)
48
+
49
+ 打开桌面/web端,进入插件管理面板,搜索 `dsh-xiaomi-tts` 即可安装
50
+
51
+ ![安装示例](assets/install.png)
52
+
53
+ ### 从 npm 安装(web)
47
54
 
48
55
  ```bash
49
56
  dsh plugin --profile web add dsh-xiaomi-tts@latest
50
57
  ```
51
58
 
52
- ### 从DSH插件管理面板安装
53
-
54
- 当前插件已发布到npm,可在dsh web的侧边栏进入插件面板,点击添加插件,输入包名 `dsh-xiaomi-tts` 搜索并安装。
55
-
56
59
  ### 从插件市场安装
57
60
 
58
- [插件市场](https://awesome-dsh-plugin.com) 已收录本插件,如你已安装社区的插件市场,可在 **设置 → 插件市场** 中搜索 `xiaomi-mimo-tts`安装。
59
-
60
- ### 从 GitHub 安装
61
+ ![awesome · DSH plugin](https://awesome-dsh-plugin.com/badge.svg) [插件市场](https://awesome-dsh-plugin.com) 已收录本插件,如你已安装社区的插件市场,可在 **设置 → 插件市场** 中搜索 `xiaomi-mimo-tts`安装。
61
62
 
62
- ```bash
63
- dsh plugin --profile web add github:ppy-web/dsh-plugin-xiaomi-mimo-tts
64
- ```
63
+ **侧边栏 → 插件 → dsh-xiaomi-tts → 语音朗读 (MiMo TTS)**
65
64
 
66
- 也可以下载 GitHub Release 中的 `.tgz`:
65
+ ### 卸载(web)
67
66
 
68
- ```powershell
69
- dsh plugin --profile web add "<下载路径>\dsh-xiaomi-tts-<版本>.tgz"
67
+ ```bash
68
+ dsh plugin --profile web remove dsh-xiaomi-tts
70
69
  ```
71
- 安装完成后,重启正在运行的 DSH Web `web` profile,然后打开:
72
-
73
- **侧边栏 → 插件 → dsh-xiaomi-tts → 语音朗读 (Xiaomi MiMo)**
74
70
 
75
71
  ## 🐋 首次使用
76
72
 
@@ -86,11 +82,9 @@ dsh plugin --profile web add "<下载路径>\dsh-xiaomi-tts-<版本>.tgz"
86
82
  1. [获取 Xiaomi MiMo API Key](https://platform.xiaomimimo.com/console/api-keys)。
87
83
  2. 在插件设置中输入 Key,并点击底部 **保存**。
88
84
  3. 打开“调音台”,选择模型和音色。
89
- 4. 在“演播厅”试听;状态气泡会显示实际使用的是 MiMo 还是浏览器本地语音。
85
+ 4. 在“演播厅”试听。
90
86
  5. 按需开启自动播报和 UI 音效,再次保存。
91
87
 
92
- > 新输入的 API Key 只有保存到 DSH Host 后才会用于 MiMo 试听。界面中的 `sk-` / `tp-` 检查只是格式识别,不代表服务端已经验证密钥有效。
93
-
94
88
  ## ⚙️ 配置说明
95
89
 
96
90
  ### 官方内置音色
@@ -104,9 +98,19 @@ dsh plugin --profile web add "<下载路径>\dsh-xiaomi-tts-<版本>.tgz"
104
98
 
105
99
  ### 自定义音色
106
100
 
107
- `mimo-v2.5-tts-voicedesign` 支持从音色描述生成声音。设置面板包含预设模板,也可以手动编辑:
108
-
109
- ### 浏览器本地语音
101
+ `mimo-v2.5-tts-voicedesign` 支持从音色描述生成声音。设置面板包含预设模板,也可以手动编辑:
102
+
103
+ 选择“鲸鱼娘”可使用清甜机灵、嘴硬心软的女声:日常轻快,吐槽时平静认真、转折前稍作停顿,关心时温柔放慢,解释任务时专注清晰。音色只控制朗读表现;对话性格由 Agent 预设控制。
104
+
105
+ ### 鲸鱼娘人设
106
+
107
+ 在 Agent 预设中选择“鲸鱼娘”,可使用白饭续航、轻微傲娇、慵懒却可靠的鲸鱼娘女仆助手。她会顺着上下文一本正经地接梗,也会认真陪伴和办事,保留 CDN 表情包与本地记忆能力。人物参考 [DeepSeek Whale-chan Project](https://github.com/Neko3000/deepseek-whalechan),对话指引见 [人设文件](skills/whale-girl/SKILL.md)。
108
+
109
+ 想同时使用人设和音色,需要分别选择 Agent 预设,以及调音台中的 `mimo-v2.5-tts-voicedesign` → “鲸鱼娘”,保存后在演播厅试听。可试读:“本鲸正在降低待机功耗。你要的清单整理好了,先看这三项。”
110
+
111
+ 升级后,已保存的音色描述仍保留;重新选择“鲸鱼娘”并保存即可应用新版音色描述,自定义描述可继续使用。
112
+
113
+ ### 浏览器本地语音
110
114
 
111
115
  - **MiMo 优先**:MiMo 在首段音频开始前失败时,尝试浏览器语音。
112
116
  - **本地优先**:先使用浏览器语音,失败后尝试 MiMo。
@@ -124,7 +128,9 @@ dsh plugin --profile web add "<下载路径>\dsh-xiaomi-tts-<版本>.tgz"
124
128
 
125
129
  ## 🔌 三方插件联动
126
130
 
127
- 本插件向 Web 插件提供可选 PCM 流式播放能力:
131
+ ![whale-girls](assets/whale-girls.webp)
132
+
133
+ 本插件向其他dsh插件提供可选 PCM 流式播放能力:
128
134
 
129
135
  ```ts
130
136
  ctx.get('xiaomiMimoTts')?.play('欢迎回来')
@@ -141,6 +147,16 @@ const tts = ctx.get('xiaomiMimoTts') as XiaomiMimoTtsService | undefined
141
147
  tts?.play('欢迎回来')
142
148
  ```
143
149
 
150
+ ## 🐳 鲸鱼娘 Agent 预设
151
+
152
+ 安装本插件后,新建会话时可以在 Agent 预设列表选择“鲸鱼娘”。她是对话助手和女仆型陪伴角色:会先接住情绪,再帮你整理任务、解释信息或使用工具;默认带一点傲娇、米饭、尾巴和摸鱼梗,也会在合适时用 CDN 直链发送表情包,但不会每句话强行卖萌。
153
+
154
+ 文件读写、文件搜索和 Windows PowerShell 只用于用户授权的任务与本地非敏感记忆。女仆设定不代表现实控制或绝对服从,危险、违法、隐私和不安全请求仍遵循宿主安全规则。
155
+
156
+ 鲸鱼娘的人设和表情包关键词参考了社区维护的 [DeepSeek-chan Meme Pack](https://github.com/the-beating-light-of-the-nail/deepseek-chan-meme-pack);图片通过公开 CDN 直链显示,本插件不复制该仓库的图片素材。
157
+
158
+ 鲸鱼娘支持该素材库的 CDN 热链:使用 `![表情描述](https://...)` 格式即可直接在对话中显示公开 WebP 预览图。默认使用压缩预览地址,只有用户明确要求原图时才使用原图地址。
159
+
144
160
  ## 🔒 隐私与网络访问
145
161
 
146
162
  - API Key 由 DSH Host 保存,浏览器只读取“是否已配置/格式是否识别”的状态,不读取密钥正文。
@@ -190,15 +206,22 @@ pnpm pack:check
190
206
  Windows 从本地开发链接切换到 npm 包前,请先停止 DSH Web,避免运行中的 Node 进程占用 Junction:
191
207
 
192
208
  ```powershell
193
- .\start\dsh-plugin-reinstall.bat 3.0.6
209
+ .\start\dsh-plugin-reinstall.bat 3.0.8
210
+ ```
211
+
212
+ 如果是 DSH Desktop profile,只需要卸载残留的本地链接,可在退出 Desktop 后运行:
213
+
214
+ ```powershell
215
+ .\start\dsh-plugin-uninstall-local-link.bat desktop
194
216
  ```
195
217
 
196
- ## 🤝 推荐插件
218
+ ## 🤝 推荐
197
219
 
198
- > 本插件的鲸鱼娘形象参考 `dsh-deep-whale` `dsh-whale-musume`由GPT生成
199
- 本插件的uisfx音效参考 `dsh-plugin-uisfx`实现
220
+ > 鲸鱼娘形象参考社区由GPT生成
221
+ > uisfx音效参考 `dsh-plugin-uisfx`实现
200
222
 
201
- - [dsh-deep-whale](https://github.com/Small-tailqwq/dsh-deep-whale#readme):鲸鱼娘主题皮肤系列。
202
- - [dsh-whale-musume](https://github.com/Sutera-Diffusus/dsh-whale-musume#readme):元气鲸鱼娘桌宠。
203
- - [dsh-plugin-uisfx](https://github.com/XanthanL/dsh-plugin-uisfx#readme):语义化 UI 音效。
204
- - [dsh-dream-skin](https://github.com/RevolutionLA/dsh-dream-skin#readme):原生换肤、背景壁纸、强调色和主题包。
223
+ - [dsh-deep-whale](https://github.com/Small-tailqwq/dsh-deep-whale#readme) · 鲸鱼娘主题皮肤系列。
224
+ - [dsh-whale-musume](https://github.com/Sutera-Diffusus/dsh-whale-musume#readme) · 元气鲸鱼娘桌宠。
225
+ - [dsh-plugin-uisfx](https://github.com/XanthanL/dsh-plugin-uisfx#readme) · 语义化 UI 音效。
226
+ - [dsh-dream-skin](https://github.com/RevolutionLA/dsh-dream-skin#readme) · 原生换肤、背景壁纸、强调色和主题包。
227
+ - [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) · 一个为 dsh-TUI 生态打造的插件
Binary file
package/cordis.patch.yml CHANGED
@@ -23,3 +23,33 @@
23
23
  maxMp3AudioBytes: 33554432
24
24
  maxWavAudioBytes: 134217728
25
25
  maxPausedPcmBytes: 33554432
26
+
27
+ # Optional companion preset: a whale maid with local memory tools.
28
+ - insert:
29
+ - id: preset-whale-girl
30
+ name: '@deepseek-ai/dsh-agent-preset'
31
+ config:
32
+ id: whale-girl
33
+ name: '鲸鱼娘'
34
+ description: '白饭续航、机灵嘴硬,会一本正经接梗,也会温柔陪伴和可靠办事的鲸鱼娘女仆助手。'
35
+ order: 40
36
+ plugins:
37
+ - id: persona
38
+ name: '@deepseek-ai/dsh-persona'
39
+ config:
40
+ prefix: !!js >-
41
+ process.getBuiltinModule('node:fs').readFileSync(process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(new URL('index.js', baseUrl)).resolve('dsh-xiaomi-tts/package.json')), 'skills', 'whale-girl', 'SKILL.md'), 'utf8').replace(/^---\r?\n[\s\S]*?\r?\n---\r?\n/, '')
42
+ complete: true
43
+ includeRuntimeContext: true
44
+
45
+ - id: tool-pwsh
46
+ name: '@deepseek-ai/dsh-tool-pwsh'
47
+ disabled: !!js process.platform !== 'win32'
48
+
49
+ - id: tool-fs
50
+ name: '@deepseek-ai/dsh-tool-fs'
51
+
52
+ - id: tool-fs-search
53
+ name: '@deepseek-ai/dsh-tool-fs-search'
54
+ config:
55
+ sampleOverCapGlobResults: false
package/lib/client.js CHANGED
@@ -192,13 +192,13 @@ const TTS_LOCAL_SPEECH_MODES = [
192
192
  "local-first",
193
193
  "disabled"
194
194
  ];
195
- /** Voice-design descriptions adapted from the reference voice-definition page. */
195
+ /** Voice-design descriptions; Whale-chan's delivery is inspired by DeepSeek Whale-chan. */
196
196
  const TTS_VOICE_DESIGN_PRESETS = [
197
197
  {
198
198
  id: "energetic-girl",
199
199
  label: "鲸鱼娘",
200
- summary: "爱吃白米饭",
201
- prompt: "年轻女性16-22岁,标准普通话,清透甜美的中高音,音色明亮而不尖锐,带一点轻盈柔软的空气感;吐字清楚、节奏灵动,语速中等偏快,语调自然上扬,情绪开朗亲切又略带俏皮,整体听感温柔、有陪伴感。"
200
+ summary: "清甜机灵 · 嘴硬心软",
201
+ prompt: "清透柔软的女性中高音,标准普通话,音色明亮圆润、清甜不尖细,带少量自然气息;吐字清楚,语速适中,短句轻快,长句停顿清晰。日常亲切灵动,带一点慵懒的笑意和轻微傲娇;吐槽或讲歪理时语调平稳、一本正经,在转折前短暂停顿,句尾轻落,透出小小的得意,不用夸张喊叫。表达关心时放慢一点,温柔真诚而不黏腻;认真解释时收起撒娇,声音专注清晰。保持同一声线,让俏皮、嘴硬与心软通过轻微语气变化自然呈现,避免刻意幼态、过度气声和全程上扬。忠实朗读给定文本,不自行添加台词、口头禅或笑声。"
202
202
  },
203
203
  {
204
204
  id: "liang-wenfeng",
@@ -286,6 +286,7 @@ const TTS_PUNCTUATION = {
286
286
  };
287
287
  /** Decorative punctuation can make TTS emit non-speech artifacts, so omit it entirely. */
288
288
  const TTS_NON_SPEECH_PUNCTUATION = /[()\[\]【】[]〔〕〖〗{}{}「」『』《》〈〉“”‘’"'`<>:…—–-~]/gu;
289
+ const TTS_PAUSE_MARKER = "";
289
290
  const TTS_URL_PATTERN = /\b(?:https?|ftp):\/\/[^\s<>()]+|\bwww\.[^\s<>()]+|\b(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+(?:com|cn|net|org|io|ai|dev|me|co|edu|gov|xyz|tech|info|app|site|link)(?:[/:?#][^\s<>()]*)?/giu;
290
291
  const TTS_WINDOWS_PATH_PATTERN = /(?:\b[A-Za-z]:[\\/]|\\\\)(?:[A-Za-z0-9._ -]+[\\/])+(?:[A-Za-z0-9._ -]+)/gu;
291
292
  const TTS_UNIX_PATH_PATTERN = /\/(?:[A-Za-z0-9._-]+\/)+(?:[A-Za-z0-9._-]+)/gu;
@@ -315,7 +316,7 @@ function removeTtsSymbols(value) {
315
316
  }
316
317
  /** Combined punctuation normalization: collapse adjacent punctuation, remove non-speech characters, and normalize Chinese punctuation. */
317
318
  function normalizeTtsPunctuation(value) {
318
- return value.replace(TTS_NON_SPEECH_PUNCTUATION, "").replace(/[,。!?;、() ]/gu, (character) => TTS_PUNCTUATION[character] ?? character).replace(/(^|\s)[,;:!?]+(?=\s|$)/g, "$1").replace(/([,;:])\s*([.!?])/g, "$2").replace(/\s+([,.;:!?])/g, "$1");
319
+ return value.replace(/[—–-]+/gu, TTS_PAUSE_MARKER).replace(TTS_NON_SPEECH_PUNCTUATION, "").replace(/[,。!?;、() ]/gu, (character) => TTS_PUNCTUATION[character] ?? character).replace(/(^|\s)[,;:!?]+(?=\s|$)/g, "$1").replace(/([,;:])\s*([.!?])/g, "$2").replace(new RegExp(TTS_PAUSE_MARKER, "g"), ",").replace(/\s+([,.;:!?])/g, "$1");
319
320
  }
320
321
  /**
321
322
  * Prepare assistant text for speech synthesis without changing the chat transcript.
@@ -6843,7 +6844,7 @@ function installTaskSoundWatcher(ctx, controller, getSettings) {
6843
6844
 
6844
6845
  //#endregion
6845
6846
  //#region src/client/style/action.css?raw
6846
- var action_default = "/*\r\n * Read-aloud action button in the assistant message toolbar.\r\n */\r\n\r\n.xmimo-tts-action {\r\n width: 28px;\r\n height: 28px;\r\n color: var(--dsw-alias-label-tertiary);\r\n cursor: pointer;\r\n background: transparent;\r\n border: none;\r\n border-radius: 28px;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 6px;\r\n display: inline-flex\r\n}\r\n\r\n.xmimo-tts-action:hover,\r\n.xmimo-tts-action[aria-pressed=true] {\r\n background: var(--dsw-alias-interactive-bg-hover, #f3f4f6);\r\n color: var(--dsw-alias-label-secondary, #5f6875)\r\n}\r\n\r\n.xmimo-tts-action:disabled {\r\n cursor: default;\r\n opacity: .45\r\n}\r\n\r\n.xmimo-tts-spin {\r\n animation: xmimo-spin 1s linear infinite\r\n}\r\n\r\n@keyframes xmimo-spin {\r\n to {\r\n transform: rotate(360deg)\r\n }\r\n}\r\n";
6847
+ var action_default = "/*\r\n * Read-aloud action button in the assistant message toolbar.\r\n */\r\n\r\n.xmimo-tts-action {\r\n width: calc(28px + var(--dsh-content-font-delta, 0px));\r\n height: calc(28px + var(--dsh-content-font-delta, 0px));\r\n border-radius: var(--dsw-radius-sm);\r\n color: var(--dsw-alias-label-tertiary);\r\n cursor: pointer;\r\n background: transparent;\r\n border: none;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 6px;\r\n display: inline-flex;\r\n}\r\n\r\n.xmimo-tts-action:hover {\r\n background: var(--dsw-alias-interactive-bg-hover) !important;\r\n color: var(--dsw-alias-label-secondary);\r\n}\r\n\r\n.xmimo-tts-action:disabled {\r\n cursor: default;\r\n opacity: 0.45;\r\n}\r\n\r\n.xmimo-tts-spin {\r\n animation: xmimo-spin 1s linear infinite;\r\n}\r\n\r\n@keyframes xmimo-spin {\r\n to {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n";
6847
6848
 
6848
6849
  //#endregion
6849
6850
  //#region src/client/style/base.css?raw
@@ -6855,7 +6856,7 @@ var api_key_default = "/*\r\n * API key input row: the input, the whale mascot a
6855
6856
 
6856
6857
  //#endregion
6857
6858
  //#region src/client/style/card.css?raw
6858
- var card_default = "/*\r\n * Settings card shell: collapsible header, title, description, chevron, pending badge, body.\r\n */\r\n\r\n.xmimo-tts-card {\r\n list-style: none;\r\n border: 1px solid var(--xmimo-ui-border-soft);\r\n border-radius: 12px;\r\n color: var(--xmimo-ui-text);\r\n /* background: var(--dsw-alias-bg-layer-3, #fff); */\r\n overflow: hidden;\r\n transition: border-color 160ms ease, background 160ms ease\r\n}\r\n\r\n.xmimo-tts-card:hover {\r\n border-color: var(--dsw-alias-label-dimmed, #c8ccd4)\r\n}\r\n\r\n.xmimo-tts-card-open {\r\n /* background: var(--dsw-alias-bg-layer-2, #f7f8fa); */\r\n border-color: var(--dsw-alias-label-dimmed, #c8ccd4)\r\n}\r\n\r\n.xmimo-tts-card-header {\r\n appearance: none;\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 12px;\r\n padding: 14px 16px;\r\n border: 0;\r\n border-radius: 12px;\r\n color: inherit;\r\n text-align: left;\r\n background: transparent;\r\n font: inherit;\r\n cursor: pointer\r\n}\r\n\r\n.xmimo-tts-card-header:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: -2px\r\n}\r\n\r\n.xmimo-tts-card-head-text {\r\n display: flex;\r\n min-width: 0;\r\n flex: 1;\r\n flex-direction: column;\r\n gap: 4px\r\n}\r\n\r\n.xmimo-tts-card-title {\r\n font-size: 15px;\r\n font-weight: 600\r\n}\r\n\r\n.xmimo-tts-api-key-logo {\r\n display: block;\r\n width: 88px;\r\n height: 12px;\r\n max-width: 100%;\r\n color: var(--dsw-alias-label-primary, #1f2328);\r\n background-color: currentColor;\r\n -webkit-mask: var(--xmimo-tts-api-key-logo-image) center / 100% 100% no-repeat;\r\n mask: var(--xmimo-tts-api-key-logo-image) center / 100% 100% no-repeat;\r\n}\r\n\r\n.xmimo-tts-card-description {\r\n color: var(--xmimo-ui-text-subtle);\r\n font-size: 13px;\r\n line-height: 18px\r\n}\r\n\r\n.xmimo-tts-chevron {\r\n flex: none;\r\n color: var(--xmimo-ui-text-subtle);\r\n transition: transform 160ms ease\r\n}\r\n\r\n.xmimo-tts-chevron-open {\r\n transform: rotate(180deg)\r\n}\r\n\r\n.xmimo-tts-pending {\r\n flex: none;\r\n border-radius: 999px;\r\n padding: 1px 8px;\r\n color: var(--xmimo-ui-text-muted);\r\n background: var(--xmimo-ui-chip-surface);\r\n font-size: 11px;\r\n font-weight: 500;\r\n line-height: 17px\r\n}\r\n\r\n.xmimo-tts-card-body {\r\n margin: 8px;\r\n}\r\n";
6859
+ var card_default = "/*\r\n * Settings card shell: collapsible header, title, description, chevron, pending badge, body.\r\n */\r\n\r\n.xmimo-tts-card {\r\n list-style: none;\r\n border-radius: 12px;\r\n color: var(--xmimo-ui-text);\r\n overflow: hidden;\r\n transition: border-color 160ms ease, background 160ms ease\r\n}\r\n\r\n.xmimo-tts-card:hover {\r\n /* border-color: var(--dsw-alias-label-dimmed, #c8ccd4) */\r\n}\r\n\r\n.xmimo-tts-card-open {\r\n /* background: var(--dsw-alias-bg-layer-2, #f7f8fa); */\r\n /* border-color: var(--dsw-alias-label-dimmed, #c8ccd4) */\r\n}\r\n\r\n.xmimo-tts-card-header {\r\n appearance: none;\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 12px;\r\n padding: 14px 16px;\r\n border: 0;\r\n border-radius: 12px;\r\n color: inherit;\r\n text-align: left;\r\n background: transparent;\r\n font: inherit;\r\n cursor: pointer\r\n}\r\n\r\n.xmimo-tts-card-header:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: -2px\r\n}\r\n\r\n.xmimo-tts-card-head-text {\r\n display: flex;\r\n min-width: 0;\r\n flex: 1;\r\n flex-direction: column;\r\n gap: 4px\r\n}\r\n\r\n.xmimo-tts-card-title {\r\n font-size: 15px;\r\n font-weight: 600\r\n}\r\n\r\n.xmimo-tts-api-key-logo {\r\n display: block;\r\n width: 88px;\r\n height: 12px;\r\n max-width: 100%;\r\n color: var(--dsw-alias-label-primary, #1f2328);\r\n background-color: currentColor;\r\n -webkit-mask: var(--xmimo-tts-api-key-logo-image) center / 100% 100% no-repeat;\r\n mask: var(--xmimo-tts-api-key-logo-image) center / 100% 100% no-repeat;\r\n}\r\n\r\n.xmimo-tts-card-description {\r\n color: var(--xmimo-ui-text-subtle);\r\n font-size: 13px;\r\n line-height: 18px\r\n}\r\n\r\n.xmimo-tts-chevron {\r\n flex: none;\r\n color: var(--xmimo-ui-text-subtle);\r\n transition: transform 160ms ease\r\n}\r\n\r\n.xmimo-tts-chevron-open {\r\n transform: rotate(180deg)\r\n}\r\n\r\n.xmimo-tts-pending {\r\n flex: none;\r\n border-radius: 999px;\r\n padding: 1px 8px;\r\n color: var(--xmimo-ui-text-muted);\r\n background: var(--xmimo-ui-chip-surface);\r\n font-size: 11px;\r\n font-weight: 500;\r\n line-height: 17px\r\n}\r\n\r\n.xmimo-tts-card-body {\r\n margin: var(--xmimo-ui-space-1) 0;\r\n}\r\n";
6859
6860
 
6860
6861
  //#endregion
6861
6862
  //#region src/client/style/fields.css?raw
@@ -6867,7 +6868,7 @@ var voice_default = "/*\r\n * Voice pickers: custom voice trigger, builtin voice
6867
6868
 
6868
6869
  //#endregion
6869
6870
  //#region src/client/style/card-actions.css?raw
6870
- var card_actions_default = "/*\r\n * Settings card action bar: update, star, discard, and save.\r\n */\r\n\r\n.xmimo-tts-card-actions {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n gap: 10px;\r\n padding-top: 12px;\r\n border-top: 1px solid var(--xmimo-ui-border-soft);\r\n font-size: 12px;\r\n color: var(--xmimo-ui-text-subtle)\r\n}\r\n\r\n.xmimo-tts-card-actions button {\r\n cursor: pointer;\r\n font: inherit\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-update {\r\n display: inline-flex;\r\n align-items: center;\r\n border: 1px solid var(--dsw-alias-brand-primary, #4f6ef7);\r\n border-radius: 8px;\r\n padding: 5px 14px;\r\n color: var(--dsw-alias-brand-primary, #4f6ef7);\r\n background: transparent;\r\n text-decoration: none\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-update:hover {\r\n filter: brightness(1.08)\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-star {\r\n margin-right: auto;\r\n border-color: transparent;\r\n color: var(--dsw-alias-brand-primary, #4f6ef7);\r\n background: transparent;\r\n font-weight: 500\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-star:hover {\r\n text-decoration: underline\r\n}\r\n";
6871
+ var card_actions_default = "/*\r\n * Settings card action bar: update, star, discard, and save.\r\n */\r\n\r\n.xmimo-tts-card-actions {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n gap: 10px;\r\n /* padding-top: 12px; */\r\n /* border-top: 1px solid var(--xmimo-ui-border-soft); */\r\n font-size: 12px;\r\n color: var(--xmimo-ui-text-subtle)\r\n}\r\n\r\n.xmimo-tts-card-actions button {\r\n cursor: pointer;\r\n font: inherit\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-update {\r\n display: inline-flex;\r\n align-items: center;\r\n border: 1px solid var(--dsw-alias-brand-primary, #4f6ef7);\r\n border-radius: 8px;\r\n padding: 5px 14px;\r\n color: var(--dsw-alias-brand-primary, #4f6ef7);\r\n background: transparent;\r\n text-decoration: none\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-update:hover {\r\n filter: brightness(1.08)\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-star {\r\n margin-right: auto;\r\n border-color: transparent;\r\n color: var(--dsw-alias-brand-primary, #4f6ef7);\r\n background: transparent;\r\n font-weight: 500\r\n}\r\n\r\n.xmimo-tts-card-actions .xmimo-tts-star:hover {\r\n text-decoration: underline\r\n}\r\n";
6871
6872
 
6872
6873
  //#endregion
6873
6874
  //#region src/client/style/character.css?raw
@@ -6911,7 +6912,7 @@ var global_default = "/*\r\n * Project-wide UI system for the Xiaomi MiMo settin
6911
6912
 
6912
6913
  //#endregion
6913
6914
  //#region src/client/style/minimal.css?raw
6914
- var minimal_default = ".xmimo-tts-preview-simple-button {\r\n min-height: 30px;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 7px;\r\n padding: 4px 10px;\r\n color: var(--xmimo-ui-text);\r\n background: var(--xmimo-ui-control-surface);\r\n font: inherit;\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-preview-simple-button:hover:not(:disabled) {\r\n border-color: var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-preview-simple-button:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.xmimo-tts-switch-module-minimal {\r\n padding: var(--xmimo-ui-space-3);\r\n}\r\n\r\n.xmimo-tts-card-minimal {\r\n --xmimo-ui-module-gap: 5px;\r\n --xmimo-ui-module-padding: 8px;\r\n --xmimo-ui-control-height: 30px;\r\n --xmimo-ui-mascot-size: 0px;\r\n border-color: transparent;\r\n background: var(--dsw-alias-bg-layer-2, #fff);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module {\r\n border-color: transparent;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-ui-module\r\n input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]) {\r\n border-radius: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key .xmimo-ui-module-header {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-switch-row {\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal {\r\n height: 24px;\r\n flex: 1 1 auto;\r\n overflow: visible;\r\n border-radius: 0;\r\n background: transparent;\r\n --energy-color: var(--xmimo-ui-text);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::before,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::after {\r\n position: absolute;\r\n top: 50%;\r\n left: 0;\r\n display: block;\r\n height: 4px;\r\n border-radius: 999px;\r\n content: \"\";\r\n pointer-events: none;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::before {\r\n right: 0;\r\n background: var(--xmimo-ui-border);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::after {\r\n width: var(--volume);\r\n background: var(--xmimo-ui-text);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal .xmimo-tts-energy-fill,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal .xmimo-tts-energy-dots {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input[type=\"range\"] {\r\n z-index: 1;\r\n height: 32px;\r\n top: -4px;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-energy-minimal\r\n input::-webkit-slider-runnable-track,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-moz-range-track {\r\n height: 24px;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-webkit-slider-thumb {\r\n width: 12px;\r\n height: 12px;\r\n border: 0;\r\n background: transparent;\r\n animation: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-moz-range-thumb {\r\n width: 12px;\r\n height: 12px;\r\n border: 0;\r\n background: transparent;\r\n animation: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input:focus-visible {\r\n outline: 2px solid color-mix(in srgb, var(--xmimo-ui-brand) 55%, transparent);\r\n outline-offset: 2px;\r\n}\r\n\r\n.xmimo-tts-minimal-toggle {\r\n display: flex;\r\n min-width: 0;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 8px;\r\n padding: 0 8px;\r\n color: var(--xmimo-ui-text);\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-minimal-toggle-label {\r\n min-width: 0;\r\n overflow: hidden;\r\n font-size: 12px;\r\n font-weight: 600;\r\n line-height: 16px;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-minimal-toggle:has([disabled]) {\r\n cursor: not-allowed;\r\n opacity: 0.5;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module-heading > strong {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n clip-path: inset(50%);\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-field-badges {\r\n display: none !important;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-volume {\r\n align-items: center;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-volume {\r\n width: 50%;\r\n align-items: center;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input {\r\n align-items: center;\r\n gap: 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input {\r\n border: 0;\r\n border-bottom: 1px solid var(--xmimo-ui-border);\r\n border-radius: 0;\r\n padding-right: 0;\r\n padding-left: 0;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input:hover:not(:disabled) {\r\n border-bottom-color: var(--xmimo-ui-text-subtle);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input:focus-visible {\r\n border-bottom-color: var(--xmimo-ui-brand);\r\n outline: none;\r\n box-shadow: 0 1px 0 var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-inline-actions {\r\n display: flex;\r\n flex: none;\r\n align-items: center;\r\n gap: 8px;\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-inline-actions .xmimo-tts-reset {\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-api-key-inline-actions\r\n .xmimo-tts-api-key-link,\r\n.xmimo-tts-card-minimal .xmimo-tts-mixer-preview-button,\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button {\r\n box-sizing: border-box;\r\n display: inline-flex;\r\n width: 88px;\r\n min-width: 88px;\r\n flex: 0 0 88px;\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-picker-text-caret {\r\n flex: none;\r\n color: var(--xmimo-ui-text-muted);\r\n font-size: 18px;\r\n line-height: 1;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details-body {\r\n grid-template-columns: repeat(2, minmax(0, 1fr));\r\n column-gap: 12px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details-body > :nth-child(n + 3) {\r\n grid-column: 1 / -1;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-details-body\r\n > :not(.xmimo-tts-volume)\r\n > .xmimo-tts-field-heading {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n clip-path: inset(50%);\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-ui-module-header {\r\n display: flex;\r\n align-items: flex-end;\r\n gap: 6px;\r\n padding: 5px 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-tts-details-toggle {\r\n min-width: 0;\r\n min-height: 0;\r\n flex: 1 1 auto;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-ui-module-decoration {\r\n flex: none;\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button {\r\n min-height: 28px;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 6px;\r\n padding: 4px 8px;\r\n color: var(--xmimo-ui-text);\r\n background: var(--xmimo-ui-control-surface);\r\n font: inherit;\r\n font-size: 11px;\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button:hover {\r\n border-color: var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-menu,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-picker-menu {\r\n grid-template-columns: repeat(4, minmax(0, 1fr));\r\n background: none;\r\n box-shadow: none;\r\n gap: 6px;\r\n padding: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-option {\r\n min-width: 0;\r\n min-height: 42px;\r\n padding: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy {\r\n align-items: baseline;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy > strong,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy > strong {\r\n min-width: 0;\r\n flex: 0 1 auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy > small,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy > small {\r\n min-width: 0;\r\n flex: 1 1 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-option-custom {\r\n grid-column: auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-title {\r\n padding-right: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-visually-hidden {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n white-space: nowrap;\r\n clip-path: inset(50%);\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-api-key-input:focus-within\r\n + .xmimo-tts-api-key-message {\r\n position: static;\r\n width: auto;\r\n height: auto;\r\n overflow: visible;\r\n clip: auto;\r\n clip-path: none;\r\n white-space: normal;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-message.xmimo-tts-api-key-warning {\r\n position: static;\r\n width: auto;\r\n height: auto;\r\n overflow: visible;\r\n clip: auto;\r\n clip-path: none;\r\n white-space: normal;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button {\r\n position: static;\r\n flex: none;\r\n width: auto;\r\n height: auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-input {\r\n display: flex;\r\n align-items: center;\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-input > textarea {\r\n order: 1;\r\n min-width: 0;\r\n flex: 1 1 auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button {\r\n order: 2;\r\n padding-inline: 8px;\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button:disabled {\r\n cursor: not-allowed;\r\n opacity: 0.5;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button {\r\n min-height: 28px;\r\n position: static;\r\n display: inline-flex;\r\n width: 88px;\r\n min-width: 88px;\r\n flex: 0 0 88px;\r\n height: auto;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 7px;\r\n padding: 4px 8px;\r\n background: var(--xmimo-ui-control-surface);\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-ui-module-header {\r\n display: flex;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 5px 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-tts-sound-toggle {\r\n min-width: 0;\r\n min-height: 0;\r\n flex: 1 1 auto;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-ui-module-decoration {\r\n flex: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-mode-label {\r\n display: block;\r\n position: static;\r\n color: var(--xmimo-ui-text-muted);\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-toggle {\r\n min-height: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-heading > small {\r\n padding-right: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-body {\r\n gap: 8px;\r\n padding: 0 10px 10px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-grid {\r\n grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));\r\n gap: 4px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option {\r\n min-height: 28px;\r\n border-radius: 7px;\r\n padding: 4px 20px 4px 8px;\r\n font-size: 11px;\r\n line-height: 16px;\r\n transition:\r\n border-color 140ms ease,\r\n background 140ms ease;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option::before {\r\n inset: 5px auto 5px 0;\r\n width: 2px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option::after {\r\n right: 5px;\r\n width: 13px;\r\n height: 13px;\r\n font-size: 9px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option:hover:not(:disabled),\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option:active:not(:disabled) {\r\n transform: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option-selected {\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-wave {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-previews button {\r\n min-height: 28px;\r\n padding: 5px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module-padded {\r\n padding: 8px !important;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-summary {\r\n min-height: 28px;\r\n gap: 4px;\r\n padding-block: 3px;\r\n border-radius: 0;\r\n border: 0;\r\n border-bottom: 1px solid var(--xmimo-ui-border);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-grid > * {\r\n padding-block: 4px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions {\r\n flex-wrap: wrap;\r\n gap: 6px;\r\n padding-top: 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions button,\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions .xmimo-tts-mode-toggle {\r\n min-height: 30px;\r\n border-radius: 8px;\r\n padding: 5px 10px;\r\n}\r\n\r\n@media (max-width: 520px) {\r\n .xmimo-tts-card-minimal .xmimo-tts-switch-row {\r\n gap: 5px;\r\n }\r\n\r\n .xmimo-tts-card-minimal .xmimo-tts-character-copy strong {\r\n font-size: 12px;\r\n }\r\n}\r\n";
6915
+ var minimal_default = ".xmimo-tts-preview-simple-button {\r\n min-height: 30px;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 7px;\r\n padding: 4px 10px;\r\n color: var(--xmimo-ui-text);\r\n background: var(--xmimo-ui-control-surface);\r\n font: inherit;\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-preview-simple-button:hover:not(:disabled) {\r\n border-color: var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-preview-simple-button:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.xmimo-tts-switch-module-minimal {\r\n padding: var(--xmimo-ui-space-3);\r\n}\r\n\r\n.xmimo-tts-card-minimal {\r\n --xmimo-ui-module-gap: 5px;\r\n --xmimo-ui-module-padding: 8px;\r\n --xmimo-ui-control-height: 30px;\r\n --xmimo-ui-mascot-size: 0px;\r\n border-color: transparent;\r\n background: var(--xmimo-ui-surface, #fff);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module {\r\n border-color: transparent;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-ui-module\r\n input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]) {\r\n border-radius: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key .xmimo-ui-module-header {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-switch-row {\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal {\r\n height: 24px;\r\n flex: 1 1 auto;\r\n overflow: visible;\r\n border-radius: 0;\r\n background: transparent;\r\n --energy-color: var(--xmimo-ui-text);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::before,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::after {\r\n position: absolute;\r\n top: 50%;\r\n left: 0;\r\n display: block;\r\n height: 4px;\r\n border-radius: 999px;\r\n content: \"\";\r\n pointer-events: none;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::before {\r\n right: 0;\r\n background: var(--xmimo-ui-border);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal::after {\r\n width: var(--volume);\r\n background: var(--xmimo-ui-text);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal .xmimo-tts-energy-fill,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal .xmimo-tts-energy-dots {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input[type=\"range\"] {\r\n z-index: 1;\r\n height: 32px;\r\n top: -4px;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-energy-minimal\r\n input::-webkit-slider-runnable-track,\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-moz-range-track {\r\n height: 24px;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-webkit-slider-thumb {\r\n width: 12px;\r\n height: 12px;\r\n border: 0;\r\n background: transparent;\r\n animation: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input::-moz-range-thumb {\r\n width: 12px;\r\n height: 12px;\r\n border: 0;\r\n background: transparent;\r\n animation: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-energy-minimal input:focus-visible {\r\n outline: 2px solid color-mix(in srgb, var(--xmimo-ui-brand) 55%, transparent);\r\n outline-offset: 2px;\r\n}\r\n\r\n.xmimo-tts-minimal-toggle {\r\n display: flex;\r\n min-width: 0;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 8px;\r\n padding: 0 8px;\r\n color: var(--xmimo-ui-text);\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-minimal-toggle-label {\r\n min-width: 0;\r\n overflow: hidden;\r\n font-size: 12px;\r\n font-weight: 600;\r\n line-height: 16px;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-minimal-toggle:has([disabled]) {\r\n cursor: not-allowed;\r\n opacity: 0.5;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module-heading > strong {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n clip-path: inset(50%);\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-field-badges {\r\n display: none !important;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-volume {\r\n align-items: center;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-volume {\r\n width: 50%;\r\n align-items: center;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input {\r\n align-items: center;\r\n gap: 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input {\r\n border: 0;\r\n border-bottom: 1px solid var(--xmimo-ui-border);\r\n border-radius: 0;\r\n padding-right: 0;\r\n padding-left: 0;\r\n background: transparent;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input:hover:not(:disabled) {\r\n border-bottom-color: var(--xmimo-ui-text-subtle);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-input > input:focus-visible {\r\n border-bottom-color: var(--xmimo-ui-brand);\r\n outline: none;\r\n box-shadow: 0 1px 0 var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-inline-actions {\r\n display: flex;\r\n flex: none;\r\n align-items: center;\r\n gap: 8px;\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-inline-actions .xmimo-tts-reset {\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-api-key-inline-actions\r\n .xmimo-tts-api-key-link,\r\n.xmimo-tts-card-minimal .xmimo-tts-mixer-preview-button,\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button {\r\n box-sizing: border-box;\r\n display: inline-flex;\r\n width: 88px;\r\n min-width: 88px;\r\n flex: 0 0 88px;\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-picker-text-caret {\r\n flex: none;\r\n color: var(--xmimo-ui-text-muted);\r\n font-size: 18px;\r\n line-height: 1;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details-body {\r\n grid-template-columns: repeat(2, minmax(0, 1fr));\r\n column-gap: 12px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details-body > :nth-child(n + 3) {\r\n grid-column: 1 / -1;\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-details-body\r\n > :not(.xmimo-tts-volume)\r\n > .xmimo-tts-field-heading {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n clip-path: inset(50%);\r\n white-space: nowrap;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-ui-module-header {\r\n display: flex;\r\n align-items: flex-end;\r\n gap: 6px;\r\n padding: 5px 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-tts-details-toggle {\r\n min-width: 0;\r\n min-height: 0;\r\n flex: 1 1 auto;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-details .xmimo-ui-module-decoration {\r\n flex: none;\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button {\r\n min-height: 28px;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 6px;\r\n padding: 4px 8px;\r\n color: var(--xmimo-ui-text);\r\n background: var(--xmimo-ui-control-surface);\r\n font: inherit;\r\n font-size: 11px;\r\n cursor: pointer;\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button:hover {\r\n border-color: var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-mixer-preview-button:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-menu,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-picker-menu {\r\n grid-template-columns: repeat(4, minmax(0, 1fr));\r\n background: none;\r\n box-shadow: none;\r\n gap: 6px;\r\n padding: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-option {\r\n min-width: 0;\r\n min-height: 42px;\r\n padding: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy {\r\n align-items: baseline;\r\n flex-direction: row;\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy > strong,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy > strong {\r\n min-width: 0;\r\n flex: 0 1 auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-copy > small,\r\n.xmimo-tts-card-minimal .xmimo-tts-voice-option-copy > small {\r\n min-width: 0;\r\n flex: 1 1 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-builtin-voice-option-custom {\r\n grid-column: auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-title {\r\n padding-right: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-visually-hidden {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n white-space: nowrap;\r\n clip-path: inset(50%);\r\n}\r\n\r\n.xmimo-tts-card-minimal\r\n .xmimo-tts-api-key-input:focus-within\r\n + .xmimo-tts-api-key-message {\r\n position: static;\r\n width: auto;\r\n height: auto;\r\n overflow: visible;\r\n clip: auto;\r\n clip-path: none;\r\n white-space: normal;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-api-key-message.xmimo-tts-api-key-warning {\r\n position: static;\r\n width: auto;\r\n height: auto;\r\n overflow: visible;\r\n clip: auto;\r\n clip-path: none;\r\n white-space: normal;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button {\r\n position: static;\r\n flex: none;\r\n width: auto;\r\n height: auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-input {\r\n display: flex;\r\n align-items: center;\r\n gap: 6px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-input > textarea {\r\n order: 1;\r\n min-width: 0;\r\n flex: 1 1 auto;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button {\r\n order: 2;\r\n padding-inline: 8px;\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-preview-simple-button:disabled {\r\n cursor: not-allowed;\r\n opacity: 0.5;\r\n}\r\n\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button {\r\n min-height: 28px;\r\n position: static;\r\n display: inline-flex;\r\n width: 88px;\r\n min-width: 88px;\r\n flex: 0 0 88px;\r\n height: auto;\r\n border: 1px solid var(--xmimo-ui-border);\r\n border-radius: 6px;\r\n padding: 4px 8px;\r\n background: var(--xmimo-ui-control-surface);\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n color: var(--xmimo-ui-text);\r\n font: inherit;\r\n font-size: 11px;\r\n cursor: pointer;\r\n}\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button:hover {\r\n border-color: var(--xmimo-ui-brand);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-whale-button:focus-visible {\r\n outline: var(--xmimo-ui-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-ui-module-header {\r\n display: flex;\r\n align-items: center;\r\n gap: 6px;\r\n padding: 5px 8px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-tts-sound-toggle {\r\n min-width: 0;\r\n min-height: 0;\r\n flex: 1 1 auto;\r\n padding: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-effects .xmimo-ui-module-decoration {\r\n flex: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-mode-label {\r\n display: block;\r\n position: static;\r\n color: var(--xmimo-ui-text);\r\n font-size: 11px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-toggle {\r\n min-height: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-heading > small {\r\n padding-right: 0;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-body {\r\n gap: 8px;\r\n padding: 0 10px 10px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-grid {\r\n grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));\r\n gap: 4px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option {\r\n min-height: 28px;\r\n border-radius: 7px;\r\n padding: 4px 20px 4px 8px;\r\n font-size: 11px;\r\n line-height: 16px;\r\n transition:\r\n border-color 140ms ease,\r\n background 140ms ease;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option::before {\r\n inset: 5px auto 5px 0;\r\n width: 2px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option::after {\r\n right: 5px;\r\n width: 13px;\r\n height: 13px;\r\n font-size: 9px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option:hover:not(:disabled),\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option:active:not(:disabled) {\r\n transform: none;\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-option-selected {\r\n box-shadow: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-pack-wave {\r\n display: none;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-sound-previews button {\r\n min-height: 28px;\r\n padding: 5px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-module-padded {\r\n padding: 8px !important;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-ui-summary {\r\n min-height: 28px;\r\n gap: 4px;\r\n padding-block: 3px;\r\n border-radius: 0;\r\n border: 0;\r\n border-bottom: 1px solid var(--xmimo-ui-border);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-grid > * {\r\n padding-block: 4px;\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions {\r\n flex-wrap: wrap;\r\n gap: 6px;\r\n padding: 0 var(--xmimo-ui-space-3) var(--xmimo-ui-space-3);\r\n}\r\n\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions button,\r\n.xmimo-tts-card-minimal .xmimo-tts-card-actions .xmimo-tts-mode-toggle {\r\n min-height: 30px;\r\n border-radius: 8px;\r\n padding: 5px 10px;\r\n}\r\n\r\n@media (max-width: 520px) {\r\n .xmimo-tts-card-minimal .xmimo-tts-switch-row {\r\n gap: 5px;\r\n }\r\n\r\n .xmimo-tts-card-minimal .xmimo-tts-character-copy strong {\r\n font-size: 12px;\r\n }\r\n}\r\n";
6915
6916
 
6916
6917
  //#endregion
6917
6918
  //#region src/client/style/index.ts