설치
npx -y @deepseek-ai/dsh plugin --profile web add github:lingtima/dsh-think-chinese이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
README
유지 관리자가 작성한 문서 스냅샷입니다.
dsh-think-chinese
让 DeepSeek Harness 里的模型始终用中文进行内部推理与思考
官方 bundle 插件:一条系统提示词段落,作用于安装它的 profile 上的所有会话
DSH(DeepSeek Harness)的模型在展示「思考过程(Thinking)」时,默认倾向于用英文推理。本插件通过注册一条全局系统提示词段落,明确指示模型始终使用中文进行内部推理与思考——无论系统提示词、工具说明或对话使用何种语言。
安装
官方 bundle 插件,经 web profile 安装(安装后重启 web 生效)。
方式一:npm 安装
dsh plugin --profile web add dsh-think-chinese
# 重启 web
方式二:GitHub 直装(免构建,纯 JS 包)
dsh plugin --profile web add github:lingtima/dsh-think-chinese
# 重启 web
使用
安装并重启后无需任何配置:安装该插件的 profile 上,每个会话的每次模型请求都自动携带中文思考指令。子代理同样生效(段落是 profile 组合层的全局注册)。
验证是否生效:观察会话中模型的「思考过程(Thinking)」——应为中文。
能力
| 面 | 说明 |
|---|---|
| System prompt 段落 | 在 order: 50 注册 think-in-chinese 段落(人设之后、工具引导之前),指示模型始终用中文推理 |
卸载
dsh plugin --profile web remove dsh-think-chinese
# 重启 web
插件管理
已装插件可用 plugin-registry 的薄控制台管理(浏览器面板):管理 profile 插件安装态(bundle 层栈 + insert 行 + 启停),无需手改配置。安装:
dsh plugin --profile web add github:vlln/plugin-registry#main&path:/packages/plugin/console
工作原理
index.mjs 是标准 Cordis entry(命名导出 name/inject/apply),经 ctx.systemPrompt.section() 注册一条 PromptSection:
order: 50—— 按 DSH 约定位于人设(0)之后、工具引导(100–199)之前text—— 中文思考指令,随每次提示词组装进入系统提示词- 段落 disposer 由
ctx.effect托管,插件停止/更新/卸载时自动清理
License
MIT
저장소 정보
- 언어
- JavaScript
- 라이선스
- 보고되지 않음
- 마지막 업데이트
- 2026. 8. 14. 오전 7:08
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.