Skip to content

v0.1.0

Latest

Choose a tag to compare

@zeroa234 zeroa234 released this 14 Aug 04:58
· 1 commit to main since this release

首个发布:极简模式(Windows)Agent 预设 + Git Bash 工具

DeepSeek Harness 官方 minimal 预设的 Windows 平替:替换掉 Windows 上不可用的持久 bash PTY 栈,改为 Git Bash + PowerShell 双 shell。

内容

  • preset/minimal-windows/自包含 Agent 预设(复制到 $DSH_HOME/.agent-presets/ 即用,无需安装任何 bundle)
    • 工具:gitbash(自动探测 Git for Windows 安装路径)+ pwsh(官方工具,走宿主沙箱)+ str_replace_editor
    • 固定 persona(complete: true)、不注入运行时上下文、无上下文压缩——与官方 minimal 相同的极简哲学
  • gitbash-tool/ — 同一 gitbash 工具的 bundle 形态@dsh-external/dsh-tool-gitbash,供宿主级全局安装)

安装

# 方式一:复制预设目录(推荐,单步)
Copy-Item -Recurse preset\minimal-windows "$env:USERPROFILE\.dsh\.agent-presets\minimal-windows"

# 方式二(可选):bundle 全局安装,让所有预设的会话都有 gitbash
dsh plugin --profile web add ./gitbash-tool

注意

  • 仅面向 Windows(win32);非 Windows 部署自动跳过 pwsh
  • gitbashctx.subprocess 直连执行,不经过文件沙箱;pwsh 受沙箱约束
  • 两个 shell 均无状态:cd、环境变量不跨调用保留