Vim0x3c/dsh-tts

Plugin ⭐ 2 MIT browser

DeepSeek Harness (dsh web) 语音播报插件:用 Edge TTS 微软神经语音朗读每个助手回复的最终结果。只读最终答复、长文自动分段、输入框喇叭一键开关、审批提示朗读与自定义提示音,全程本地零第三方依赖。 Text-to-speech for dsh web via Edge TTS.

Install

git clone https://github.com/Vim0x3c/dsh-tts.git dsh-tts
   cd dsh-tts
   pnpm install
   pnpm build          # tsdown:产出 lib/index.js、lib/client.js 等
   npm pack            # 生成 dsh-tts-0.1.0.tgz
   ```

   > 若你只想在本机用,也可以直接在仓库根执行 `pnpm build` 拿到 `lib/`;但**安装到 dsh 建议用 tarball**(`npm pack` 生成)。

2. **安装到 web profile**:

   ```sh
   dsh plugin --profile web add -w ./dsh-tts-0.1.0.tgz
   ```

   > `-w` 标志是**必须**的:每个 profile 都带一个 `pnpm-workspace.yaml`,pnpm 会把 profile 目录当作 workspace 根,裸 `add` 会报 `ERR_PNPM_ADDING_TO_ROOT`。

3. **重启 `dsh web`**(宿主端会在启动时加载插件):

   ```sh
   dsh web          # 或 dsh --profile web
   ```

4. **验证安装成功**:

   ```sh
   # ① 插件已在组合配置里(应看到 - id: dsh-tts)
   dsh --profile web --dump-config | grep dsh-tts

   # ② 宿主桥已起来(应返回 200 {"ok":true})
   curl http://127.0.0.1:8765/health
   ```

### 方式二:git URL 安装(不推荐)

Add Vim0x3c/dsh-tts to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.