deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:guo6x/dsh-housekeeper
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文说明 · DeepSeek Harness plugin
Keep your agent's hands clean: toolchain inventory, two-step cache cleanup, and machine rules (AGENTS.md) editing — all inside the DSH Web GUI settings. Zero runtime dependencies, one command install.
.tmp and cache directories agents leave behind: size / file count / mtime, 4000-file truncation markers, 30-day-untouched highlighting, click-to-expand content preview; create a plan, then confirm deletion.tmp dirs and cache-root children are deletable; .. escapes, symlink escapes, and system paths are rejected, with a realpath re-check before every delete~/.dsh/AGENTS.md (the global rules every agent session loads), auto-backup of the previous version on every save, one-click restore, live on saveD:\github / D:\environment\cache), editable in the panel, overridable via env varshousekeeper_report (inventory + disk report), housekeeper_plan (review only), and housekeeper_clean (executes a single-use token)# Install from GitHub — this is the supported release channel.
dsh plugin --profile web add github:guo6x/dsh-housekeeper
Restart a running dsh web process, then open Settings → Plugins → 环境管家. Seeing the Toolchain inventory section means installation is complete.
Requirements: the DSH web profile and Node ≥ 22. The plugin needs no account, API key, or extra service.
Developing from a checkout instead? Run dsh plugin --profile web add . from the repository directory. The committed lib/ files mean GitHub installs do not run a build script.
Nothing in this walkthrough deletes files or writes rules.
For the same non-destructive proof through chat, paste:
Run
housekeeper_reportand summarize the detected toolchain plus the largest cache candidates. Do not create a cleanup plan, delete files, or change machine rules.
When you are ready to clean, select only scratch directories you recognize and choose Generate cleanup plan. Read the approved and rejected paths; deletion remains impossible until you explicitly use that plan’s one-time confirmation action.
The same reviewed flow is available to an agent: ask for housekeeper_report, review housekeeper_plan, and only then allow the returned token to reach housekeeper_clean.
dsh plugin --profile web list dsh-housekeeper.dsh web process after installing; a browser refresh alone cannot load new host code.<projects-root>\<repo>\ .tmp\, or a direct child of <cache-root>\..)realpath still lands inside the whitelist root (no symlink escapes)realpath again immediately before deletion$DSH_HOME/AGENTS.md only; the path is fixedGUI settings ──fetch──▶ /housekeeper/state|clean/plan→clean|rules (loopback) ──▶ host plugin
├─ probe: candidate paths + PATH lookup + versions
├─ scan: rule-driven walk with sizes (4000-file cap)
├─ clean: whitelist + realpath → plan → single-use confirmation → re-check, then rm
└─ rules: read/write $DSH_HOME/AGENTS.md (64KB cap)
pnpm install
pnpm test # build, safety regression suite, and release-package check
MIT licensed. Issues and ideas welcome.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。