converk/dsh-tweaks
让 DSH(DeepSeek Harness)更顺手的一套小改动
Project Overview项目介绍
dsh-tweaks is a bundle of four independently installable cordis-style plugins that extend a single local install of DSH (DeepSeek Harness) without modifying the harness source. They ship as a downloadable git repository and are mounted with the official harness CLI: npx @deepseek-ai/dsh plugin --profile web add "<repo>/plugins/<name>", where the four directory names are prompt-history, model-capabilities, turn-file-revert, and git-bash-terminal-tool. The whole bundle targets DSH 0.1.7-rc.2; the first three plugins also run on DSH 0.1.5, while git-bash-terminal-tool 0.2.0 onwards depends on the new settings model introduced in DSH 0.1.7, so DSH must be at least that version.
The four plugins each address a distinct UI gap. prompt-history lets an empty session input box recall previous prompts with ↑/↓, displaying ↑↓ 历史 n/m, and intentionally ignores key presses when the box is non-empty so it never fights the / command palette or @ mention menu; history is per-session and survives page reload. model-capabilities adds "thinking-strength" (OpenAI seven-step / Anthropic six-step preset), multimodality (text vs text+image), and 1M / 128K capacity quick-fill buttons inside the model row's expanded capacity editor, with the official "Save" still writing the changes. turn-file-revert appends a footer of +lines −lines, N files plus a "撤回全部修改 / 重新应用修改" toggle to each turn, tracking files even when the model edits them inside run_code where the harness does not list them; only the latest turn's button is enabled, others grey out with a hover tooltip. git-bash-terminal-tool mounts only on Windows under Settings → General → Terminal tool, swaps the default pwsh for a Git Bash bash tool with POSIX paths and $VAR, applies to all presets, and hides pwsh from the tool list.
Dependencies and limits are spelled out per plugin. git-bash-terminal-tool excludes bash.exe under System32 and WindowsApps (so WSL bash is not picked), forces the minimal preset from a persistent shell to a one-shot Git Bash, and on upgrade from 0.1.0 to 0.2.0 the old settings.yaml terminal-tool: block is not migrated, so users must reselect the dialect and path once. The auto-discovery button scans Git for Windows, MSYS2, and Cygwin and remembers the first usable bash, turning the field into a dropdown when multiple candidates exist; re-opening a session is required for changes to take effect. Installation needs a restart of DSH followed by a hard browser refresh (Ctrl+Shift+R), the default profile lives under ~/.dsh (or %USERPROFILE%\.dsh on Windows), and DSH_HOME overrides that path. License is MIT; the repository has two stars and no separate cost beyond the DSH install itself.
dsh-tweaks 是面向 DSH(DeepSeek Harness)的本地插件包,仓库内打包了四个相互独立的 cordis 风格插件,全部通过 npx @deepseek-ai/dsh plugin --profile web add "<仓库目录>/plugins/<名称>" 命令安装到 DSH 的 web profile,无需修改 DSH 源码。适配 DSH 0.1.7-rc.2,其中 prompt-history、model-capabilities、turn-file-revert 兼容 DSH 0.1.5 及以上,git-bash-terminal-tool 自 0.2.0 起依赖 0.1.7 引入的设置模型。
四个插件分别补齐不同能力:prompt-history 让会话输入框在为空时按 ↑/↓ 翻出本会话历史提示词,不与 / 命令或 @ 引用菜单冲突;model-capabilities 在「设置 → 模型 → 自定义设置」中给模型行补上「思考强度」(OpenAI / Anthropic 协议预置)、多模态开关,以及 1M / 128K 容量快捷填入;turn-file-revert 在每轮对话末尾追加 +行 −行 与文件数,并提供「撤回全部修改 / 重新应用修改」按钮,仅最后一次回合可点。
turn-file-revert 不依赖官方「本轮文件改动」行,能捕获 run_code 内的改动;git-bash-terminal-tool 仅在 Windows 挂载,把默认 pwsh 替换为 Git Bash,模型看到的是 POSIX 方言的 bash,但会硬排除 System32 与 WindowsApps 下的 bash.exe,minimal 预设会变一次性 shell。从 0.1.0 升级到 0.2.0 后需重新选择方言与路径,旧 settings.yaml 不会自动迁移。安装后需重启 DSH 并 Ctrl+Shift+R 强制刷新;MIT 许可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-tweaks(converk/dsh-tweaks)
仓库:https://github.com/converk/dsh-tweaks
本站详情页:https://www.yhbd.top/plugins/converk-dsh-tweaks/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-10-01 · 主语言 TypeScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:converk/dsh-tweaks
把 converk/dsh-tweaks 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-tweaks
给 DSH(DeepSeek Harness) 装的一套小插件:装上就直接用,不用改 DSH 本身。
适配 DSH 0.2.0;
git-bash-terminal-tool需要 DSH ≥ 0.1.7。
目录
- prompt-history —— 输入框里的历史提示词
- model-capabilities —— 给模型行补上「思考强度 / 多模态 / 容量」
turn-file-revert —— 本轮改动统计 + 一键撤回—— 已弃用并停止维护:功能已由官方提供(DSH 0.2.x 自带的回合改动卡片 + 逐文件 diff 复核), 最后一个支持版本 0.2.0- git-bash-terminal-tool —— 可将 Windows 环境下的终端工具替换为 Git Bash
- 安装
prompt-history —— 输入框里的历史提示词
它能做什么
在会话输入框里按 ↑ / ↓,翻出这个会话里之前发过的提示词,像终端里翻命令历史一样。翻到想要的,改一改就能直接发。
怎么用
- 点进输入框,确保里面是空的。
- 按 ↑:自动填上你上一次发过的提示词;再按 ↑ 继续往更早翻。
- 按 ↓ 往回翻;翻过最新一条时,输入框恢复成你按 ↑ 之前的内容。
- 翻到想要的 → 直接编辑,或者回车发送。
翻的过程中,输入框右上角会显示 ↑↓ 历史 3/12,告诉你现在翻到第几条:

只有输入框为空时才会接管 ↑,不会跟
/命令菜单、@引用菜单打架;历史只属于当前会话,刷新页面也还在。
model-capabilities —— 给模型行补上「思考强度 / 多模态 / 容量」
它能做什么
在 DSH 里编辑模型时,官方界面没有"这个模型支不支持思考""支不支持图片"这类开关。这个插件把这些开关补进模型行,并给容量加两个快捷键:
- 思考强度 —— 先用「协议预置」选协议,它决定可选档位:
OpenAI= off / minimal / low / medium / high / xhigh / max,Anthropic= off / low / medium / high / xhigh / max。两个预置默认都勾 off / low / high / max;一个都不勾 = 这个模型不支持思考。 - 多模态 —— 选「文本」或「文本+图片」。
- 容量快捷填入 —— 「上下文窗口 / 最大输出」各有一个
1M/128K按钮;新建模型行展开容量时会自动填好 1000000 / 131072。
怎么用
- 打开 设置 → 模型,选一个提供方(比如
llm-pi-ai)→ 编辑 → 自定义设置。 - 找到要改的模型那一行,点 「容量」 展开。
- 展开后顶部会显示这个模型当前的配置摘要,下面就是思考强度、多模态和容量按钮。思考强度先用 「协议预置」 选
OpenAI/Anthropic,档位行会换成该协议的枚举(默认勾 off / low / high / max)。 - 勾好、选好之后,点官方那个 「保存」 就写进去了。
第三方网关(llm-pi-ai) —— 思考强度 + 多模态 + 容量快捷填入:

官方 DeepSeek(llm-deepseek) —— 只有多模态(DeepSeek 的思考档位是提供方级设置,这里只读显示):

turn-file-revert —— 本轮改动统计 + 一键撤回
⚠️ 已弃用:功能已由官方提供,本插件停止维护。
它能做什么
每轮对话结束,这个插件在回合末尾补一行:
- 这一轮总共 加了多少行、删了多少行,改了 几个文件;
- 一个 「撤回全部修改」 按钮:一次把这一轮改过的文件全部还原到改动前;
- 撤回之后按钮会变成 「重新应用修改」,再点一下就原样写回去。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
extracurricular-ai/dsh-filesnap
SenmuuuuW/dsh-whale-report
SnowCrescenter-tech/dsh-milestone
PerryLink/dsh-checkpoint-rewind
XieZongChen/dsh-md-notes
TencentCloud/tencentcloud-agentobs-sdk-dsh