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
  • 零風險安裝,以當前進程權限運行,安裝前建議檢查源碼與許可證

生態鏈接

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

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

小夜