DeepSeek Harness 插件

Max-Null/dsh-chinese-thinking

Star 数 ★ 7 下载量(近 30 天) 1,366 分类 会话与消息 收录于 2026-08-16 npm @max-null/dsh-chinese-thinking

注入一条固定 system-prompt 段落,让 Agent 无论用户使用什么语言都始终用中文思考和回复。

安装

# npm 包(预构建)

dsh plugin --profile web add @max-null/dsh-chinese-thinking

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

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

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

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

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

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

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

注入的文案

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

截图

本插件是纯提示注入类:不新增任何按钮、面板或设置项。装完后 agent 会先用中文思考再作答,效果直接体现在会话输出上。

按《SSiD 开发手册》§9 截图规范:截图须回答「装完会多出/变成什么」的入口与面板。 本插件无界面元素,故不适用该项要求,改以上述行为效果说明代替。

用法

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

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

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

实现

ctx.systemPrompt.section({
  name: 'chinese-thinking',
  order: -90,   // 身份声明(-100)之后、persona(0)之前——行为指令中排位最靠前
  text: '始终使用中文进行思考和回复,无论用户使用什么语言。',
})

SSID 系列

依赖(peerDependencies,由宿主提供)

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

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。