dsh-chinese-thinking

by Max-Null

会话与消息github 检测到 manifest package.json#dsh 社区精选 收录于 08-17

一个"小而美"的 DeepSeek Harness 插件,只做一件事: 注入一条固定的 system-prompt section,让 agent 始终用中文思考和回复 ——无论用户用什么语言。

Injects one fixed system-prompt section so the agent thinks and replies in Chinese, regardless of the user's language.

安装

dsh plugin --profile web add github:Max-Null/dsh-chinese-thinking

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

一个"小而美"的 DeepSeek Harness 插件,只做一件事:注入一条固定的 system-prompt section,让 agent 始终用中文思考和回复——无论用户用什么语言。

无存储、无工具、无状态。一条固定文本,前缀稳定、缓存安全。

注入的文案

始终使用中文进行思考和回复,无论用户使用什么语言。

用法

npm install @max-null/dsh-chinese-thinking

在你的 cordis.yml 加一条(system-prompt 由宿主已有):

- id: chinese-thinking
  name: '@max-null/dsh-chinese-thinking'

实现

ctx.systemPrompt.section({
  name: 'chinese-thinking',
  order: -90,   // persona 之前(身份声明 -100 之后),每轮最先读到
  text: '始终使用中文进行思考和回复,无论用户使用什么语言。',
})

SSID 系列

本插件属于 @max-null/* 插件系列——这一系列共同构成 SSID(思灵 · Seek Soul in Darkness) 桌面体验。SSID 是整合它们的盒:dsh-chat-rail · dsh-chinese-thinking · dsh-draft-polish · dsh-guardian · dsh-habit · dsh-header-unify · dsh-memory · dsh-node-appearance · dsh-plugin-center · dsh-skill-mcp-center · dsh-ssid-panels · dsh-ssid-zh-ui。

This plugin belongs to the @max-null/* family — a set of plugins that together form the SSID (思灵 · Seek Soul in Darkness) desktop experience.

依赖(peerDependencies,由宿主提供)

@deepseek-ai/cordis、@deepseek-ai/dsh-system-prompt

原始 README: https://github.com/Max-Null/dsh-chinese-thinking/blob/main/README.md ↗