dsh-win-minimal:Windows 下的 DeepSeek Harness 极简模式

前言

DeepSeek Harness (DSH) 官方自带 minimal preset,但该预设依赖持久 bash 终端(PTTY)进行就绪检测,在 Windows 环境下不可用,导致 DSH Desktop 在 Windows 上隐藏了该选项。dsh-win-minimal 插件提供了 Windows 下的等价方案,保留了固定提示词、零运行时上下文和自动压缩的设计。

它是什么

这是一个 Windows minimal agent preset。安装后,新建会话时会多出一个「极简模式(Windows)」选项。

核心功能

  • Windows minimal agent preset
  • One-line fixed persona
  • Three tools (gitbash, str_replace_editor, web_search)
  • No runtime context
  • Auto compression

安装

通过 CLI 或 DSH Desktop 安装:

# CLI / Web profile
dsh plugin --profile web add dsh-win-minimal

# DSH Desktop
dsh plugin --profile desktop add dsh-win-minimal

启用与验证

安装后,该 preset 不会出现在 UI 插件列表中,而是出现在两处:
1. 新建会话时的 preset 下拉选择器
2. 设置 → Agent → Agent Preset 面板

通过以下命令验证文件是否物化成功:

# Linux / macOS
ls "$DSH_HOME/.agent-presets/win-minimal/"

# Windows (未设 DSH_HOME 时)
dir "%USERPROFILE%\.dsh\.agent-presets\win-minimal"

自定义

预设文件位于 $DSH_HOME/.agent-presets/win-minimal/。插件安装是幂等的,不会覆盖用户手工修改的文件。

  • 修改 persona:编辑 agent.cordis.yml 中的 text 字段
  • 增减工具:直接增删组装行
  • 删除:删除 win-minimal/ 目录

注意事项

  • 需要全局安装 gitbash
  • 零风险安装,以当前进程权限运行,安装前建议检查源码与许可证

生态链接

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

小夜