Columbina-Sublunar/dsh-plugin-zh-cn ↗★ 1
dsh-plugin-zh-cn
DeepSeek Harness 插件:强制思考链与最终输出使用简体中文(中文标准模式)。
AI Analysis
核心用途是强制思考链与最终输出使用简体中文。适合需要中文标准模式、避免英文混杂输出的用户。必要条件是不要在同一预设中同时保留默认英文 persona,否则会提示区冲突。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗方式一:作为插件使用(推荐)
-
安装本包:
npm install dsh-plugin-zh-cn(本地开发:在本仓库目录执行
npm link,再到 harness 目录执行npm link dsh-plugin-zh-cn) -
在你的 agent preset 的
agent.cordis.yml中,把默认 persona 行替换为本插件:- id: persona name: 'dsh-plugin-zh-cn'注意:本插件会注册
deployment:persona提示区,因此不要在同一预设中同时保留@deepseek-ai/dsh-persona行,否则会提示区冲突。 -
重新挂载预设即可。
插件做了什么
- 通过
systemPrompt.section()注册deployment:persona中文提示区(覆盖默认英文 persona),强制思考链与输出使用简体中文。 - 若存在
skills服务,同时注册zh-cn技能(按需加载)。 - 支持可选配置:
config.persona传入自定义 persona 文本可覆盖内置中文 persona。