Back to home

wangxiang0605qvq

dsh-minimal-win

DeepSeek Harness 极简增强模式 | Minimal-Win Agent Preset(Windows 下自动使用 pwsh 的极简增强预设)

Stars
0
Language
Created
Aug 15, 2026
Updated
Aug 15, 2026

Introduction

dsh-minimal-win — DeepSeek Harness 极简增强模式 | Minimal-Win Agent Preset

DeepSeek Harness(DSH)的「极简增强模式」agent 预设:基于极简模式,针对 Windows 做适配,让模型用英文保持稳定的「we」思考链,并在 Windows 下自动改用 pwsh 运行命令,解决 bash 不可用问题;同时允许标准模式工具。

Minimal-Win is a DSH agent preset based on the minimal preset, fixed for Windows: it keeps a stable English "we"-voice chain of thought, routes shell commands through pwsh on Windows, and allows the standard-mode model-facing tools on top of the minimal skeleton.

功能 | Features

  • 英文「we」思考链:要求模型始终用英文思考,并保持稳定、一致的 "we need to / we can / we should" 第一人称复数思考链。
  • Windows 自动使用 pwsh:在 Windows 上禁用不可用的 bash 持久链,由 @deepseek-ai/dsh-tool-pwsh 接管命令执行;命令始终能 spawn,而不是因为找不到 bash 失败。
  • 标准模式工具:在极简骨架之上开放文件、搜索、任务、技能、目标、询问用户、待办、Web、子代理、工作流等标准模式工具。
  • Unix 兼容:非 Windows 平台仍使用 persistent bash 链路,平台守卫保证两套 shell 不会同时生效。

文件 | Files

文件说明
preset.yml预设元数据:名称与描述
agent.cordis.yml预设的 Cordis 插件树(persona、shell、文件系统、工具、委派)

安装 | Install

1. 复制预设文件

将本仓库的 preset.ymlagent.cordis.yml 复制到 DSH 的 agent 预设目录:

# 以本机 DSH 安装为例;路径里的 ~ 请替换为你的 DSH_HOME 或用户目录
Copy-Item -Recurse . "$env:USERPROFILE\.dsh\.agent-presets\minimal-win"

如果你已经有 minimal-win 目录,可以直接覆盖这两个文件。

2. 设为默认预设(可选)

~/.dsh/settings.yaml 中设置:

agent-presets:
  default: minimal-win

3. 重启 DSH

重启 dsh web(或对应的 profile)后,新会话默认使用「极简增强模式」。

说明 | Notes

  • 本仓库不包含任何 API Key、令牌、凭据或本地隐私路径,可以安全公开。
  • 预设通过 process.platform 判断操作系统,不依赖任何第三方服务。
  • 如果只需要临时使用,也可以在启动时通过 DSH 的 preset 参数指定 minimal-win

License

MIT