deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
在 DSH 设置页「常规」中提供 中文思考 开关:开启时向模型系统提示词注入"内部思考使用中文"指令,关闭时零上下文占用。开关状态持久化于 settings.yaml。
dsh-zh-thinking/
├── package.json # 包声明(dsh.client → lib/client.js)
└── lib/
├── index.js # Host half:settings 持久化 + systemPrompt section + /api/zh-thinking 路由
└── client.js # Browser half:设置页开关行(ModuleLoader bundle)
在 DSH 终端执行(仓库已打 dsh-plugin 主题,可被 DSH 插件目录 发现):
dsh plugin add github:statem-li/dsh-zh-thinking
安装后重启 dsh web 生效。如需锁定版本:dsh plugin add github:statem-li/dsh-zh-thinking#<commit-sha>。
以下是手动安装方式(备用):
复制插件目录到 DSH 用户目录:
Copy-Item .\dsh-zh-thinking "$env:USERPROFILE\.dsh\profiles\web\plugins\" -Recurse -Force
Copy-Item .\dsh-zh-thinking "$env:USERPROFILE\.dsh\profiles\node_modules\" -Recurse -Force
两份都要:web\plugins 是源目录,node_modules 是 loader 实际解析的副本。
注册插件行——编辑 %USERPROFILE%\.dsh\profiles\web\cordis.patch.yml,在 insert 列表末尾追加:
# dsh-zh-thinking:设置页「中文思考」开关(引导模型用中文进行内部思考)
- id: zh-thinking
name: dsh-zh-thinking
重启 DSH 服务——host 组合在启动时加载,重启后:
curl http://127.0.0.1:3080/api/zh-thinking → {"ok":true,"enabled":true};pnpm run dev:web 运行中)。systemPrompt / settings / webServer),无第三方运行时依赖。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。