dsh-xiaomi-tts 5.0.0-alpha.2 → 5.0.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 +2 -2
- package/assets/ui/provider-moss-logo.svg +1 -0
- package/lib/client.js +163 -54
- package/lib/constants-DZXIHEuL.js +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +1 -1
- package/lib/passport.js +1 -1
- package/lib/pcm-stream.js +1 -1
- package/lib/qqbot-agent.js +1 -1
- package/lib/qqbot-media-hK6udyzu.js +1 -0
- package/lib/qqbot.js +1 -1
- package/lib/{session-speech-RN2lfXif.js → session-speech-CU0u5OHz.js} +1 -1
- package/lib/{shared-6mwUD1oT.js → shared-BJgsEDTt.js} +1 -1
- package/lib/shared.js +1 -1
- package/lib/speech-agent.js +1 -1
- package/lib/speech-host.js +1 -1
- package/lib/src-Dy1yWo72.js +7 -0
- package/lib/types/settings.d.ts +4 -0
- package/lib/{utils-Ah_iwc8c.js → utils-B6kIdqJr.js} +2 -2
- package/package.json +47 -37
- package/lib/constants-BDEwAkfs.js +0 -1
- package/lib/qqbot-media-B7RS9wER.js +0 -1
- package/lib/src-397HWaaw.js +0 -7
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
## 🚀 安装与使用
|
|
36
36
|
|
|
37
|
-
需要 DSH `0.2.2` 以上、Node.js 24.9+,当前适配目标为 DSH `0.2.2-
|
|
37
|
+
需要 DSH `0.2.2` 以上、Node.js 24.9+,当前适配目标为 DSH `0.2.2-rc.1`。
|
|
38
38
|
|
|
39
39
|
AI Passport 连接器还依赖宿主已启用 `@deepseek-ai/dsh-experimental-speech-to-text` 与识别 provider;该识别组件由 DSH 宿主提供,本插件不代为安装,缺少时设备无法连接(详见用户手册的 AI Passport 章节)。
|
|
40
40
|
|
|
@@ -54,7 +54,7 @@ dsh plugin --profile web remove dsh-xiaomi-tts
|
|
|
54
54
|
|
|
55
55
|
安装后可直接使用浏览器语音,**自动播报和 UI 音效默认关闭**。云端语音配置:
|
|
56
56
|
|
|
57
|
-
1. 打开插件设置,选择小米 MiMo、豆包或 Breeze,填写并保存 [小米 Key](https://platform.xiaomimimo.com/console/api-keys)、[豆包 Key](https://console.volcengine.com/speech/new/setting/apikeys?projectName=default) 或 [Breeze Key](https://breezeblue.ai/
|
|
57
|
+
1. 打开插件设置,选择小米 MiMo、豆包或 Breeze,填写并保存 [小米 Key](https://platform.xiaomimimo.com/console/api-keys)、[豆包 Key](https://console.volcengine.com/speech/new/setting/apikeys?projectName=default) 或 [Breeze Key](https://breezeblue.ai/zh?code=JHKLSJ)。
|
|
58
58
|
2. 在“调音台”选择模型、音色,在“播报台”试听;三家服务商的密钥、音色与模型各自独立保存,密钥须先保存,模型和音色支持草稿试听。
|
|
59
59
|
3. 在「设置 → 语音朗读」调整音量、语速、朗读范围及自动播报、音效,与插件设置共用配置。
|
|
60
60
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><rect width="128" height="128" rx="28" ry="28" fill="#FAFBFC"/><g transform="translate(8.0000 44.1988) scale(1.027523)"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.7897 19.1844C29.6758 16.4326 27.8676 13.8021 26.265 11.4667C23.218 7.03328 21.5891 5.76809 19.6544 5.05642C16.3754 3.85976 11.9683 8.56206 3.59171 31.4937C2.69553 33.9503 2.61118 35.1048 3.13307 35.2946C3.56008 35.4527 4.15577 35.4422 4.88853 35.2893C3.70241 35.6267 2.75352 35.711 2.08929 35.4738C0.992787 35.0837 0.829367 33.5444 1.93114 30.4394C10.3552 6.66954 14.3617 -0.278483 18.3259 1.12905C20.5664 1.92506 22.9597 5.34109 26.1596 9.90106C27.9994 12.5263 30.0975 15.5206 32.6016 18.6256L31.7844 19.1791L31.7897 19.1844ZM17.9306 0.0272717C18.6106 -0.0518029 19.2907 0.0430867 19.9812 0.296126C22.791 1.3241 25.2951 4.9668 28.6425 9.8378C30.2504 12.1784 32.0638 14.8195 34.1725 17.5608L33.4134 18.0774C30.9041 14.9671 28.8007 11.9675 26.9609 9.34226C23.6556 4.63469 21.1832 1.10796 18.6528 0.211779C18.4103 0.127433 18.1731 0.0641732 17.9306 0.0272717ZM77.1996 19.1844C79.3136 16.4326 81.1217 13.8021 82.7243 11.4667C85.7713 7.03328 87.4003 5.76809 89.335 5.05642C92.6139 3.85976 97.021 8.56206 105.398 31.4937C106.294 33.9503 106.378 35.1048 105.856 35.2946C105.429 35.4527 104.834 35.4422 104.101 35.2893C105.287 35.6267 106.236 35.711 106.895 35.4738C107.991 35.0837 108.155 33.5444 107.053 30.4394C98.6341 6.66954 94.6277 -0.278483 90.6634 1.12905C88.423 1.92506 86.0296 5.34109 82.8298 9.90106C80.99 12.5263 78.8866 15.5206 76.3878 18.6256L77.2049 19.1791L77.1996 19.1844ZM91.0588 0.0272717C90.3787 -0.0518029 89.6987 0.0430867 89.0081 0.296126C86.1983 1.3241 83.6943 4.9668 80.3468 9.8378C78.739 12.1784 76.9255 14.8195 74.8168 17.5608L75.576 18.0774C78.0853 14.9671 80.1887 11.9675 82.0285 9.34226C85.3285 4.62942 87.8009 1.10796 90.3366 0.206508C90.5791 0.122161 90.8163 0.0589016 91.0588 0.0220001V0.0272717ZM54.4947 38.5419C57.1463 38.5419 59.798 37.3821 62.5919 35.0573C65.4122 32.7115 68.7334 29.1004 73.1616 24.0976C73.8627 23.3016 74.5375 22.5108 75.1859 21.7254L75.4864 21.9257C88.6391 30.6871 102.182 39.7017 106.842 37.9989C109.003 37.2082 109.652 35.0204 108.26 30.9507C109.241 34.1559 108.777 35.8428 107.232 36.3911C102.999 37.8935 89.704 28.8526 76.7884 20.0753L75.7763 19.3847C74.9592 20.3811 74.0999 21.3827 73.1932 22.3896C68.7334 27.3344 65.3964 30.898 62.5919 33.1806C59.7558 35.4949 57.1305 36.5545 54.5 36.3489C51.8694 36.5492 49.2441 35.4949 46.408 33.1806C43.6035 30.8927 40.2665 27.3344 35.8067 22.3896C34.9 21.3827 34.0407 20.3811 33.2236 19.3847L32.2114 20.0753C19.2907 28.8526 5.99557 37.8882 1.76245 36.3911C0.212584 35.8428 -0.25132 34.1506 0.734477 30.9507C-0.657237 35.0204 -0.0088244 37.2134 2.15255 37.9989C6.81268 39.7017 20.3555 30.6819 33.5083 21.9257L33.8088 21.7254C34.4572 22.5108 35.1267 23.3068 35.8331 24.0976C40.2612 29.1004 43.5824 32.7167 46.4027 35.0573C49.1967 37.3821 51.8483 38.5419 54.5 38.5419H54.4947ZM54.4947 10.4651C51.9274 10.4546 49.3706 12.073 43.3293 15.3414C41.8375 16.3641 40.1558 17.508 38.2317 18.7785C37.5622 19.2213 36.8874 19.6694 36.2126 20.1175C36.782 20.8081 37.3724 21.4987 37.9839 22.1893C42.3277 27.0972 45.5698 30.6292 48.2372 32.8485C49.2968 33.7289 50.2141 34.43 51.0523 34.9624C49.7871 34.4511 48.4639 33.6076 47.0142 32.4268C44.2677 30.1863 40.9518 26.6491 36.5237 21.7359C35.6486 20.7659 34.8156 19.7959 34.0249 18.8365C34.8789 18.2566 35.8067 17.6293 36.9138 16.8807C38.8274 15.5892 40.4985 14.4241 41.9798 13.3909C48.3269 8.96798 51.2368 6.95948 54.4947 7.33904C57.7473 6.96475 60.6572 8.96798 67.0096 13.3909C68.4962 14.4241 70.162 15.5892 72.0756 16.8807C73.1774 17.624 74.1105 18.2513 74.9645 18.8365C74.1737 19.7959 73.3408 20.7659 72.4657 21.7359C68.0322 26.6491 64.7217 30.1863 61.9751 32.4268C60.5307 33.6076 59.2075 34.4511 57.9371 34.9624C58.7753 34.43 59.6978 33.7289 60.7521 32.8485C63.4196 30.6292 66.6669 27.1024 71.0055 22.1893C71.617 21.4987 72.2074 20.8081 72.7767 20.1175C72.102 19.6694 71.4272 19.2213 70.7577 18.7785C68.8335 17.508 67.1572 16.3588 65.66 15.3414C59.6187 12.073 57.0567 10.4546 54.4947 10.4651Z" fill="#1D1819"/></g></svg>
|