Dingpenghui-good/dsh-conversation-language
用于在中文和英文之间切换对话语言的DSH插件
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that lets users change the language AI uses for conversations. It adds a native settings option to DSH that lets you toggle between Simplified Chinese and English without restarting the entire app. The plugin dynamically updates the system persona prompt based on your selection, saves the setting persistently to DSH's local settings.yaml file, and matches DSH's native UI styling. You can install it via the DSH CLI tool or manually clone it to your plugins folder and update your profile's package.json.
After installation finishes, you must restart DSH for the plugin to activate. Once DSH restarts, you can find the "Conversation Language" option under DSH's Settings > General menu to change your preference, or edit the settings.yaml file directly to set the language. After switching, AI will think and respond in your selected language, and all user-facing text from tools, including tool descriptions, task names, and output content, will also use the same language. The plugin also includes a built-in tool that lets you query the current language setting at any time.
Different versions of this plugin are compatible with different DSH versions. For DSH 0.1.2-rc.1 and older, you should use plugin version 1.4.0 or older. For DSH 0.1.5-rc.1 and newer, you need to use plugin version 1.5.0 or newer to get full functionality. To develop the plugin locally, you must use pnpm to install dependencies because pnpm can correctly resolve pre-release DSH dependencies that npm cannot. After installing dependencies, you need to build the plugin output to the lib folder before you can install it. It is released under the open-source MIT license.
这是一款专为DeepSeek Harness(DSH)开发的原生插件,功能是切换AI对话的输出语言。它支持在DSH原生设置界面中直接切换中英文,无需重启就能动态更新系统角色提示词,设置会持久保存到本地settings.yaml文件,UI样式也匹配DSH原生设计。用户可以通过dsh命令行工具一键安装,也可以手动克隆到插件目录并配置配置文件完成安装。
安装完成后必须重启DSH才能让插件生效。重启后,用户可以进入「设置→通用设置」找到「对话内容语言」选项切换语言,也可以直接编辑本地settings.yaml文件手动修改配置。切换语言后,AI会用选中的语言进行思考和回复,所有面向用户的可见文本也会保持对应语言一致,还可以通过自带工具查询当前语言设置。
插件针对不同版本的DSH有对应兼容版本,0.1.2-rc.1及更早版本DSH使用1.4.0及更低版本插件,0.1.5-rc.1及更高版本DSH使用1.5.0及更高版本插件。本地开发需要使用pnpm安装依赖并构建产物到lib目录,必须生成构建产物后插件才能正常运行。插件采用MIT许可证开放源码。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-conversation-language(Dingpenghui-good/dsh-conversation-language)
仓库:https://github.com/Dingpenghui-good/dsh-conversation-language
本站详情页:https://www.yhbd.top/plugins/dingpenghui-good-dsh-conversation-language/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 2 · 最近提交 2026-10-03 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:Dingpenghui-good/dsh-conversation-language
把 Dingpenghui-good/dsh-conversation-language 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-conversation-language
DSH 插件:对话语言切换器
功能
允许在中文和英文之间切换对话语言。切换后 AI 将使用对应语言进行思考和回复。
特性
- 🖱️ 点击插件名即可打开详情页(含语言选择表单与保存/恢复默认按钮),通用设置不再出现重复入口
- 🔄 动态更新 Persona(系统提示),无需重启即可生效
- 💾 设置通过 profile 的 Cordis patch 持久化(当前 profile 的
cordis.patch.yml) - 🎨 匹配 DSH 原生界面样式
安装
⚠️ 安装完成后必须重启 DeepSeek Harness,插件才能生效。
方式一:使用 dsh 命令(推荐)
# 先 cd 到插件目录
cd /path/to/dsh-conversation-language
dsh plugin --profile web add .
方式二:手动安装
- 克隆插件到 plugins 目录:
git clone https://github.com/Dingpenghui-good/dsh-conversation-language.git ~/.dsh/plugins/dsh-conversation-language
# Windows: git clone https://github.com/Dingpenghui-good/dsh-conversation-language.git %USERPROFILE%\.dsh\plugins\dsh-conversation-language
- 添加到
~/.dsh/profiles/web/package.json:
{
"dependencies": {
"@dingpenghui/dsh-conversation-language": "link:C:/Users/<你的用户名>/.dsh/plugins/dsh-conversation-language"
},
"dsh": {
"profile": {
"bundles": [
// ... 其他 bundles
"@dingpenghui/dsh-conversation-language"
]
}
}
}
- 运行安装:
cd ~/.dsh/profiles/web
pnpm install
- 重启 DeepSeek Harness。
配置
方式一:通过插件详情页
重启 DSH 后,打开 插件 → @dingpenghui/dsh-conversation-language,在详情页的语言选择表单中切换并保存。
方式二:直接修改 profile patch
编辑当前 profile 的 cordis.patch.yml(Windows:%USERPROFILE%\.dsh\profiles\web\cordis.patch.yml):
- id: tool-conversation-language
config:
conversationLanguage: en # 或 zh
然后重启 DSH。
2.0.0 起设置不再写入
~/.dsh/settings.yaml:新架构中每个插件 entry 的Configschema 由 settings 框架投影,写入目标是当前 profile 的 Cordis patch。
使用
切换语言后,AI 将自动以对应语言进行思考和回复,并让所有面向用户可见的文本保持同一语言——
包括工具调用的参数值(pwsh/bash 卡片上显示的 description、todo_write 的 content、
subagent 的 description、任务与作业名称等)。也可通过 get_conversation_language Tool
查询当前设置。
技术说明
| 项目 | 值 |
|---|---|
| Settings Namespace | tool-conversation-language(= profile entry id) |
| Schema | { conversationLanguage: 'zh' | 'en' }(volatile,默认 zh) |
| 默认值 | zh (中文) |
| Persona Override | system-prompt/assemble waterfall 拦截,按语言在 persona section 追加指令 |
| Tool 注册 | get_conversation_language — 查询当前语言设置 |
架构(DSH 0.2.0-rc.1+,v3.2.0)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill