Skip to content
Back to search

dsh-prompt-enhancer

DeepSeek Harness (DSH) 插件:✨ 提示词一键增强 + 💬 语音识别(说完自动停·云端/本地双引擎)· 附 🔁 服务异常一键重启

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/Fishsb/dsh-voice-prompt-enhancer with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/Fishsb/dsh-voice-prompt-enhancer'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/fishsb--dsh-prompt-enhancer/badge.svg)](/listings/fishsb--dsh-prompt-enhancer)

HTML

<a href="/listings/fishsb--dsh-prompt-enhancer"><img src="/api/listings/fishsb--dsh-prompt-enhancer/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

dsh plugin --profile web add github:Fishsb/dsh-prompt-enhancer#v3.4.2

安装后重启 DSH(`dsh web`),输入框工具行出现 ✨ 按钮即安装成功。

> ℹ️ **版本说明**:最新 tag **`v3.4.2`(2026-10-09)**已包含 **Windows 平台修复**——修复 Windows 上宿主启动约 5 秒后**静默退出**(worker 进程扫描在 Windows 上把本机全部 node 进程(含宿主自身)当 worker 回收,导致宿主杀掉自己;表现为界面永久停在「自动重连中」),上面的命令直接装该 tag。 > > 历史版本要点:**v3.4.1**(2026-10-06)已包含 **DSH 0.2.x 兼容性修复**——修复插件在 DSH `0.2.0` 及以后被宿主兼容性门拒绝装载、✨/🎤 与设置页卡片全部消失的问题(Issue #11 / #12)。若你此前按旧说明装的是 `#main`,按上面命令重装即可锁到已发布版本。 > > 更早:**v3.4.0**(2026-09-19)起包含 ✨ 官方槽位契约修复(Issue #8 / #10)与云端语音修复(Issue #9),并**移除了插件内重启能力**(更新后请手动重启 DSH)。详见 [release notes](release-notes/3.4.0.md)。 > > 需本机已装 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 且 `pnpm` 在 PATH 中。 > > **客户端兼容性(语音识别)**:🎤 语音输入依赖客户端注入 `inputActions.setDraft`(官方 web client 已满足);第三方客户端若实现同一契约即可加载,能力集不同时语音输入自动**降级**(无插入能力 → 识别结果追加到草稿末尾;完全不注入 → 🎤 禁用并提示)。**本地离线引擎为「框架 + 可选下载」模式**:插件安装**不携带/不默认下载模型**;设置 → 模型配置 → 💬 语音识别 → 引擎选「本地」→ 「本地模型」区点 **下载模型**(SenseVoice 228MB,带进度显示),下载完成自动生效。详见 [兼容性矩阵](docs/compatibility-matrix.md)(客户端依赖边界与槽位契约)。 > > **输入框工具行(✨/🎤)客户端契约**:输入框右侧按钮与错误提示挂载在会话级槽位 `conversation.input.right` / `conversation.input.dock`。官方渲染器(`@deepseek-ai/dsh-client-ui-renderer` ≥ 0.1.2-rc.1,web 与 DSH Desktop 同源)向槽位条目注入 **`sessionId` prop + `useSession`/`useInput` 选择器 hook + `inputActions` prop**(不提供 `props.session` / `props.input`);插件自该修复(Issue #8 / #10,commit `0197ae7`,自 `v3.4.0` 起随 tag 发布)起按该契约取值,并兼容旧宿主(提供 `props.session` / `props.input` 形态)。第三方客户端渲染器若以其它方式提供会话/输入状态,需实现同一契约(`sessionId` + 上述 hooks 与 actions),✨/🎤 方可显示。

更新 / 卸载:

dsh plugin --profile web update dsh-prompt-enhancer
dsh plugin --profile web remove dsh-prompt-enhancer

> 卸载后必须重启 DSH 才能从运行中移除。 > > 更新安装完成后需**手动重启 DSH** 生效(插件不再代为重启)。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 60 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # dsh-voice-prompt-enhancer
  2. DeepSeek Harness(DSH)插件:**提示词优化** + **语音输入增强** —— 把输入框草稿改写得更清晰、可执行,并给语音输入加上热键、说完自动停、清口水词与纠错。
  3. 草稿常常只有半句要求,交给模型后还要来回补问——点一下 ✨ 就地改写,不满意可撤回;语音则直接说,停顿即停,结果落回输入框。
  4. [![Release](https://img.shields.io/github/v/release/Fishsb/dsh-voice-prompt-enhancer)](https://github.com/Fishsb/dsh-voice-prompt-enhancer/releases) [![Stars](https://img.shields.io/github/stars/Fishsb/dsh-voice-prompt-enhancer)](https://github.com/Fishsb/dsh-voice-prompt-enhancer/stargazers) [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE) [![DSH](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FFishsb%2Fdsh-voice-prompt-enhancer%2Fmain%2Fpackage.json&query=%24.peerDependencies%5B%27%40deepseek-ai%2Fdsh-client-locale%27%5D&label=DSH&color=blue)](docs/compatibility-matrix.md)
  5. ## 安装
  6. ```sh
  7. dsh plugin --profile web add dsh-voice-prompt-enhancer
  8. dsh plugin --profile web update dsh-voice-prompt-enhancer # 更新
  9. dsh plugin --profile web remove dsh-voice-prompt-enhancer # 卸载
  10. ```
  11. 也可以从 GitHub 指定 tag 安装:
  12. ```sh
  13. dsh plugin --profile web add github:Fishsb/dsh-voice-prompt-enhancer#v3.5.1
  14. ```
  15. 装完(或更新 / 卸载后)重启 DSH,输入框工具行出现 ✨ 即安装成功。需本机已装 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) **≥ 0.2.1-rc.1** 且 `pnpm` 在 PATH 中。
  16. ## 能做什么
  17. **提示词优化**
  18. - ✨ **一键优化** — 改写当前草稿,可继续优化、可撤回、优化中可取消
  19. - **5 种模式** — 基础 / 轻量 / 标准 / 专家 / 一键发布
  20. - **记忆开关** — 发送前的多轮优化累积为记忆链,发送即清空(默认关)
  21. - **模型链** — 多个模型按序尝试,可增删改序、开关思考、行内测连通性
  22. **语音输入增强**(识别由 DSH 官方 `speechToText` 提供;插件不自带识别引擎、不下载模型)
  23. - **两种入口** — 官方 🎤 按钮(点击开始 / 点击结束),或插件热键(点按开始 / 再按停止;长按 = 按住说、松开停)
  24. ⚠️ 长按仅对**插件热键**生效;官方按钮只认点击(需先在插件设置中启用并录入热键)
  25. - **静音监测** — 说完自动停,判定时长 1–5 秒可调(默认 2 秒),可整体关闭
  26. - **清口水词** — 本地规则清理语气词 / 重复 / 词尾孤立停顿符,不改写、不新增(默认开)
  27. - **语音纠错** — 识别完成后做字词层订正,仅作用于语音路径(默认关)
  28. - **自动增强** — 识别结果填入草稿后自动触发增强(默认关)
  29. 按钮与文案跟随 DSH 界面语言(中文 / English)。
  30. ## 设置项速查
  31. 设置 →「提示词增强」,改动即时保存:
  32. | 位置 | 内容 |
  33. |---|---|
  34. | 模型配置 | 模型链;语音识别:热键、静音监测(1–5 秒)、清口水词、语音纠错(可配参考 1–3 轮)、自动增强档位、环境噪声实测、学习词典 |
  35. | 优化参数 | 优化模式、模板、记忆开关、上下文预算、超时 / 回复长度 / 输出上限 |
  36. 录音采集、识别与写回都由 DSH 官方语音控件完成,插件只叠加上述增值。录音不落盘。
  37. ![语音输入](docs/screenshots/voice-main.png)
  38. [Releases](https://github.com/Fishsb/dsh-voice-prompt-enhancer/releases) · [CHANGELOG](CHANGELOG.md) · [兼容性说明](docs/compatibility-matrix.md) · Licensed under [Apache-2.0](LICENSE)
  39. > 隐私:插件不记录、不上报任何数据。但以下文本会**发给你自己配置的外部 LLM**:提示词增强的草稿(含按预算注入的工作区/会话片段)、语音纠错时的草稿与最近 1–3 轮会话文本(轮数可配)。发送前请自行核对。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.