Sessions & Messages

dsh-win-minimal

jueburenshu123/dsh-win-minimal · ★ 2

jueburenshu123

Windows minimal agent preset for DeepSeek Harness: fixed one-line persona, three tools, no runtime context.

License
MIT
Added
2026-08-23
Maintenance
active
Install kind
github

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:jueburenshu123/dsh-win-minimal

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. What it is
  2. Why
  3. Quick start
  4. Manual install
  5. Customization
  6. Design notes
  7. License

A real minimal mode for DeepSeek Harness on Windows.

One-line persona · zero runtime context · three tools · compaction included · shortest fixed prefix

npm license platform topic


What it is

An agent preset. After installation, new sessions offer a「Minimal (Windows)」choice whose entire system prompt is:

You are a helpful software engineer assistant.

Three tools only:

Tool What it does
gitbash Git for Windows bash, globally registered (one shot per command)
str_replace_editor File editing
web_search Web search via the host's configured search provider

Why

The shipped minimal preset relies on a persistent bash PTY whose readiness detection needs PTY process inspection — unsupported on win32. DSH Desktop therefore hides minimal on Windows entirely.

This preset is its Windows equivalent: same fixed persona + complete mode, same no-runtime-context, the standard compaction chain (auto + /compact) added back, same str_replace_editor — with the persistent bash swapped for one-shot gitbash (the platform's only honest equivalent). Because the prompt prefix is as short and as stable as it gets, KV-cache reuse across a long session is maximized.

Quick start

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

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

(Replace --profile with the profile you actually use.)

Restart DSH, create a session, pick Minimal (Windows). The plugin materializes the preset under $DSH_HOME/.agent-presets/win-minimal/.

Manual install

Copy the two files in preset/ to $DSH_HOME/.agent-presets/win-minimal/. That is the whole preset.

Customization

Presets are declarative: edit agent.cordis.yml (persona text, tool rows), new sessions pick changes up immediately. Delete the directory to remove. With dsh-wsl-workspace installed, a wsl-win-minimal variant is generated automatically.

Design notes

  • bash is one-shot, not persistent (the persistent PTY cannot run on Windows)
  • materialization is idempotent and never overwrites user-edited files
  • host-only, zero injects — a write failure can never break a profile boot

License

MIT