D
@max-null/dsh-chinese-thinking
v0.2.0 · 2 天前发布
Injects one system-prompt section so a DeepSeek Harness agent thinks and replies in Chinese
README
dsh-chinese-thinking
一个"小而美"的 DeepSeek Harness 插件,只做一件事:注入一条固定的 system-prompt section,让 agent 始终用中文思考和回复——无论用户用什么语言。
无存储、无工具、无状态。一条固定文本,前缀稳定、缓存安全。
注入的文案
始终使用中文进行思考和回复,无论用户使用什么语言。
用法
bash
npm install @max-null/dsh-chinese-thinking
在你的 cordis.yml 加一条(system-prompt 由宿主已有):
yaml
id: chinese-thinking
name: '@max-null/dsh-chinese-thinking'
实现
ts
ctx.systemPrompt.section({
name: 'chinese-thinking',
order: -90, // persona 之前(身份声明 -100 之后),每轮最先读到
text: '始终使用中文进行思考和回复,无论用户使用什么语言。',
})
依赖(peerDependencies,由宿主提供)
@deepseek-ai/cordis、@deepseek-ai/dsh-system-prompt
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @max-null/dsh-chinese-thinking
- Repo
- git+https://github.com/Max-Null/dsh-chinese-thinking.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}