dsh-prompt-presets
Manifest validDeepSeek Harness prompt presets help you quickly fill in the prompt in English with one click.
dsh-prompt-presets · 提示词模板库 + 任务完成提醒
DeepSeek Harness (DSH) Web GUI 的小工具插件:右下角悬浮「⚡」打开提示词模板库(一键填入输入框、可增删模板);agent 任务完成/出错时页面右上角弹 toast,同时发 macOS / Linux 系统原生通知。不修改任何 DSH 源码,卸载即完全还原。
界面预览
功能
- 提示词模板库:内置 6 个常用模板(代码审查 / 写单元测试 / 解释代码 / 重构 / 排查报错 / Commit 信息),支持添加、删除、一键填入输入框,快速填充提示词。
- 任务完成提醒:宿主半区订阅
agent/status(running → idle)与agent/error,完成/出错事件写入内存环形缓冲,前端每 2.5s 轮询/dsh-toolbox/events弹 toast;宿主同时调用osascript(macOS)/notify-send(Linux)发系统通知。
安装
dsh plugin --profile web add github:Mryuanliu/dsh-prompt-presets
dsh web # 重启 DSH 生效
打开 dsh web 页面,右下角出现「⚡」按钮即安装成功。
使用
- 点「⚡」展开/收起模板面板;点模板行「填入」把模板内容填进当前会话输入框。
- 面板底部可添加自定义模板;行内「删」按钮删除。
- agent 跑任务时切到后台再切回来,任务结束会看到右上角 toast 和系统通知。
数据存放
- 模板持久化在
~/.dsh/dsh-toolbox.json,可手动编辑(重启后生效)。 - 可用环境变量
DSH_TOOLBOX_DATA_DIR指定其他目录。 - 提示:macOS 系统通知需要
osascript(系统自带);Linux 需要notify-send(libnotify),缺失时自动跳过、只保留页面 toast。
已知限制
agent/status包含子 agent 的状态切换,理论上子任务结束也会提醒;已对同一会话做 1s 防抖。- 事件缓冲在内存中(最多 30 条),
dsh web重启后清空;前端只在页面打开时轮询。 - 页面 toast 依赖页面存活;系统通知不受页面影响。
开发
- 源码即产物,直接改
bundle/host.js(宿主,ESM)与bundle/client.js(浏览器,window.__ModuleLoader__.load格式),改完重启dsh web生效。 link:安装指向本目录,改动无需重装。- 卸载:
dsh plugin --profile web remove dsh-prompt-presets,重启后页面完全还原。
Comments
Loading…
Similar plugins
by Frog755
Prompt Vault: 输入框上方的提示词库(DSH 插件)— 📚 按钮展开面板,点条目一键填入 prompt。DeepSeek Harness prompt library plugin.
★ 5
↓ 170/wk
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add @frog755/dsh-prompt-vaultby feiwell
dsh-enhance-prompt is an automatically discovered DeepSeek Harness plugin bundle.
★ 4
↓ 150/wk
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add dsh-enhance-promptby WM-CODER
DeepSeek Harness plugin for insert custom prompt
★ 80
↓ 148/wk
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add @wm-coders/dsh-custom-first-control-promptby sunzhentao
DeepSeek Harness提示词增强插件
★ 6
↓ 247/wk
Apache-2.0
JavaScript
Oct 10, 2026
dsh plugin --profile web add @lidaxi/prompt-enhanceby yukk4159-bit
DeepSeek Harness plugin: inject a reusable prompt preset into the front of a message at send time - next message only, or every turn. 提示词注入器
★ 12
↓ 1.7k/wk
MIT
JavaScript
Oct 11, 2026
dsh plugin --profile web add dsh-prompt-injectorby hujiyo
DeepSeek Harness plugin: browse, search, copy and hide the prompts you sent to the AI across all sessions.
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-recent-prompts